public class TypesSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
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.
TypesPackage
Modifier and Type | Field and Description |
---|---|
protected static TypesPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
TypesSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
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(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. |
protected boolean |
isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package.
|
protected static TypesPackage modelPackage
public TypesSwitch()
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor
in class org.eclipse.emf.ecore.util.Switch<T>
protected T doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
doSwitch
in class org.eclipse.emf.ecore.util.Switch<T>
caseXXX
call.public T caseJvmIdentifiableElement(JvmIdentifiableElement object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmType(JvmType object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmVoid(JvmVoid object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmComponentType(JvmComponentType object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmPrimitiveType(JvmPrimitiveType object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmArrayType(JvmArrayType object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmDeclaredType(JvmDeclaredType object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmTypeParameter(JvmTypeParameter object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmTypeParameterDeclarator(JvmTypeParameterDeclarator object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmConstraintOwner(JvmConstraintOwner object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmTypeConstraint(JvmTypeConstraint object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmUpperBound(JvmUpperBound object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmLowerBound(JvmLowerBound object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmAnnotationType(JvmAnnotationType object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmEnumerationType(JvmEnumerationType object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmEnumerationLiteral(JvmEnumerationLiteral object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmGenericType(JvmGenericType object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmTypeReference(JvmTypeReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmParameterizedTypeReference(JvmParameterizedTypeReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmGenericArrayTypeReference(JvmGenericArrayTypeReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmWildcardTypeReference(JvmWildcardTypeReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmAnyTypeReference(JvmAnyTypeReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmMultiTypeReference(JvmMultiTypeReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmMember(JvmMember object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmFeature(JvmFeature object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmField(JvmField object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmExecutable(JvmExecutable object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmConstructor(JvmConstructor object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmOperation(JvmOperation object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmFormalParameter(JvmFormalParameter object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmAnnotationTarget(JvmAnnotationTarget object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmAnnotationReference(JvmAnnotationReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmAnnotationValue(JvmAnnotationValue object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmIntAnnotationValue(JvmIntAnnotationValue object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmBooleanAnnotationValue(JvmBooleanAnnotationValue object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmByteAnnotationValue(JvmByteAnnotationValue object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmShortAnnotationValue(JvmShortAnnotationValue object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmLongAnnotationValue(JvmLongAnnotationValue object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmDoubleAnnotationValue(JvmDoubleAnnotationValue object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmFloatAnnotationValue(JvmFloatAnnotationValue object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmCharAnnotationValue(JvmCharAnnotationValue object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmStringAnnotationValue(JvmStringAnnotationValue object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmTypeAnnotationValue(JvmTypeAnnotationValue object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmAnnotationAnnotationValue(JvmAnnotationAnnotationValue object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmEnumAnnotationValue(JvmEnumAnnotationValue object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmDelegateTypeReference(JvmDelegateTypeReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmSpecializedTypeReference(JvmSpecializedTypeReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmSynonymTypeReference(JvmSynonymTypeReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmUnknownTypeReference(JvmUnknownTypeReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmCompoundTypeReference(JvmCompoundTypeReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseJvmCustomAnnotationValue(JvmCustomAnnotationValue object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase
in class org.eclipse.emf.ecore.util.Switch<T>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)