Class JavaSwitch<T>

java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.eclipse.gmt.modisco.java.neoemf.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 Details

    • modelPackage

      protected static JavaPackage 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:
      isSwitchFor in class org.eclipse.emf.ecore.util.Switch<T>
      Parameters:
      ePackage - the package in question.
      Returns:
      whether this is a switch for the given package.
    • doSwitch

      protected T doSwitch​(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
      Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
      Overrides:
      doSwitch in class org.eclipse.emf.ecore.util.Switch<T>
      Returns:
      the first non-null result returned by a caseXXX call.
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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

      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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • defaultCase

      public T defaultCase​(org.eclipse.emf.ecore.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.
      Overrides:
      defaultCase in class org.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)