Class JavaSwitch<T>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.eclipse.gmt.modisco.java.emf.util.JavaSwitch<T>
public class JavaSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
The Switch for the model's inheritance hierarchy.
It supports the call
doSwitch(object)
to invoke the caseXXX method for each class of the model,
starting with the actual class of the object
and proceeding up the inheritance hierarchy
until a non-null result is returned,
which is the result of the switch.
- See Also:
JavaPackage
-
Field Summary
Fields Modifier and Type Field Description protected static JavaPackagemodelPackageThe cached model package -
Constructor Summary
Constructors Constructor Description JavaSwitch()Creates an instance of the switch. -
Method Summary
Modifier and Type Method Description TcaseAbstractMethodDeclaration(AbstractMethodDeclaration object)Returns the result of interpreting the object as an instance of 'Abstract Method Declaration'.TcaseAbstractMethodInvocation(AbstractMethodInvocation object)Returns the result of interpreting the object as an instance of 'Abstract Method Invocation'.TcaseAbstractTypeDeclaration(AbstractTypeDeclaration object)Returns the result of interpreting the object as an instance of 'Abstract Type Declaration'.TcaseAbstractTypeQualifiedExpression(AbstractTypeQualifiedExpression object)Returns the result of interpreting the object as an instance of 'Abstract Type Qualified Expression'.TcaseAbstractVariablesContainer(AbstractVariablesContainer object)Returns the result of interpreting the object as an instance of 'Abstract Variables Container'.TcaseAnnotation(Annotation object)Returns the result of interpreting the object as an instance of 'Annotation'.TcaseAnnotationMemberValuePair(AnnotationMemberValuePair object)Returns the result of interpreting the object as an instance of 'Annotation Member Value Pair'.TcaseAnnotationTypeDeclaration(AnnotationTypeDeclaration object)Returns the result of interpreting the object as an instance of 'Annotation Type Declaration'.TcaseAnnotationTypeMemberDeclaration(AnnotationTypeMemberDeclaration object)Returns the result of interpreting the object as an instance of 'Annotation Type Member Declaration'.TcaseAnonymousClassDeclaration(AnonymousClassDeclaration object)Returns the result of interpreting the object as an instance of 'Anonymous Class Declaration'.TcaseArchive(Archive object)Returns the result of interpreting the object as an instance of 'Archive'.TcaseArrayAccess(ArrayAccess object)Returns the result of interpreting the object as an instance of 'Array Access'.TcaseArrayCreation(ArrayCreation object)Returns the result of interpreting the object as an instance of 'Array Creation'.TcaseArrayInitializer(ArrayInitializer object)Returns the result of interpreting the object as an instance of 'Array Initializer'.TcaseArrayLengthAccess(ArrayLengthAccess object)Returns the result of interpreting the object as an instance of 'Array Length Access'.TcaseArrayType(ArrayType object)Returns the result of interpreting the object as an instance of 'Array Type'.TcaseAssertStatement(AssertStatement object)Returns the result of interpreting the object as an instance of 'Assert Statement'.TcaseAssignment(Assignment object)Returns the result of interpreting the object as an instance of 'Assignment'.TcaseASTNode(ASTNode object)Returns the result of interpreting the object as an instance of 'AST Node'.TcaseBlock(Block object)Returns the result of interpreting the object as an instance of 'Block'.TcaseBlockComment(BlockComment object)Returns the result of interpreting the object as an instance of 'Block Comment'.TcaseBodyDeclaration(BodyDeclaration object)Returns the result of interpreting the object as an instance of 'Body Declaration'.TcaseBooleanLiteral(BooleanLiteral object)Returns the result of interpreting the object as an instance of 'Boolean Literal'.TcaseBreakStatement(BreakStatement object)Returns the result of interpreting the object as an instance of 'Break Statement'.TcaseCastExpression(CastExpression object)Returns the result of interpreting the object as an instance of 'Cast Expression'.TcaseCatchClause(CatchClause object)Returns the result of interpreting the object as an instance of 'Catch Clause'.TcaseCharacterLiteral(CharacterLiteral object)Returns the result of interpreting the object as an instance of 'Character Literal'.TcaseClassDeclaration(ClassDeclaration object)Returns the result of interpreting the object as an instance of 'Class Declaration'.TcaseClassFile(ClassFile object)Returns the result of interpreting the object as an instance of 'Class File'.TcaseClassInstanceCreation(ClassInstanceCreation object)Returns the result of interpreting the object as an instance of 'Class Instance Creation'.TcaseComment(Comment object)Returns the result of interpreting the object as an instance of 'Comment'.TcaseCompilationUnit(CompilationUnit object)Returns the result of interpreting the object as an instance of 'Compilation Unit'.TcaseConditionalExpression(ConditionalExpression object)Returns the result of interpreting the object as an instance of 'Conditional Expression'.TcaseConstructorDeclaration(ConstructorDeclaration object)Returns the result of interpreting the object as an instance of 'Constructor Declaration'.TcaseConstructorInvocation(ConstructorInvocation object)Returns the result of interpreting the object as an instance of 'Constructor Invocation'.TcaseContinueStatement(ContinueStatement object)Returns the result of interpreting the object as an instance of 'Continue Statement'.TcaseDoStatement(DoStatement object)Returns the result of interpreting the object as an instance of 'Do Statement'.TcaseEmptyStatement(EmptyStatement object)Returns the result of interpreting the object as an instance of 'Empty Statement'.TcaseEnhancedForStatement(EnhancedForStatement object)Returns the result of interpreting the object as an instance of 'Enhanced For Statement'.TcaseEnumConstantDeclaration(EnumConstantDeclaration object)Returns the result of interpreting the object as an instance of 'Enum Constant Declaration'.TcaseEnumDeclaration(EnumDeclaration object)Returns the result of interpreting the object as an instance of 'Enum Declaration'.TcaseExpression(Expression object)Returns the result of interpreting the object as an instance of 'Expression'.TcaseExpressionStatement(ExpressionStatement object)Returns the result of interpreting the object as an instance of 'Expression Statement'.TcaseFieldAccess(FieldAccess object)Returns the result of interpreting the object as an instance of 'Field Access'.TcaseFieldDeclaration(FieldDeclaration object)Returns the result of interpreting the object as an instance of 'Field Declaration'.TcaseForStatement(ForStatement object)Returns the result of interpreting the object as an instance of 'For Statement'.TcaseIfStatement(IfStatement object)Returns the result of interpreting the object as an instance of 'If Statement'.TcaseImportDeclaration(ImportDeclaration object)Returns the result of interpreting the object as an instance of 'Import Declaration'.TcaseInfixExpression(InfixExpression object)Returns the result of interpreting the object as an instance of 'Infix Expression'.TcaseInitializer(Initializer object)Returns the result of interpreting the object as an instance of 'Initializer'.TcaseInstanceofExpression(InstanceofExpression object)Returns the result of interpreting the object as an instance of 'Instanceof Expression'.TcaseInterfaceDeclaration(InterfaceDeclaration object)Returns the result of interpreting the object as an instance of 'Interface Declaration'.TcaseJavadoc(Javadoc object)Returns the result of interpreting the object as an instance of 'Javadoc'.TcaseLabeledStatement(LabeledStatement object)Returns the result of interpreting the object as an instance of 'Labeled Statement'.TcaseLineComment(LineComment object)Returns the result of interpreting the object as an instance of 'Line Comment'.TcaseManifest(Manifest object)Returns the result of interpreting the object as an instance of 'Manifest'.TcaseManifestAttribute(ManifestAttribute object)Returns the result of interpreting the object as an instance of 'Manifest Attribute'.TcaseManifestEntry(ManifestEntry object)Returns the result of interpreting the object as an instance of 'Manifest Entry'.TcaseMemberRef(MemberRef object)Returns the result of interpreting the object as an instance of 'Member Ref'.TcaseMethodDeclaration(MethodDeclaration object)Returns the result of interpreting the object as an instance of 'Method Declaration'.TcaseMethodInvocation(MethodInvocation object)Returns the result of interpreting the object as an instance of 'Method Invocation'.TcaseMethodRef(MethodRef object)Returns the result of interpreting the object as an instance of 'Method Ref'.TcaseMethodRefParameter(MethodRefParameter object)Returns the result of interpreting the object as an instance of 'Method Ref Parameter'.TcaseModel(Model object)Returns the result of interpreting the object as an instance of 'Model'.TcaseModifier(Modifier object)Returns the result of interpreting the object as an instance of 'Modifier'.TcaseNamedElement(NamedElement object)Returns the result of interpreting the object as an instance of 'Named Element'.TcaseNamespaceAccess(NamespaceAccess object)Returns the result of interpreting the object as an instance of 'Namespace Access'.TcaseNullLiteral(NullLiteral object)Returns the result of interpreting the object as an instance of 'Null Literal'.TcaseNumberLiteral(NumberLiteral object)Returns the result of interpreting the object as an instance of 'Number Literal'.TcasePackage(Package object)Returns the result of interpreting the object as an instance of 'Package'.TcasePackageAccess(PackageAccess object)Returns the result of interpreting the object as an instance of 'Package Access'.TcaseParameterizedType(ParameterizedType object)Returns the result of interpreting the object as an instance of 'Parameterized Type'.TcaseParenthesizedExpression(ParenthesizedExpression object)Returns the result of interpreting the object as an instance of 'Parenthesized Expression'.TcasePostfixExpression(PostfixExpression object)Returns the result of interpreting the object as an instance of 'Postfix Expression'.TcasePrefixExpression(PrefixExpression object)Returns the result of interpreting the object as an instance of 'Prefix Expression'.TcasePrimitiveType(PrimitiveType object)Returns the result of interpreting the object as an instance of 'Primitive Type'.TcasePrimitiveTypeBoolean(PrimitiveTypeBoolean object)Returns the result of interpreting the object as an instance of 'Primitive Type Boolean'.TcasePrimitiveTypeByte(PrimitiveTypeByte object)Returns the result of interpreting the object as an instance of 'Primitive Type Byte'.TcasePrimitiveTypeChar(PrimitiveTypeChar object)Returns the result of interpreting the object as an instance of 'Primitive Type Char'.TcasePrimitiveTypeDouble(PrimitiveTypeDouble object)Returns the result of interpreting the object as an instance of 'Primitive Type Double'.TcasePrimitiveTypeFloat(PrimitiveTypeFloat object)Returns the result of interpreting the object as an instance of 'Primitive Type Float'.TcasePrimitiveTypeInt(PrimitiveTypeInt object)Returns the result of interpreting the object as an instance of 'Primitive Type Int'.TcasePrimitiveTypeLong(PrimitiveTypeLong object)Returns the result of interpreting the object as an instance of 'Primitive Type Long'.TcasePrimitiveTypeShort(PrimitiveTypeShort object)Returns the result of interpreting the object as an instance of 'Primitive Type Short'.TcasePrimitiveTypeVoid(PrimitiveTypeVoid object)Returns the result of interpreting the object as an instance of 'Primitive Type Void'.TcaseReturnStatement(ReturnStatement object)Returns the result of interpreting the object as an instance of 'Return Statement'.TcaseSingleVariableAccess(SingleVariableAccess object)Returns the result of interpreting the object as an instance of 'Single Variable Access'.TcaseSingleVariableDeclaration(SingleVariableDeclaration object)Returns the result of interpreting the object as an instance of 'Single Variable Declaration'.TcaseStatement(Statement object)Returns the result of interpreting the object as an instance of 'Statement'.TcaseStringLiteral(StringLiteral object)Returns the result of interpreting the object as an instance of 'String Literal'.TcaseSuperConstructorInvocation(SuperConstructorInvocation object)Returns the result of interpreting the object as an instance of 'Super Constructor Invocation'.TcaseSuperFieldAccess(SuperFieldAccess object)Returns the result of interpreting the object as an instance of 'Super Field Access'.TcaseSuperMethodInvocation(SuperMethodInvocation object)Returns the result of interpreting the object as an instance of 'Super Method Invocation'.TcaseSwitchCase(SwitchCase object)Returns the result of interpreting the object as an instance of 'Switch Case'.TcaseSwitchStatement(SwitchStatement object)Returns the result of interpreting the object as an instance of 'Switch Statement'.TcaseSynchronizedStatement(SynchronizedStatement object)Returns the result of interpreting the object as an instance of 'Synchronized Statement'.TcaseTagElement(TagElement object)Returns the result of interpreting the object as an instance of 'Tag Element'.TcaseTextElement(TextElement object)Returns the result of interpreting the object as an instance of 'Text Element'.TcaseThisExpression(ThisExpression object)Returns the result of interpreting the object as an instance of 'This Expression'.TcaseThrowStatement(ThrowStatement object)Returns the result of interpreting the object as an instance of 'Throw Statement'.TcaseTryStatement(TryStatement object)Returns the result of interpreting the object as an instance of 'Try Statement'.TcaseType(Type object)Returns the result of interpreting the object as an instance of 'Type'.TcaseTypeAccess(TypeAccess object)Returns the result of interpreting the object as an instance of 'Type Access'.TcaseTypeDeclaration(TypeDeclaration object)Returns the result of interpreting the object as an instance of 'Type Declaration'.TcaseTypeDeclarationStatement(TypeDeclarationStatement object)Returns the result of interpreting the object as an instance of 'Type Declaration Statement'.TcaseTypeLiteral(TypeLiteral object)Returns the result of interpreting the object as an instance of 'Type Literal'.TcaseTypeParameter(TypeParameter object)Returns the result of interpreting the object as an instance of 'Type Parameter'.TcaseUnresolvedAnnotationDeclaration(UnresolvedAnnotationDeclaration object)Returns the result of interpreting the object as an instance of 'Unresolved Annotation Declaration'.TcaseUnresolvedAnnotationTypeMemberDeclaration(UnresolvedAnnotationTypeMemberDeclaration object)Returns the result of interpreting the object as an instance of 'Unresolved Annotation Type Member Declaration'.TcaseUnresolvedClassDeclaration(UnresolvedClassDeclaration object)Returns the result of interpreting the object as an instance of 'Unresolved Class Declaration'.TcaseUnresolvedEnumDeclaration(UnresolvedEnumDeclaration object)Returns the result of interpreting the object as an instance of 'Unresolved Enum Declaration'.TcaseUnresolvedInterfaceDeclaration(UnresolvedInterfaceDeclaration object)Returns the result of interpreting the object as an instance of 'Unresolved Interface Declaration'.TcaseUnresolvedItem(UnresolvedItem object)Returns the result of interpreting the object as an instance of 'Unresolved Item'.TcaseUnresolvedItemAccess(UnresolvedItemAccess object)Returns the result of interpreting the object as an instance of 'Unresolved Item Access'.TcaseUnresolvedLabeledStatement(UnresolvedLabeledStatement object)Returns the result of interpreting the object as an instance of 'Unresolved Labeled Statement'.TcaseUnresolvedMethodDeclaration(UnresolvedMethodDeclaration object)Returns the result of interpreting the object as an instance of 'Unresolved Method Declaration'.TcaseUnresolvedSingleVariableDeclaration(UnresolvedSingleVariableDeclaration object)Returns the result of interpreting the object as an instance of 'Unresolved Single Variable Declaration'.TcaseUnresolvedType(UnresolvedType object)Returns the result of interpreting the object as an instance of 'Unresolved Type'.TcaseUnresolvedTypeDeclaration(UnresolvedTypeDeclaration object)Returns the result of interpreting the object as an instance of 'Unresolved Type Declaration'.TcaseUnresolvedVariableDeclarationFragment(UnresolvedVariableDeclarationFragment object)Returns the result of interpreting the object as an instance of 'Unresolved Variable Declaration Fragment'.TcaseVariableDeclaration(VariableDeclaration object)Returns the result of interpreting the object as an instance of 'Variable Declaration'.TcaseVariableDeclarationExpression(VariableDeclarationExpression object)Returns the result of interpreting the object as an instance of 'Variable Declaration Expression'.TcaseVariableDeclarationFragment(VariableDeclarationFragment object)Returns the result of interpreting the object as an instance of 'Variable Declaration Fragment'.TcaseVariableDeclarationStatement(VariableDeclarationStatement object)Returns the result of interpreting the object as an instance of 'Variable Declaration Statement'.TcaseWhileStatement(WhileStatement object)Returns the result of interpreting the object as an instance of 'While Statement'.TcaseWildCardType(WildCardType object)Returns the result of interpreting the object as an instance of 'Wild Card Type'.TdefaultCase(org.eclipse.emf.ecore.EObject object)Returns the result of interpreting the object as an instance of 'EObject'.protected TdoSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)CallscaseXXXfor each class of the model until one returns a non null result; it yields that result.protected booleanisSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)Checks whether this is a switch for the given package.Methods inherited from class org.eclipse.emf.ecore.util.Switch
doSwitch, doSwitch
-
Field Details
-
modelPackage
The cached model package
-
-
Constructor Details
-
JavaSwitch
public JavaSwitch()Creates an instance of the switch.
-
-
Method Details
-
isSwitchFor
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)Checks whether this is a switch for the given package.- Specified by:
isSwitchForin classorg.eclipse.emf.ecore.util.Switch<T>- Parameters:
ePackage- the package in question.- Returns:
- whether this is a switch for the given package.
-
doSwitch
CallscaseXXXfor each class of the model until one returns a non null result; it yields that result.- Overrides:
doSwitchin classorg.eclipse.emf.ecore.util.Switch<T>- Returns:
- the first non-null result returned by a
caseXXXcall.
-
caseAbstractMethodDeclaration
Returns the result of interpreting the object as an instance of 'Abstract Method Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Abstract Method Declaration'.
- See Also:
doSwitch(EObject)
-
caseAbstractMethodInvocation
Returns the result of interpreting the object as an instance of 'Abstract Method Invocation'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Abstract Method Invocation'.
- See Also:
doSwitch(EObject)
-
caseAbstractTypeDeclaration
Returns the result of interpreting the object as an instance of 'Abstract Type Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Abstract Type Declaration'.
- See Also:
doSwitch(EObject)
-
caseAbstractTypeQualifiedExpression
Returns the result of interpreting the object as an instance of 'Abstract Type Qualified Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Abstract Type Qualified Expression'.
- See Also:
doSwitch(EObject)
-
caseAbstractVariablesContainer
Returns the result of interpreting the object as an instance of 'Abstract Variables Container'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Abstract Variables Container'.
- See Also:
doSwitch(EObject)
-
caseAnnotation
Returns the result of interpreting the object as an instance of 'Annotation'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Annotation'.
- See Also:
doSwitch(EObject)
-
caseArchive
Returns the result of interpreting the object as an instance of 'Archive'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Archive'.
- See Also:
doSwitch(EObject)
-
caseAssertStatement
Returns the result of interpreting the object as an instance of 'Assert Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Assert Statement'.
- See Also:
doSwitch(EObject)
-
caseASTNode
Returns the result of interpreting the object as an instance of 'AST Node'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'AST Node'.
- See Also:
doSwitch(EObject)
-
caseAnnotationMemberValuePair
Returns the result of interpreting the object as an instance of 'Annotation Member Value Pair'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Annotation Member Value Pair'.
- See Also:
doSwitch(EObject)
-
caseAnnotationTypeDeclaration
Returns the result of interpreting the object as an instance of 'Annotation Type Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Annotation Type Declaration'.
- See Also:
doSwitch(EObject)
-
caseAnnotationTypeMemberDeclaration
Returns the result of interpreting the object as an instance of 'Annotation Type Member Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Annotation Type Member Declaration'.
- See Also:
doSwitch(EObject)
-
caseAnonymousClassDeclaration
Returns the result of interpreting the object as an instance of 'Anonymous Class Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Anonymous Class Declaration'.
- See Also:
doSwitch(EObject)
-
caseArrayAccess
Returns the result of interpreting the object as an instance of 'Array Access'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Array Access'.
- See Also:
doSwitch(EObject)
-
caseArrayCreation
Returns the result of interpreting the object as an instance of 'Array Creation'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Array Creation'.
- See Also:
doSwitch(EObject)
-
caseArrayInitializer
Returns the result of interpreting the object as an instance of 'Array Initializer'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Array Initializer'.
- See Also:
doSwitch(EObject)
-
caseArrayLengthAccess
Returns the result of interpreting the object as an instance of 'Array Length Access'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Array Length Access'.
- See Also:
doSwitch(EObject)
-
caseArrayType
Returns the result of interpreting the object as an instance of 'Array Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Array Type'.
- See Also:
doSwitch(EObject)
-
caseAssignment
Returns the result of interpreting the object as an instance of 'Assignment'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Assignment'.
- See Also:
doSwitch(EObject)
-
caseBodyDeclaration
Returns the result of interpreting the object as an instance of 'Body Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Body Declaration'.
- See Also:
doSwitch(EObject)
-
caseBooleanLiteral
Returns the result of interpreting the object as an instance of 'Boolean Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Boolean Literal'.
- See Also:
doSwitch(EObject)
-
caseBlockComment
Returns the result of interpreting the object as an instance of 'Block Comment'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Block Comment'.
- See Also:
doSwitch(EObject)
-
caseBlock
Returns the result of interpreting the object as an instance of 'Block'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Block'.
- See Also:
doSwitch(EObject)
-
caseBreakStatement
Returns the result of interpreting the object as an instance of 'Break Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Break Statement'.
- See Also:
doSwitch(EObject)
-
caseCastExpression
Returns the result of interpreting the object as an instance of 'Cast Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Cast Expression'.
- See Also:
doSwitch(EObject)
-
caseCatchClause
Returns the result of interpreting the object as an instance of 'Catch Clause'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Catch Clause'.
- See Also:
doSwitch(EObject)
-
caseCharacterLiteral
Returns the result of interpreting the object as an instance of 'Character Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Character Literal'.
- See Also:
doSwitch(EObject)
-
caseClassFile
Returns the result of interpreting the object as an instance of 'Class File'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Class File'.
- See Also:
doSwitch(EObject)
-
caseClassInstanceCreation
Returns the result of interpreting the object as an instance of 'Class Instance Creation'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Class Instance Creation'.
- See Also:
doSwitch(EObject)
-
caseConstructorDeclaration
Returns the result of interpreting the object as an instance of 'Constructor Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Constructor Declaration'.
- See Also:
doSwitch(EObject)
-
caseConditionalExpression
Returns the result of interpreting the object as an instance of 'Conditional Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Conditional Expression'.
- See Also:
doSwitch(EObject)
-
caseConstructorInvocation
Returns the result of interpreting the object as an instance of 'Constructor Invocation'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Constructor Invocation'.
- See Also:
doSwitch(EObject)
-
caseClassDeclaration
Returns the result of interpreting the object as an instance of 'Class Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Class Declaration'.
- See Also:
doSwitch(EObject)
-
caseComment
Returns the result of interpreting the object as an instance of 'Comment'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Comment'.
- See Also:
doSwitch(EObject)
-
caseCompilationUnit
Returns the result of interpreting the object as an instance of 'Compilation Unit'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Compilation Unit'.
- See Also:
doSwitch(EObject)
-
caseContinueStatement
Returns the result of interpreting the object as an instance of 'Continue Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Continue Statement'.
- See Also:
doSwitch(EObject)
-
caseDoStatement
Returns the result of interpreting the object as an instance of 'Do Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Do Statement'.
- See Also:
doSwitch(EObject)
-
caseEmptyStatement
Returns the result of interpreting the object as an instance of 'Empty Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Empty Statement'.
- See Also:
doSwitch(EObject)
-
caseEnhancedForStatement
Returns the result of interpreting the object as an instance of 'Enhanced For Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Enhanced For Statement'.
- See Also:
doSwitch(EObject)
-
caseEnumConstantDeclaration
Returns the result of interpreting the object as an instance of 'Enum Constant Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Enum Constant Declaration'.
- See Also:
doSwitch(EObject)
-
caseEnumDeclaration
Returns the result of interpreting the object as an instance of 'Enum Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Enum Declaration'.
- See Also:
doSwitch(EObject)
-
caseExpression
Returns the result of interpreting the object as an instance of 'Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Expression'.
- See Also:
doSwitch(EObject)
-
caseExpressionStatement
Returns the result of interpreting the object as an instance of 'Expression Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Expression Statement'.
- See Also:
doSwitch(EObject)
-
caseFieldAccess
Returns the result of interpreting the object as an instance of 'Field Access'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Field Access'.
- See Also:
doSwitch(EObject)
-
caseFieldDeclaration
Returns the result of interpreting the object as an instance of 'Field Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Field Declaration'.
- See Also:
doSwitch(EObject)
-
caseForStatement
Returns the result of interpreting the object as an instance of 'For Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'For Statement'.
- See Also:
doSwitch(EObject)
-
caseIfStatement
Returns the result of interpreting the object as an instance of 'If Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'If Statement'.
- See Also:
doSwitch(EObject)
-
caseImportDeclaration
Returns the result of interpreting the object as an instance of 'Import Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Import Declaration'.
- See Also:
doSwitch(EObject)
-
caseInfixExpression
Returns the result of interpreting the object as an instance of 'Infix Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Infix Expression'.
- See Also:
doSwitch(EObject)
-
caseInitializer
Returns the result of interpreting the object as an instance of 'Initializer'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Initializer'.
- See Also:
doSwitch(EObject)
-
caseInstanceofExpression
Returns the result of interpreting the object as an instance of 'Instanceof Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Instanceof Expression'.
- See Also:
doSwitch(EObject)
-
caseInterfaceDeclaration
Returns the result of interpreting the object as an instance of 'Interface Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Interface Declaration'.
- See Also:
doSwitch(EObject)
-
caseJavadoc
Returns the result of interpreting the object as an instance of 'Javadoc'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Javadoc'.
- See Also:
doSwitch(EObject)
-
caseLabeledStatement
Returns the result of interpreting the object as an instance of 'Labeled Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Labeled Statement'.
- See Also:
doSwitch(EObject)
-
caseLineComment
Returns the result of interpreting the object as an instance of 'Line Comment'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Line Comment'.
- See Also:
doSwitch(EObject)
-
caseManifest
Returns the result of interpreting the object as an instance of 'Manifest'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Manifest'.
- See Also:
doSwitch(EObject)
-
caseManifestAttribute
Returns the result of interpreting the object as an instance of 'Manifest Attribute'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Manifest Attribute'.
- See Also:
doSwitch(EObject)
-
caseManifestEntry
Returns the result of interpreting the object as an instance of 'Manifest Entry'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Manifest Entry'.
- See Also:
doSwitch(EObject)
-
caseMemberRef
Returns the result of interpreting the object as an instance of 'Member Ref'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Member Ref'.
- See Also:
doSwitch(EObject)
-
caseMethodDeclaration
Returns the result of interpreting the object as an instance of 'Method Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Method Declaration'.
- See Also:
doSwitch(EObject)
-
caseMethodInvocation
Returns the result of interpreting the object as an instance of 'Method Invocation'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Method Invocation'.
- See Also:
doSwitch(EObject)
-
caseMethodRef
Returns the result of interpreting the object as an instance of 'Method Ref'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Method Ref'.
- See Also:
doSwitch(EObject)
-
caseMethodRefParameter
Returns the result of interpreting the object as an instance of 'Method Ref Parameter'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Method Ref Parameter'.
- See Also:
doSwitch(EObject)
-
caseModel
Returns the result of interpreting the object as an instance of 'Model'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Model'.
- See Also:
doSwitch(EObject)
-
caseModifier
Returns the result of interpreting the object as an instance of 'Modifier'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Modifier'.
- See Also:
doSwitch(EObject)
-
caseNamedElement
Returns the result of interpreting the object as an instance of 'Named Element'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Named Element'.
- See Also:
doSwitch(EObject)
-
caseNamespaceAccess
Returns the result of interpreting the object as an instance of 'Namespace Access'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Namespace Access'.
- See Also:
doSwitch(EObject)
-
caseNumberLiteral
Returns the result of interpreting the object as an instance of 'Number Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Number Literal'.
- See Also:
doSwitch(EObject)
-
caseNullLiteral
Returns the result of interpreting the object as an instance of 'Null Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Null Literal'.
- See Also:
doSwitch(EObject)
-
casePackage
Returns the result of interpreting the object as an instance of 'Package'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Package'.
- See Also:
doSwitch(EObject)
-
casePackageAccess
Returns the result of interpreting the object as an instance of 'Package Access'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Package Access'.
- See Also:
doSwitch(EObject)
-
caseParameterizedType
Returns the result of interpreting the object as an instance of 'Parameterized Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Parameterized Type'.
- See Also:
doSwitch(EObject)
-
caseParenthesizedExpression
Returns the result of interpreting the object as an instance of 'Parenthesized Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Parenthesized Expression'.
- See Also:
doSwitch(EObject)
-
casePostfixExpression
Returns the result of interpreting the object as an instance of 'Postfix Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Postfix Expression'.
- See Also:
doSwitch(EObject)
-
casePrefixExpression
Returns the result of interpreting the object as an instance of 'Prefix Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Prefix Expression'.
- See Also:
doSwitch(EObject)
-
casePrimitiveType
Returns the result of interpreting the object as an instance of 'Primitive Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Primitive Type'.
- See Also:
doSwitch(EObject)
-
casePrimitiveTypeBoolean
Returns the result of interpreting the object as an instance of 'Primitive Type Boolean'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Primitive Type Boolean'.
- See Also:
doSwitch(EObject)
-
casePrimitiveTypeByte
Returns the result of interpreting the object as an instance of 'Primitive Type Byte'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Primitive Type Byte'.
- See Also:
doSwitch(EObject)
-
casePrimitiveTypeChar
Returns the result of interpreting the object as an instance of 'Primitive Type Char'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Primitive Type Char'.
- See Also:
doSwitch(EObject)
-
casePrimitiveTypeDouble
Returns the result of interpreting the object as an instance of 'Primitive Type Double'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Primitive Type Double'.
- See Also:
doSwitch(EObject)
-
casePrimitiveTypeShort
Returns the result of interpreting the object as an instance of 'Primitive Type Short'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Primitive Type Short'.
- See Also:
doSwitch(EObject)
-
casePrimitiveTypeFloat
Returns the result of interpreting the object as an instance of 'Primitive Type Float'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Primitive Type Float'.
- See Also:
doSwitch(EObject)
-
casePrimitiveTypeInt
Returns the result of interpreting the object as an instance of 'Primitive Type Int'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Primitive Type Int'.
- See Also:
doSwitch(EObject)
-
casePrimitiveTypeLong
Returns the result of interpreting the object as an instance of 'Primitive Type Long'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Primitive Type Long'.
- See Also:
doSwitch(EObject)
-
casePrimitiveTypeVoid
Returns the result of interpreting the object as an instance of 'Primitive Type Void'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Primitive Type Void'.
- See Also:
doSwitch(EObject)
-
caseReturnStatement
Returns the result of interpreting the object as an instance of 'Return Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Return Statement'.
- See Also:
doSwitch(EObject)
-
caseSingleVariableAccess
Returns the result of interpreting the object as an instance of 'Single Variable Access'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Single Variable Access'.
- See Also:
doSwitch(EObject)
-
caseSingleVariableDeclaration
Returns the result of interpreting the object as an instance of 'Single Variable Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Single Variable Declaration'.
- See Also:
doSwitch(EObject)
-
caseStatement
Returns the result of interpreting the object as an instance of 'Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Statement'.
- See Also:
doSwitch(EObject)
-
caseStringLiteral
Returns the result of interpreting the object as an instance of 'String Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'String Literal'.
- See Also:
doSwitch(EObject)
-
caseSuperConstructorInvocation
Returns the result of interpreting the object as an instance of 'Super Constructor Invocation'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Super Constructor Invocation'.
- See Also:
doSwitch(EObject)
-
caseSuperFieldAccess
Returns the result of interpreting the object as an instance of 'Super Field Access'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Super Field Access'.
- See Also:
doSwitch(EObject)
-
caseSuperMethodInvocation
Returns the result of interpreting the object as an instance of 'Super Method Invocation'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Super Method Invocation'.
- See Also:
doSwitch(EObject)
-
caseSwitchCase
Returns the result of interpreting the object as an instance of 'Switch Case'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Switch Case'.
- See Also:
doSwitch(EObject)
-
caseSwitchStatement
Returns the result of interpreting the object as an instance of 'Switch Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Switch Statement'.
- See Also:
doSwitch(EObject)
-
caseSynchronizedStatement
Returns the result of interpreting the object as an instance of 'Synchronized Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Synchronized Statement'.
- See Also:
doSwitch(EObject)
-
caseTagElement
Returns the result of interpreting the object as an instance of 'Tag Element'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Tag Element'.
- See Also:
doSwitch(EObject)
-
caseTextElement
Returns the result of interpreting the object as an instance of 'Text Element'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Text Element'.
- See Also:
doSwitch(EObject)
-
caseThisExpression
Returns the result of interpreting the object as an instance of 'This Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'This Expression'.
- See Also:
doSwitch(EObject)
-
caseThrowStatement
Returns the result of interpreting the object as an instance of 'Throw Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Throw Statement'.
- See Also:
doSwitch(EObject)
-
caseTryStatement
Returns the result of interpreting the object as an instance of 'Try Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Try Statement'.
- See Also:
doSwitch(EObject)
-
caseType
Returns the result of interpreting the object as an instance of 'Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Type'.
- See Also:
doSwitch(EObject)
-
caseTypeAccess
Returns the result of interpreting the object as an instance of 'Type Access'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Type Access'.
- See Also:
doSwitch(EObject)
-
caseTypeDeclaration
Returns the result of interpreting the object as an instance of 'Type Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Type Declaration'.
- See Also:
doSwitch(EObject)
-
caseTypeDeclarationStatement
Returns the result of interpreting the object as an instance of 'Type Declaration Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Type Declaration Statement'.
- See Also:
doSwitch(EObject)
-
caseTypeLiteral
Returns the result of interpreting the object as an instance of 'Type Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Type Literal'.
- See Also:
doSwitch(EObject)
-
caseTypeParameter
Returns the result of interpreting the object as an instance of 'Type Parameter'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Type Parameter'.
- See Also:
doSwitch(EObject)
-
caseUnresolvedItem
Returns the result of interpreting the object as an instance of 'Unresolved Item'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unresolved Item'.
- See Also:
doSwitch(EObject)
-
caseUnresolvedItemAccess
Returns the result of interpreting the object as an instance of 'Unresolved Item Access'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unresolved Item Access'.
- See Also:
doSwitch(EObject)
-
caseUnresolvedAnnotationDeclaration
Returns the result of interpreting the object as an instance of 'Unresolved Annotation Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unresolved Annotation Declaration'.
- See Also:
doSwitch(EObject)
-
caseUnresolvedAnnotationTypeMemberDeclaration
public T caseUnresolvedAnnotationTypeMemberDeclaration(UnresolvedAnnotationTypeMemberDeclaration object)Returns the result of interpreting the object as an instance of 'Unresolved Annotation Type Member Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unresolved Annotation Type Member Declaration'.
- See Also:
doSwitch(EObject)
-
caseUnresolvedClassDeclaration
Returns the result of interpreting the object as an instance of 'Unresolved Class Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unresolved Class Declaration'.
- See Also:
doSwitch(EObject)
-
caseUnresolvedEnumDeclaration
Returns the result of interpreting the object as an instance of 'Unresolved Enum Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unresolved Enum Declaration'.
- See Also:
doSwitch(EObject)
-
caseUnresolvedInterfaceDeclaration
Returns the result of interpreting the object as an instance of 'Unresolved Interface Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unresolved Interface Declaration'.
- See Also:
doSwitch(EObject)
-
caseUnresolvedLabeledStatement
Returns the result of interpreting the object as an instance of 'Unresolved Labeled Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unresolved Labeled Statement'.
- See Also:
doSwitch(EObject)
-
caseUnresolvedMethodDeclaration
Returns the result of interpreting the object as an instance of 'Unresolved Method Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unresolved Method Declaration'.
- See Also:
doSwitch(EObject)
-
caseUnresolvedSingleVariableDeclaration
Returns the result of interpreting the object as an instance of 'Unresolved Single Variable Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unresolved Single Variable Declaration'.
- See Also:
doSwitch(EObject)
-
caseUnresolvedType
Returns the result of interpreting the object as an instance of 'Unresolved Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unresolved Type'.
- See Also:
doSwitch(EObject)
-
caseUnresolvedTypeDeclaration
Returns the result of interpreting the object as an instance of 'Unresolved Type Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unresolved Type Declaration'.
- See Also:
doSwitch(EObject)
-
caseUnresolvedVariableDeclarationFragment
Returns the result of interpreting the object as an instance of 'Unresolved Variable Declaration Fragment'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unresolved Variable Declaration Fragment'.
- See Also:
doSwitch(EObject)
-
caseVariableDeclaration
Returns the result of interpreting the object as an instance of 'Variable Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Variable Declaration'.
- See Also:
doSwitch(EObject)
-
caseVariableDeclarationExpression
Returns the result of interpreting the object as an instance of 'Variable Declaration Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Variable Declaration Expression'.
- See Also:
doSwitch(EObject)
-
caseVariableDeclarationFragment
Returns the result of interpreting the object as an instance of 'Variable Declaration Fragment'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Variable Declaration Fragment'.
- See Also:
doSwitch(EObject)
-
caseVariableDeclarationStatement
Returns the result of interpreting the object as an instance of 'Variable Declaration Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Variable Declaration Statement'.
- See Also:
doSwitch(EObject)
-
caseWildCardType
Returns the result of interpreting the object as an instance of 'Wild Card Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Wild Card Type'.
- See Also:
doSwitch(EObject)
-
caseWhileStatement
Returns the result of interpreting the object as an instance of 'While Statement'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'While Statement'.
- See Also:
doSwitch(EObject)
-
defaultCase
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.- Overrides:
defaultCasein classorg.eclipse.emf.ecore.util.Switch<T>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
Switch.doSwitch(org.eclipse.emf.ecore.EObject)
-