|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.common.types.util.TypesSwitch<T>
public class TypesSwitch<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.
TypesPackage
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 |
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 |
caseJvmDeclaredType(JvmDeclaredType object)
Returns the result of interpreting the object as an instance of 'Jvm Declared Type' |
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 |
caseJvmStringAnnotationValue(JvmStringAnnotationValue object)
Returns the result of interpreting the object as an instance of 'Jvm String Annotation Value' |
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 |
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 |
---|
protected static TypesPackage modelPackage
Constructor Detail |
---|
public TypesSwitch()
Method Detail |
---|
public T doSwitch(org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.protected T doSwitch(org.eclipse.emf.ecore.EClass theEClass, org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.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.
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 defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |