org.eclipse.xtext.common.types.util
Class TypesSwitch<T>

java.lang.Object
  extended by org.eclipse.xtext.common.types.util.TypesSwitch<T>
Direct Known Subclasses:
JavaElementFinder.Implementation, JvmFeatureSignatureProvider.Switch, SuperTypeCollector.Implementation

public class TypesSwitch<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:
TypesPackage
EMF generated code

Field Summary
protected static TypesPackage modelPackage
          The cached model package
 
Constructor Summary
TypesSwitch()
          Creates an instance of the switch.
 
Method Summary
 T caseJvmAnnotationAnnotationValue(JvmAnnotationAnnotationValue object)
          Returns the result of interpreting the object as an instance of 'Jvm Annotation Annotation Value'.
 T caseJvmAnnotationReference(JvmAnnotationReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Annotation Reference'.
 T caseJvmAnnotationTarget(JvmAnnotationTarget object)
          Returns the result of interpreting the object as an instance of 'Jvm Annotation Target'.
 T caseJvmAnnotationType(JvmAnnotationType object)
          Returns the result of interpreting the object as an instance of 'Jvm Annotation Type'.
 T caseJvmAnnotationValue(JvmAnnotationValue object)
          Returns the result of interpreting the object as an instance of 'Jvm Annotation Value'.
 T caseJvmAnyTypeReference(JvmAnyTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Any Type Reference'.
 T caseJvmArrayType(JvmArrayType object)
          Returns the result of interpreting the object as an instance of 'Jvm Array Type'.
 T caseJvmBooleanAnnotationValue(JvmBooleanAnnotationValue object)
          Returns the result of interpreting the object as an instance of 'Jvm Boolean Annotation Value'.
 T caseJvmByteAnnotationValue(JvmByteAnnotationValue object)
          Returns the result of interpreting the object as an instance of 'Jvm Byte Annotation Value'.
 T caseJvmCharAnnotationValue(JvmCharAnnotationValue object)
          Returns the result of interpreting the object as an instance of 'Jvm Char Annotation Value'.
 T caseJvmComponentType(JvmComponentType object)
          Returns the result of interpreting the object as an instance of 'Jvm Component Type'.
 T caseJvmCompoundTypeReference(JvmCompoundTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Compound Type Reference'.
 T caseJvmConstraintOwner(JvmConstraintOwner object)
          Returns the result of interpreting the object as an instance of 'Jvm Constraint Owner'.
 T caseJvmConstructor(JvmConstructor object)
          Returns the result of interpreting the object as an instance of 'Jvm Constructor'.
 T caseJvmCustomAnnotationValue(JvmCustomAnnotationValue object)
          Returns the result of interpreting the object as an instance of 'Jvm Custom Annotation Value'.
 T caseJvmDeclaredType(JvmDeclaredType object)
          Returns the result of interpreting the object as an instance of 'Jvm Declared Type'.
 T caseJvmDelegateTypeReference(JvmDelegateTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Delegate Type Reference'.
 T caseJvmDoubleAnnotationValue(JvmDoubleAnnotationValue object)
          Returns the result of interpreting the object as an instance of 'Jvm Double Annotation Value'.
 T caseJvmEnumAnnotationValue(JvmEnumAnnotationValue object)
          Returns the result of interpreting the object as an instance of 'Jvm Enum Annotation Value'.
 T caseJvmEnumerationLiteral(JvmEnumerationLiteral object)
          Returns the result of interpreting the object as an instance of 'Jvm Enumeration Literal'.
 T caseJvmEnumerationType(JvmEnumerationType object)
          Returns the result of interpreting the object as an instance of 'Jvm Enumeration Type'.
 T caseJvmExecutable(JvmExecutable object)
          Returns the result of interpreting the object as an instance of 'Jvm Executable'.
 T caseJvmFeature(JvmFeature object)
          Returns the result of interpreting the object as an instance of 'Jvm Feature'.
 T caseJvmField(JvmField object)
          Returns the result of interpreting the object as an instance of 'Jvm Field'.
 T caseJvmFloatAnnotationValue(JvmFloatAnnotationValue object)
          Returns the result of interpreting the object as an instance of 'Jvm Float Annotation Value'.
 T caseJvmFormalParameter(JvmFormalParameter object)
          Returns the result of interpreting the object as an instance of 'Jvm Formal Parameter'.
 T caseJvmGenericArrayTypeReference(JvmGenericArrayTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Generic Array Type Reference'.
 T caseJvmGenericType(JvmGenericType object)
          Returns the result of interpreting the object as an instance of 'Jvm Generic Type'.
 T caseJvmIdentifiableElement(JvmIdentifiableElement object)
          Returns the result of interpreting the object as an instance of 'Jvm Identifiable Element'.
 T caseJvmIntAnnotationValue(JvmIntAnnotationValue object)
          Returns the result of interpreting the object as an instance of 'Jvm Int Annotation Value'.
 T caseJvmLongAnnotationValue(JvmLongAnnotationValue object)
          Returns the result of interpreting the object as an instance of 'Jvm Long Annotation Value'.
 T caseJvmLowerBound(JvmLowerBound object)
          Returns the result of interpreting the object as an instance of 'Jvm Lower Bound'.
 T caseJvmMember(JvmMember object)
          Returns the result of interpreting the object as an instance of 'Jvm Member'.
 T caseJvmMultiTypeReference(JvmMultiTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Multi Type Reference'.
 T caseJvmOperation(JvmOperation object)
          Returns the result of interpreting the object as an instance of 'Jvm Operation'.
 T caseJvmParameterizedTypeReference(JvmParameterizedTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Parameterized Type Reference'.
 T caseJvmPrimitiveType(JvmPrimitiveType object)
          Returns the result of interpreting the object as an instance of 'Jvm Primitive Type'.
 T caseJvmShortAnnotationValue(JvmShortAnnotationValue object)
          Returns the result of interpreting the object as an instance of 'Jvm Short Annotation Value'.
 T caseJvmSpecializedTypeReference(JvmSpecializedTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Specialized Type Reference'.
 T caseJvmStringAnnotationValue(JvmStringAnnotationValue object)
          Returns the result of interpreting the object as an instance of 'Jvm String Annotation Value'.
 T caseJvmSynonymTypeReference(JvmSynonymTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Synonym Type Reference'.
 T caseJvmType(JvmType object)
          Returns the result of interpreting the object as an instance of 'Jvm Type'.
 T caseJvmTypeAnnotationValue(JvmTypeAnnotationValue object)
          Returns the result of interpreting the object as an instance of 'Jvm Type Annotation Value'.
 T caseJvmTypeConstraint(JvmTypeConstraint object)
          Returns the result of interpreting the object as an instance of 'Jvm Type Constraint'.
 T caseJvmTypeParameter(JvmTypeParameter object)
          Returns the result of interpreting the object as an instance of 'Jvm Type Parameter'.
 T caseJvmTypeParameterDeclarator(JvmTypeParameterDeclarator object)
          Returns the result of interpreting the object as an instance of 'Jvm Type Parameter Declarator'.
 T caseJvmTypeReference(JvmTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Type Reference'.
 T caseJvmUnknownTypeReference(JvmUnknownTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Unknown Type Reference'.
 T caseJvmUpperBound(JvmUpperBound object)
          Returns the result of interpreting the object as an instance of 'Jvm Upper Bound'.
 T caseJvmVoid(JvmVoid object)
          Returns the result of interpreting the object as an instance of 'Jvm Void'.
 T caseJvmWildcardTypeReference(JvmWildcardTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Wildcard Type Reference'.
 T defaultCase(org.eclipse.emf.ecore.EObject object)
          Returns the result of interpreting the object as an instance of 'EObject'.
protected  T doSwitch(org.eclipse.emf.ecore.EClass theEClass, 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.
 T doSwitch(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.
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelPackage

protected static TypesPackage modelPackage
The cached model package

EMF generated code
Constructor Detail

TypesSwitch

public TypesSwitch()
Creates an instance of the switch.

EMF generated code
Method Detail

doSwitch

public T doSwitch(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.

Returns:
the first non-null result returned by a caseXXX call.
EMF generated code

doSwitch

protected T doSwitch(org.eclipse.emf.ecore.EClass theEClass,
                     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.

Returns:
the first non-null result returned by a caseXXX call.
EMF generated code

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.

Returns:
the first non-null result returned by a caseXXX call.
EMF generated code

caseJvmIdentifiableElement

public T caseJvmIdentifiableElement(JvmIdentifiableElement object)
Returns the result of interpreting the object as an instance of 'Jvm Identifiable 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 'Jvm Identifiable Element'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmType

public T caseJvmType(JvmType object)
Returns the result of interpreting the object as an instance of 'Jvm 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 'Jvm Type'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmVoid

public T caseJvmVoid(JvmVoid object)
Returns the result of interpreting the object as an instance of 'Jvm 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 'Jvm Void'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmComponentType

public T caseJvmComponentType(JvmComponentType object)
Returns the result of interpreting the object as an instance of 'Jvm Component 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 'Jvm Component Type'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmPrimitiveType

public T caseJvmPrimitiveType(JvmPrimitiveType object)
Returns the result of interpreting the object as an instance of 'Jvm 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 'Jvm Primitive Type'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmArrayType

public T caseJvmArrayType(JvmArrayType object)
Returns the result of interpreting the object as an instance of 'Jvm 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 'Jvm Array Type'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmDeclaredType

public T caseJvmDeclaredType(JvmDeclaredType object)
Returns the result of interpreting the object as an instance of 'Jvm Declared 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 'Jvm Declared Type'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmTypeParameter

public T caseJvmTypeParameter(JvmTypeParameter object)
Returns the result of interpreting the object as an instance of 'Jvm 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 'Jvm Type Parameter'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmTypeParameterDeclarator

public T caseJvmTypeParameterDeclarator(JvmTypeParameterDeclarator object)
Returns the result of interpreting the object as an instance of 'Jvm Type Parameter Declarator'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Type Parameter Declarator'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmConstraintOwner

public T caseJvmConstraintOwner(JvmConstraintOwner object)
Returns the result of interpreting the object as an instance of 'Jvm Constraint Owner'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Constraint Owner'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmTypeConstraint

public T caseJvmTypeConstraint(JvmTypeConstraint object)
Returns the result of interpreting the object as an instance of 'Jvm Type Constraint'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Type Constraint'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmUpperBound

public T caseJvmUpperBound(JvmUpperBound object)
Returns the result of interpreting the object as an instance of 'Jvm Upper Bound'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Upper Bound'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmLowerBound

public T caseJvmLowerBound(JvmLowerBound object)
Returns the result of interpreting the object as an instance of 'Jvm Lower Bound'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Lower Bound'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmAnnotationType

public T caseJvmAnnotationType(JvmAnnotationType object)
Returns the result of interpreting the object as an instance of 'Jvm Annotation 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 'Jvm Annotation Type'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmEnumerationType

public T caseJvmEnumerationType(JvmEnumerationType object)
Returns the result of interpreting the object as an instance of 'Jvm Enumeration 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 'Jvm Enumeration Type'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmEnumerationLiteral

public T caseJvmEnumerationLiteral(JvmEnumerationLiteral object)
Returns the result of interpreting the object as an instance of 'Jvm Enumeration 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 'Jvm Enumeration Literal'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmGenericType

public T caseJvmGenericType(JvmGenericType object)
Returns the result of interpreting the object as an instance of 'Jvm Generic 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 'Jvm Generic Type'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmTypeReference

public T caseJvmTypeReference(JvmTypeReference object)
Returns the result of interpreting the object as an instance of 'Jvm Type Reference'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Type Reference'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmParameterizedTypeReference

public T caseJvmParameterizedTypeReference(JvmParameterizedTypeReference object)
Returns the result of interpreting the object as an instance of 'Jvm Parameterized Type Reference'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Parameterized Type Reference'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmGenericArrayTypeReference

public T caseJvmGenericArrayTypeReference(JvmGenericArrayTypeReference object)
Returns the result of interpreting the object as an instance of 'Jvm Generic Array Type Reference'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Generic Array Type Reference'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmWildcardTypeReference

public T caseJvmWildcardTypeReference(JvmWildcardTypeReference object)
Returns the result of interpreting the object as an instance of 'Jvm Wildcard Type Reference'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Wildcard Type Reference'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmAnyTypeReference

public T caseJvmAnyTypeReference(JvmAnyTypeReference object)
Returns the result of interpreting the object as an instance of 'Jvm Any Type Reference'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Any Type Reference'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmMultiTypeReference

public T caseJvmMultiTypeReference(JvmMultiTypeReference object)
Returns the result of interpreting the object as an instance of 'Jvm Multi Type Reference'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Multi Type Reference'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmMember

public T caseJvmMember(JvmMember object)
Returns the result of interpreting the object as an instance of 'Jvm Member'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Member'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmFeature

public T caseJvmFeature(JvmFeature object)
Returns the result of interpreting the object as an instance of 'Jvm Feature'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Feature'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmField

public T caseJvmField(JvmField object)
Returns the result of interpreting the object as an instance of 'Jvm Field'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Field'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmExecutable

public T caseJvmExecutable(JvmExecutable object)
Returns the result of interpreting the object as an instance of 'Jvm Executable'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Executable'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmConstructor

public T caseJvmConstructor(JvmConstructor object)
Returns the result of interpreting the object as an instance of 'Jvm Constructor'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Constructor'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmOperation

public T caseJvmOperation(JvmOperation object)
Returns the result of interpreting the object as an instance of 'Jvm Operation'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Operation'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmFormalParameter

public T caseJvmFormalParameter(JvmFormalParameter object)
Returns the result of interpreting the object as an instance of 'Jvm Formal 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 'Jvm Formal Parameter'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmAnnotationTarget

public T caseJvmAnnotationTarget(JvmAnnotationTarget object)
Returns the result of interpreting the object as an instance of 'Jvm Annotation Target'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Annotation Target'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmAnnotationReference

public T caseJvmAnnotationReference(JvmAnnotationReference object)
Returns the result of interpreting the object as an instance of 'Jvm Annotation Reference'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Annotation Reference'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmAnnotationValue

public T caseJvmAnnotationValue(JvmAnnotationValue object)
Returns the result of interpreting the object as an instance of 'Jvm Annotation Value'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Annotation Value'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmIntAnnotationValue

public T caseJvmIntAnnotationValue(JvmIntAnnotationValue object)
Returns the result of interpreting the object as an instance of 'Jvm Int Annotation Value'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Int Annotation Value'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmBooleanAnnotationValue

public T caseJvmBooleanAnnotationValue(JvmBooleanAnnotationValue object)
Returns the result of interpreting the object as an instance of 'Jvm Boolean Annotation Value'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Boolean Annotation Value'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmByteAnnotationValue

public T caseJvmByteAnnotationValue(JvmByteAnnotationValue object)
Returns the result of interpreting the object as an instance of 'Jvm Byte Annotation Value'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Byte Annotation Value'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmShortAnnotationValue

public T caseJvmShortAnnotationValue(JvmShortAnnotationValue object)
Returns the result of interpreting the object as an instance of 'Jvm Short Annotation Value'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Short Annotation Value'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmLongAnnotationValue

public T caseJvmLongAnnotationValue(JvmLongAnnotationValue object)
Returns the result of interpreting the object as an instance of 'Jvm Long Annotation Value'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Long Annotation Value'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmDoubleAnnotationValue

public T caseJvmDoubleAnnotationValue(JvmDoubleAnnotationValue object)
Returns the result of interpreting the object as an instance of 'Jvm Double Annotation Value'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Double Annotation Value'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmFloatAnnotationValue

public T caseJvmFloatAnnotationValue(JvmFloatAnnotationValue object)
Returns the result of interpreting the object as an instance of 'Jvm Float Annotation Value'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Float Annotation Value'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmCharAnnotationValue

public T caseJvmCharAnnotationValue(JvmCharAnnotationValue object)
Returns the result of interpreting the object as an instance of 'Jvm Char Annotation Value'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Char Annotation Value'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmStringAnnotationValue

public T caseJvmStringAnnotationValue(JvmStringAnnotationValue object)
Returns the result of interpreting the object as an instance of 'Jvm String Annotation Value'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm String Annotation Value'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmTypeAnnotationValue

public T caseJvmTypeAnnotationValue(JvmTypeAnnotationValue object)
Returns the result of interpreting the object as an instance of 'Jvm Type Annotation Value'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Type Annotation Value'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmAnnotationAnnotationValue

public T caseJvmAnnotationAnnotationValue(JvmAnnotationAnnotationValue object)
Returns the result of interpreting the object as an instance of 'Jvm Annotation Annotation Value'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Annotation Annotation Value'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmEnumAnnotationValue

public T caseJvmEnumAnnotationValue(JvmEnumAnnotationValue object)
Returns the result of interpreting the object as an instance of 'Jvm Enum Annotation Value'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Enum Annotation Value'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmDelegateTypeReference

public T caseJvmDelegateTypeReference(JvmDelegateTypeReference object)
Returns the result of interpreting the object as an instance of 'Jvm Delegate Type Reference'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Delegate Type Reference'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmSpecializedTypeReference

public T caseJvmSpecializedTypeReference(JvmSpecializedTypeReference object)
Returns the result of interpreting the object as an instance of 'Jvm Specialized Type Reference'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Specialized Type Reference'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmSynonymTypeReference

public T caseJvmSynonymTypeReference(JvmSynonymTypeReference object)
Returns the result of interpreting the object as an instance of 'Jvm Synonym Type Reference'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Synonym Type Reference'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmUnknownTypeReference

public T caseJvmUnknownTypeReference(JvmUnknownTypeReference object)
Returns the result of interpreting the object as an instance of 'Jvm Unknown Type Reference'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Unknown Type Reference'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmCompoundTypeReference

public T caseJvmCompoundTypeReference(JvmCompoundTypeReference object)
Returns the result of interpreting the object as an instance of 'Jvm Compound Type Reference'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Compound Type Reference'.
See Also:
doSwitch(EObject)
EMF generated code

caseJvmCustomAnnotationValue

public T caseJvmCustomAnnotationValue(JvmCustomAnnotationValue object)
Returns the result of interpreting the object as an instance of 'Jvm Custom Annotation Value'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Jvm Custom Annotation Value'.
See Also:
doSwitch(EObject)
EMF generated code

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.

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)
EMF generated code