org.eclipse.gmt.modisco.java.nousages.cdo.util
Class JavaSwitch<T>

java.lang.Object
  extended by org.eclipse.gmt.modisco.java.nousages.cdo.util.JavaSwitch<T>

public class JavaSwitch<T>
extends java.lang.Object

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
Generated:

Constructor Summary
JavaSwitch()
          Creates an instance of the switch.
 
Method Summary
 T caseAbstractMethodDeclaration(AbstractMethodDeclaration object)
          Returns the result of interpreting the object as an instance of 'Abstract Method Declaration'.
 T caseAbstractMethodInvocation(AbstractMethodInvocation object)
          Returns the result of interpreting the object as an instance of 'Abstract Method Invocation'.
 T caseAbstractTypeDeclaration(AbstractTypeDeclaration object)
          Returns the result of interpreting the object as an instance of 'Abstract Type Declaration'.
 T caseAbstractTypeQualifiedExpression(AbstractTypeQualifiedExpression object)
          Returns the result of interpreting the object as an instance of 'Abstract Type Qualified Expression'.
 T caseAbstractVariablesContainer(AbstractVariablesContainer object)
          Returns the result of interpreting the object as an instance of 'Abstract Variables Container'.
 T caseAnnotation(Annotation object)
          Returns the result of interpreting the object as an instance of 'Annotation'.
 T caseAnnotationMemberValuePair(AnnotationMemberValuePair object)
          Returns the result of interpreting the object as an instance of 'Annotation Member Value Pair'.
 T caseAnnotationTypeDeclaration(AnnotationTypeDeclaration object)
          Returns the result of interpreting the object as an instance of 'Annotation Type Declaration'.
 T caseAnnotationTypeMemberDeclaration(AnnotationTypeMemberDeclaration object)
          Returns the result of interpreting the object as an instance of 'Annotation Type Member Declaration'.
 T caseAnonymousClassDeclaration(AnonymousClassDeclaration object)
          Returns the result of interpreting the object as an instance of 'Anonymous Class Declaration'.
 T caseArchive(Archive object)
          Returns the result of interpreting the object as an instance of 'Archive'.
 T caseArrayAccess(ArrayAccess object)
          Returns the result of interpreting the object as an instance of 'Array Access'.
 T caseArrayCreation(ArrayCreation object)
          Returns the result of interpreting the object as an instance of 'Array Creation'.
 T caseArrayInitializer(ArrayInitializer object)
          Returns the result of interpreting the object as an instance of 'Array Initializer'.
 T caseArrayLengthAccess(ArrayLengthAccess object)
          Returns the result of interpreting the object as an instance of 'Array Length Access'.
 T caseArrayType(ArrayType object)
          Returns the result of interpreting the object as an instance of 'Array Type'.
 T caseAssertStatement(AssertStatement object)
          Returns the result of interpreting the object as an instance of 'Assert Statement'.
 T caseAssignment(Assignment object)
          Returns the result of interpreting the object as an instance of 'Assignment'.
 T caseASTNode(ASTNode object)
          Returns the result of interpreting the object as an instance of 'AST Node'.
 T caseBlock(Block object)
          Returns the result of interpreting the object as an instance of 'Block'.
 T caseBlockComment(BlockComment object)
          Returns the result of interpreting the object as an instance of 'Block Comment'.
 T caseBodyDeclaration(BodyDeclaration object)
          Returns the result of interpreting the object as an instance of 'Body Declaration'.
 T caseBooleanLiteral(BooleanLiteral object)
          Returns the result of interpreting the object as an instance of 'Boolean Literal'.
 T caseBreakStatement(BreakStatement object)
          Returns the result of interpreting the object as an instance of 'Break Statement'.
 T caseCastExpression(CastExpression object)
          Returns the result of interpreting the object as an instance of 'Cast Expression'.
 T caseCatchClause(CatchClause object)
          Returns the result of interpreting the object as an instance of 'Catch Clause'.
 T caseCharacterLiteral(CharacterLiteral object)
          Returns the result of interpreting the object as an instance of 'Character Literal'.
 T caseClassDeclaration(ClassDeclaration object)
          Returns the result of interpreting the object as an instance of 'Class Declaration'.
 T caseClassFile(ClassFile object)
          Returns the result of interpreting the object as an instance of 'Class File'.
 T caseClassInstanceCreation(ClassInstanceCreation object)
          Returns the result of interpreting the object as an instance of 'Class Instance Creation'.
 T caseComment(Comment object)
          Returns the result of interpreting the object as an instance of 'Comment'.
 T caseCompilationUnit(CompilationUnit object)
          Returns the result of interpreting the object as an instance of 'Compilation Unit'.
 T caseConditionalExpression(ConditionalExpression object)
          Returns the result of interpreting the object as an instance of 'Conditional Expression'.
 T caseConstructorDeclaration(ConstructorDeclaration object)
          Returns the result of interpreting the object as an instance of 'Constructor Declaration'.
 T caseConstructorInvocation(ConstructorInvocation object)
          Returns the result of interpreting the object as an instance of 'Constructor Invocation'.
 T caseContinueStatement(ContinueStatement object)
          Returns the result of interpreting the object as an instance of 'Continue Statement'.
 T caseDoStatement(DoStatement object)
          Returns the result of interpreting the object as an instance of 'Do Statement'.
 T caseEmptyStatement(EmptyStatement object)
          Returns the result of interpreting the object as an instance of 'Empty Statement'.
 T caseEnhancedForStatement(EnhancedForStatement object)
          Returns the result of interpreting the object as an instance of 'Enhanced For Statement'.
 T caseEnumConstantDeclaration(EnumConstantDeclaration object)
          Returns the result of interpreting the object as an instance of 'Enum Constant Declaration'.
 T caseEnumDeclaration(EnumDeclaration object)
          Returns the result of interpreting the object as an instance of 'Enum Declaration'.
 T caseExpression(Expression object)
          Returns the result of interpreting the object as an instance of 'Expression'.
 T caseExpressionStatement(ExpressionStatement object)
          Returns the result of interpreting the object as an instance of 'Expression Statement'.
 T caseFieldAccess(FieldAccess object)
          Returns the result of interpreting the object as an instance of 'Field Access'.
 T caseFieldDeclaration(FieldDeclaration object)
          Returns the result of interpreting the object as an instance of 'Field Declaration'.
 T caseForStatement(ForStatement object)
          Returns the result of interpreting the object as an instance of 'For Statement'.
 T caseIfStatement(IfStatement object)
          Returns the result of interpreting the object as an instance of 'If Statement'.
 T caseImportDeclaration(ImportDeclaration object)
          Returns the result of interpreting the object as an instance of 'Import Declaration'.
 T caseInfixExpression(InfixExpression object)
          Returns the result of interpreting the object as an instance of 'Infix Expression'.
 T caseInitializer(Initializer object)
          Returns the result of interpreting the object as an instance of 'Initializer'.
 T caseInstanceofExpression(InstanceofExpression object)
          Returns the result of interpreting the object as an instance of 'Instanceof Expression'.
 T caseInterfaceDeclaration(InterfaceDeclaration object)
          Returns the result of interpreting the object as an instance of 'Interface Declaration'.
 T caseJavadoc(Javadoc object)
          Returns the result of interpreting the object as an instance of 'Javadoc'.
 T caseLabeledStatement(LabeledStatement object)
          Returns the result of interpreting the object as an instance of 'Labeled Statement'.
 T caseLineComment(LineComment object)
          Returns the result of interpreting the object as an instance of 'Line Comment'.
 T caseManifest(Manifest object)
          Returns the result of interpreting the object as an instance of 'Manifest'.
 T caseManifestAttribute(ManifestAttribute object)
          Returns the result of interpreting the object as an instance of 'Manifest Attribute'.
 T caseManifestEntry(ManifestEntry object)
          Returns the result of interpreting the object as an instance of 'Manifest Entry'.
 T caseMemberRef(MemberRef object)
          Returns the result of interpreting the object as an instance of 'Member Ref'.
 T caseMethodDeclaration(MethodDeclaration object)
          Returns the result of interpreting the object as an instance of 'Method Declaration'.
 T caseMethodInvocation(MethodInvocation object)
          Returns the result of interpreting the object as an instance of 'Method Invocation'.
 T caseMethodRef(MethodRef object)
          Returns the result of interpreting the object as an instance of 'Method Ref'.
 T caseMethodRefParameter(MethodRefParameter object)
          Returns the result of interpreting the object as an instance of 'Method Ref Parameter'.
 T caseModel(Model object)
          Returns the result of interpreting the object as an instance of 'Model'.
 T caseModifier(Modifier object)
          Returns the result of interpreting the object as an instance of 'Modifier'.
 T caseNamedElement(NamedElement object)
          Returns the result of interpreting the object as an instance of 'Named Element'.
 T caseNamespaceAccess(NamespaceAccess object)
          Returns the result of interpreting the object as an instance of 'Namespace Access'.
 T caseNullLiteral(NullLiteral object)
          Returns the result of interpreting the object as an instance of 'Null Literal'.
 T caseNumberLiteral(NumberLiteral object)
          Returns the result of interpreting the object as an instance of 'Number Literal'.
 T casePackage(Package object)
          Returns the result of interpreting the object as an instance of 'Package'.
 T casePackageAccess(PackageAccess object)
          Returns the result of interpreting the object as an instance of 'Package Access'.
 T caseParameterizedType(ParameterizedType object)
          Returns the result of interpreting the object as an instance of 'Parameterized Type'.
 T caseParenthesizedExpression(ParenthesizedExpression object)
          Returns the result of interpreting the object as an instance of 'Parenthesized Expression'.
 T casePostfixExpression(PostfixExpression object)
          Returns the result of interpreting the object as an instance of 'Postfix Expression'.
 T casePrefixExpression(PrefixExpression object)
          Returns the result of interpreting the object as an instance of 'Prefix Expression'.
 T casePrimitiveType(PrimitiveType object)
          Returns the result of interpreting the object as an instance of 'Primitive Type'.
 T casePrimitiveTypeBoolean(PrimitiveTypeBoolean object)
          Returns the result of interpreting the object as an instance of 'Primitive Type Boolean'.
 T casePrimitiveTypeByte(PrimitiveTypeByte object)
          Returns the result of interpreting the object as an instance of 'Primitive Type Byte'.
 T casePrimitiveTypeChar(PrimitiveTypeChar object)
          Returns the result of interpreting the object as an instance of 'Primitive Type Char'.
 T casePrimitiveTypeDouble(PrimitiveTypeDouble object)
          Returns the result of interpreting the object as an instance of 'Primitive Type Double'.
 T casePrimitiveTypeFloat(PrimitiveTypeFloat object)
          Returns the result of interpreting the object as an instance of 'Primitive Type Float'.
 T casePrimitiveTypeInt(PrimitiveTypeInt object)
          Returns the result of interpreting the object as an instance of 'Primitive Type Int'.
 T casePrimitiveTypeLong(PrimitiveTypeLong object)
          Returns the result of interpreting the object as an instance of 'Primitive Type Long'.
 T casePrimitiveTypeShort(PrimitiveTypeShort object)
          Returns the result of interpreting the object as an instance of 'Primitive Type Short'.
 T casePrimitiveTypeVoid(PrimitiveTypeVoid object)
          Returns the result of interpreting the object as an instance of 'Primitive Type Void'.
 T caseReturnStatement(ReturnStatement object)
          Returns the result of interpreting the object as an instance of 'Return Statement'.
 T caseSingleVariableAccess(SingleVariableAccess object)
          Returns the result of interpreting the object as an instance of 'Single Variable Access'.
 T caseSingleVariableDeclaration(SingleVariableDeclaration object)
          Returns the result of interpreting the object as an instance of 'Single Variable Declaration'.
 T caseStatement(Statement object)
          Returns the result of interpreting the object as an instance of 'Statement'.
 T caseStringLiteral(StringLiteral object)
          Returns the result of interpreting the object as an instance of 'String Literal'.
 T caseSuperConstructorInvocation(SuperConstructorInvocation object)
          Returns the result of interpreting the object as an instance of 'Super Constructor Invocation'.
 T caseSuperFieldAccess(SuperFieldAccess object)
          Returns the result of interpreting the object as an instance of 'Super Field Access'.
 T caseSuperMethodInvocation(SuperMethodInvocation object)
          Returns the result of interpreting the object as an instance of 'Super Method Invocation'.
 T caseSwitchCase(SwitchCase object)
          Returns the result of interpreting the object as an instance of 'Switch Case'.
 T caseSwitchStatement(SwitchStatement object)
          Returns the result of interpreting the object as an instance of 'Switch Statement'.
 T caseSynchronizedStatement(SynchronizedStatement object)
          Returns the result of interpreting the object as an instance of 'Synchronized Statement'.
 T caseTagElement(TagElement object)
          Returns the result of interpreting the object as an instance of 'Tag Element'.
 T caseTextElement(TextElement object)
          Returns the result of interpreting the object as an instance of 'Text Element'.
 T caseThisExpression(ThisExpression object)
          Returns the result of interpreting the object as an instance of 'This Expression'.
 T caseThrowStatement(ThrowStatement object)
          Returns the result of interpreting the object as an instance of 'Throw Statement'.
 T caseTryStatement(TryStatement object)
          Returns the result of interpreting the object as an instance of 'Try Statement'.
 T caseType(Type object)
          Returns the result of interpreting the object as an instance of 'Type'.
 T caseTypeAccess(TypeAccess object)
          Returns the result of interpreting the object as an instance of 'Type Access'.
 T caseTypeDeclaration(TypeDeclaration object)
          Returns the result of interpreting the object as an instance of 'Type Declaration'.
 T caseTypeDeclarationStatement(TypeDeclarationStatement object)
          Returns the result of interpreting the object as an instance of 'Type Declaration Statement'.
 T caseTypeLiteral(TypeLiteral object)
          Returns the result of interpreting the object as an instance of 'Type Literal'.
 T caseTypeParameter(TypeParameter object)
          Returns the result of interpreting the object as an instance of 'Type Parameter'.
 T caseUnresolvedAnnotationDeclaration(UnresolvedAnnotationDeclaration object)
          Returns the result of interpreting the object as an instance of 'Unresolved Annotation Declaration'.
 T caseUnresolvedAnnotationTypeMemberDeclaration(UnresolvedAnnotationTypeMemberDeclaration object)
          Returns the result of interpreting the object as an instance of 'Unresolved Annotation Type Member Declaration'.
 T caseUnresolvedClassDeclaration(UnresolvedClassDeclaration object)
          Returns the result of interpreting the object as an instance of 'Unresolved Class Declaration'.
 T caseUnresolvedEnumDeclaration(UnresolvedEnumDeclaration object)
          Returns the result of interpreting the object as an instance of 'Unresolved Enum Declaration'.
 T caseUnresolvedInterfaceDeclaration(UnresolvedInterfaceDeclaration object)
          Returns the result of interpreting the object as an instance of 'Unresolved Interface Declaration'.
 T caseUnresolvedItem(UnresolvedItem object)
          Returns the result of interpreting the object as an instance of 'Unresolved Item'.
 T caseUnresolvedItemAccess(UnresolvedItemAccess object)
          Returns the result of interpreting the object as an instance of 'Unresolved Item Access'.
 T caseUnresolvedLabeledStatement(UnresolvedLabeledStatement object)
          Returns the result of interpreting the object as an instance of 'Unresolved Labeled Statement'.
 T caseUnresolvedMethodDeclaration(UnresolvedMethodDeclaration object)
          Returns the result of interpreting the object as an instance of 'Unresolved Method Declaration'.
 T caseUnresolvedSingleVariableDeclaration(UnresolvedSingleVariableDeclaration object)
          Returns the result of interpreting the object as an instance of 'Unresolved Single Variable Declaration'.
 T caseUnresolvedType(UnresolvedType object)
          Returns the result of interpreting the object as an instance of 'Unresolved Type'.
 T caseUnresolvedTypeDeclaration(UnresolvedTypeDeclaration object)
          Returns the result of interpreting the object as an instance of 'Unresolved Type Declaration'.
 T caseUnresolvedVariableDeclarationFragment(UnresolvedVariableDeclarationFragment object)
          Returns the result of interpreting the object as an instance of 'Unresolved Variable Declaration Fragment'.
 T caseVariableDeclaration(VariableDeclaration object)
          Returns the result of interpreting the object as an instance of 'Variable Declaration'.
 T caseVariableDeclarationExpression(VariableDeclarationExpression object)
          Returns the result of interpreting the object as an instance of 'Variable Declaration Expression'.
 T caseVariableDeclarationFragment(VariableDeclarationFragment object)
          Returns the result of interpreting the object as an instance of 'Variable Declaration Fragment'.
 T caseVariableDeclarationStatement(VariableDeclarationStatement object)
          Returns the result of interpreting the object as an instance of 'Variable Declaration Statement'.
 T caseWhileStatement(WhileStatement object)
          Returns the result of interpreting the object as an instance of 'While Statement'.
 T caseWildCardType(WildCardType object)
          Returns the result of interpreting the object as an instance of 'Wild Card Type'.
 T defaultCase(EObject object)
          Returns the result of interpreting the object as an instance of 'EObject'.
 T doSwitch(EObject theEObject)
          Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaSwitch

public JavaSwitch()
Creates an instance of the switch.

Generated:
Method Detail

doSwitch

public T doSwitch(EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result.

Returns:
the first non-null result returned by a caseXXX call.
Generated:

caseAbstractMethodDeclaration

public T caseAbstractMethodDeclaration(AbstractMethodDeclaration object)
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)
Generated:

caseAbstractMethodInvocation

public T caseAbstractMethodInvocation(AbstractMethodInvocation object)
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)
Generated:

caseAbstractTypeDeclaration

public T caseAbstractTypeDeclaration(AbstractTypeDeclaration object)
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)
Generated:

caseAbstractTypeQualifiedExpression

public T caseAbstractTypeQualifiedExpression(AbstractTypeQualifiedExpression object)
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)
Generated:

caseAbstractVariablesContainer

public T caseAbstractVariablesContainer(AbstractVariablesContainer object)
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)
Generated:

caseAnnotation

public T caseAnnotation(Annotation object)
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)
Generated:

caseArchive

public T caseArchive(Archive object)
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)
Generated:

caseAssertStatement

public T caseAssertStatement(AssertStatement object)
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)
Generated:

caseASTNode

public T caseASTNode(ASTNode object)
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)
Generated:

caseAnnotationMemberValuePair

public T caseAnnotationMemberValuePair(AnnotationMemberValuePair object)
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)
Generated:

caseAnnotationTypeDeclaration

public T caseAnnotationTypeDeclaration(AnnotationTypeDeclaration object)
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)
Generated:

caseAnnotationTypeMemberDeclaration

public T caseAnnotationTypeMemberDeclaration(AnnotationTypeMemberDeclaration object)
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)
Generated:

caseAnonymousClassDeclaration

public T caseAnonymousClassDeclaration(AnonymousClassDeclaration object)
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)
Generated:

caseArrayAccess

public T caseArrayAccess(ArrayAccess object)
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)
Generated:

caseArrayCreation

public T caseArrayCreation(ArrayCreation object)
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)
Generated:

caseArrayInitializer

public T caseArrayInitializer(ArrayInitializer object)
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)
Generated:

caseArrayLengthAccess

public T caseArrayLengthAccess(ArrayLengthAccess object)
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)
Generated:

caseArrayType

public T caseArrayType(ArrayType object)
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)
Generated:

caseAssignment

public T caseAssignment(Assignment object)
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)
Generated:

caseBodyDeclaration

public T caseBodyDeclaration(BodyDeclaration object)
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)
Generated:

caseBooleanLiteral

public T caseBooleanLiteral(BooleanLiteral object)
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)
Generated:

caseBlockComment

public T caseBlockComment(BlockComment object)
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)
Generated:

caseBlock

public T caseBlock(Block object)
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)
Generated:

caseBreakStatement

public T caseBreakStatement(BreakStatement object)
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)
Generated:

caseCastExpression

public T caseCastExpression(CastExpression object)
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)
Generated:

caseCatchClause

public T caseCatchClause(CatchClause object)
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)
Generated:

caseCharacterLiteral

public T caseCharacterLiteral(CharacterLiteral object)
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)
Generated:

caseClassFile

public T caseClassFile(ClassFile object)
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)
Generated:

caseClassInstanceCreation

public T caseClassInstanceCreation(ClassInstanceCreation object)
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)
Generated:

caseConstructorDeclaration

public T caseConstructorDeclaration(ConstructorDeclaration object)
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)
Generated:

caseConditionalExpression

public T caseConditionalExpression(ConditionalExpression object)
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)
Generated:

caseConstructorInvocation

public T caseConstructorInvocation(ConstructorInvocation object)
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)
Generated:

caseClassDeclaration

public T caseClassDeclaration(ClassDeclaration object)
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)
Generated:

caseComment

public T caseComment(Comment object)
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)
Generated:

caseCompilationUnit

public T caseCompilationUnit(CompilationUnit object)
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)
Generated:

caseContinueStatement

public T caseContinueStatement(ContinueStatement object)
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)
Generated:

caseDoStatement

public T caseDoStatement(DoStatement object)
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)
Generated:

caseEmptyStatement

public T caseEmptyStatement(EmptyStatement object)
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)
Generated:

caseEnhancedForStatement

public T caseEnhancedForStatement(EnhancedForStatement object)
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)
Generated:

caseEnumConstantDeclaration

public T caseEnumConstantDeclaration(EnumConstantDeclaration object)
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)
Generated:

caseEnumDeclaration

public T caseEnumDeclaration(EnumDeclaration object)
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)
Generated:

caseExpression

public T caseExpression(Expression object)
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)
Generated:

caseExpressionStatement

public T caseExpressionStatement(ExpressionStatement object)
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)
Generated:

caseFieldAccess

public T caseFieldAccess(FieldAccess object)
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)
Generated:

caseFieldDeclaration

public T caseFieldDeclaration(FieldDeclaration object)
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)
Generated:

caseForStatement

public T caseForStatement(ForStatement object)
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)
Generated:

caseIfStatement

public T caseIfStatement(IfStatement object)
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)
Generated:

caseImportDeclaration

public T caseImportDeclaration(ImportDeclaration object)
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)
Generated:

caseInfixExpression

public T caseInfixExpression(InfixExpression object)
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)
Generated:

caseInitializer

public T caseInitializer(Initializer object)
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)
Generated:

caseInstanceofExpression

public T caseInstanceofExpression(InstanceofExpression object)
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)
Generated:

caseInterfaceDeclaration

public T caseInterfaceDeclaration(InterfaceDeclaration object)
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)
Generated:

caseJavadoc

public T caseJavadoc(Javadoc object)
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)
Generated:

caseLabeledStatement

public T caseLabeledStatement(LabeledStatement object)
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)
Generated:

caseLineComment

public T caseLineComment(LineComment object)
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)
Generated:

caseManifest

public T caseManifest(Manifest object)
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)
Generated:

caseManifestAttribute

public T caseManifestAttribute(ManifestAttribute object)
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)
Generated:

caseManifestEntry

public T caseManifestEntry(ManifestEntry object)
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)
Generated:

caseMemberRef

public T caseMemberRef(MemberRef object)
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)
Generated:

caseMethodDeclaration

public T caseMethodDeclaration(MethodDeclaration object)
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)
Generated:

caseMethodInvocation

public T caseMethodInvocation(MethodInvocation object)
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)
Generated:

caseMethodRef

public T caseMethodRef(MethodRef object)
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)
Generated:

caseMethodRefParameter

public T caseMethodRefParameter(MethodRefParameter object)
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)
Generated:

caseModel

public T caseModel(Model object)
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)
Generated:

caseModifier

public T caseModifier(Modifier object)
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)
Generated:

caseNamedElement

public T caseNamedElement(NamedElement object)
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)
Generated:

caseNamespaceAccess

public T caseNamespaceAccess(NamespaceAccess object)
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)
Generated:

caseNumberLiteral

public T caseNumberLiteral(NumberLiteral object)
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)
Generated:

caseNullLiteral

public T caseNullLiteral(NullLiteral object)
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)
Generated:

casePackage

public T casePackage(Package object)
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)
Generated:

casePackageAccess

public T casePackageAccess(PackageAccess object)
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)
Generated:

caseParameterizedType

public T caseParameterizedType(ParameterizedType object)
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)
Generated:

caseParenthesizedExpression

public T caseParenthesizedExpression(ParenthesizedExpression object)
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)
Generated:

casePostfixExpression

public T casePostfixExpression(PostfixExpression object)
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)
Generated:

casePrefixExpression

public T casePrefixExpression(PrefixExpression object)
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)
Generated:

casePrimitiveType

public T casePrimitiveType(PrimitiveType object)
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)
Generated:

casePrimitiveTypeBoolean

public T casePrimitiveTypeBoolean(PrimitiveTypeBoolean object)
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)
Generated:

casePrimitiveTypeByte

public T casePrimitiveTypeByte(PrimitiveTypeByte object)
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)
Generated:

casePrimitiveTypeChar

public T casePrimitiveTypeChar(PrimitiveTypeChar object)
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)
Generated:

casePrimitiveTypeDouble

public T casePrimitiveTypeDouble(PrimitiveTypeDouble object)
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)
Generated:

casePrimitiveTypeShort

public T casePrimitiveTypeShort(PrimitiveTypeShort object)
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)
Generated:

casePrimitiveTypeFloat

public T casePrimitiveTypeFloat(PrimitiveTypeFloat object)
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)
Generated:

casePrimitiveTypeInt

public T casePrimitiveTypeInt(PrimitiveTypeInt object)
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)
Generated:

casePrimitiveTypeLong

public T casePrimitiveTypeLong(PrimitiveTypeLong object)
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)
Generated:

casePrimitiveTypeVoid

public T casePrimitiveTypeVoid(PrimitiveTypeVoid object)
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)
Generated:

caseReturnStatement

public T caseReturnStatement(ReturnStatement object)
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)
Generated:

caseSingleVariableAccess

public T caseSingleVariableAccess(SingleVariableAccess object)
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)
Generated:

caseSingleVariableDeclaration

public T caseSingleVariableDeclaration(SingleVariableDeclaration object)
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)
Generated:

caseStatement

public T caseStatement(Statement object)
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)
Generated:

caseStringLiteral

public T caseStringLiteral(StringLiteral object)
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)
Generated:

caseSuperConstructorInvocation

public T caseSuperConstructorInvocation(SuperConstructorInvocation object)
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)
Generated:

caseSuperFieldAccess

public T caseSuperFieldAccess(SuperFieldAccess object)
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)
Generated:

caseSuperMethodInvocation

public T caseSuperMethodInvocation(SuperMethodInvocation object)
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)
Generated:

caseSwitchCase

public T caseSwitchCase(SwitchCase object)
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)
Generated:

caseSwitchStatement

public T caseSwitchStatement(SwitchStatement object)
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)
Generated:

caseSynchronizedStatement

public T caseSynchronizedStatement(SynchronizedStatement object)
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)
Generated:

caseTagElement

public T caseTagElement(TagElement object)
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)
Generated:

caseTextElement

public T caseTextElement(TextElement object)
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)
Generated:

caseThisExpression

public T caseThisExpression(ThisExpression object)
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)
Generated:

caseThrowStatement

public T caseThrowStatement(ThrowStatement object)
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)
Generated:

caseTryStatement

public T caseTryStatement(TryStatement object)
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)
Generated:

caseType

public T caseType(Type object)
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)
Generated:

caseTypeAccess

public T caseTypeAccess(TypeAccess object)
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)
Generated:

caseTypeDeclaration

public T caseTypeDeclaration(TypeDeclaration object)
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)
Generated:

caseTypeDeclarationStatement

public T caseTypeDeclarationStatement(TypeDeclarationStatement object)
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)
Generated:

caseTypeLiteral

public T caseTypeLiteral(TypeLiteral object)
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)
Generated:

caseTypeParameter

public T caseTypeParameter(TypeParameter object)
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)
Generated:

caseUnresolvedItem

public T caseUnresolvedItem(UnresolvedItem object)
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)
Generated:

caseUnresolvedItemAccess

public T caseUnresolvedItemAccess(UnresolvedItemAccess object)
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)
Generated:

caseUnresolvedAnnotationDeclaration

public T caseUnresolvedAnnotationDeclaration(UnresolvedAnnotationDeclaration object)
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)
Generated:

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)
Generated:

caseUnresolvedClassDeclaration

public T caseUnresolvedClassDeclaration(UnresolvedClassDeclaration object)
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)
Generated:

caseUnresolvedEnumDeclaration

public T caseUnresolvedEnumDeclaration(UnresolvedEnumDeclaration object)
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)
Generated:

caseUnresolvedInterfaceDeclaration

public T caseUnresolvedInterfaceDeclaration(UnresolvedInterfaceDeclaration object)
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)
Generated:

caseUnresolvedLabeledStatement

public T caseUnresolvedLabeledStatement(UnresolvedLabeledStatement object)
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)
Generated:

caseUnresolvedMethodDeclaration

public T caseUnresolvedMethodDeclaration(UnresolvedMethodDeclaration object)
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)
Generated:

caseUnresolvedSingleVariableDeclaration

public T caseUnresolvedSingleVariableDeclaration(UnresolvedSingleVariableDeclaration object)
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)
Generated:

caseUnresolvedType

public T caseUnresolvedType(UnresolvedType object)
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)
Generated:

caseUnresolvedTypeDeclaration

public T caseUnresolvedTypeDeclaration(UnresolvedTypeDeclaration object)
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)
Generated:

caseUnresolvedVariableDeclarationFragment

public T caseUnresolvedVariableDeclarationFragment(UnresolvedVariableDeclarationFragment object)
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)
Generated:

caseVariableDeclaration

public T caseVariableDeclaration(VariableDeclaration object)
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)
Generated:

caseVariableDeclarationExpression

public T caseVariableDeclarationExpression(VariableDeclarationExpression object)
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)
Generated:

caseVariableDeclarationFragment

public T caseVariableDeclarationFragment(VariableDeclarationFragment object)
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)
Generated:

caseVariableDeclarationStatement

public T caseVariableDeclarationStatement(VariableDeclarationStatement object)
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)
Generated:

caseWildCardType

public T caseWildCardType(WildCardType object)
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)
Generated:

caseWhileStatement

public T caseWhileStatement(WhileStatement object)
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)
Generated:

defaultCase

public T defaultCase(EObject object)
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.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EObject'.
See Also:
#doSwitch(org.eclipse.emf.ecore.EObject)
Generated: