org.eclipse.xtext.common.types.util
Class SuperTypeCollector.Implementation

java.lang.Object
  extended by org.eclipse.xtext.common.types.util.TypesSwitch<java.lang.Boolean>
      extended by org.eclipse.xtext.common.types.util.SuperTypeCollector.Implementation
Enclosing class:
SuperTypeCollector

public static class SuperTypeCollector.Implementation
extends TypesSwitch<java.lang.Boolean>


Field Summary
 
Fields inherited from class org.eclipse.xtext.common.types.util.TypesSwitch
modelPackage
 
Constructor Summary
SuperTypeCollector.Implementation(SuperTypeCollector.SuperTypeAcceptor acceptor, TypeReferences references)
           
 
Method Summary
 java.lang.Boolean caseJvmAnyTypeReference(JvmAnyTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Any Type Reference'.
 java.lang.Boolean caseJvmConstraintOwner(JvmConstraintOwner object)
          Returns the result of interpreting the object as an instance of 'Jvm Constraint Owner'.
 java.lang.Boolean caseJvmDeclaredType(JvmDeclaredType object)
          Returns the result of interpreting the object as an instance of 'Jvm Declared Type'.
 java.lang.Boolean caseJvmDelegateTypeReference(JvmDelegateTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Delegate Type Reference'.
 java.lang.Boolean caseJvmGenericArrayTypeReference(JvmGenericArrayTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Generic Array Type Reference'.
 java.lang.Boolean caseJvmMultiTypeReference(JvmMultiTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Multi Type Reference'.
 java.lang.Boolean caseJvmSpecializedTypeReference(JvmSpecializedTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Specialized Type Reference'.
 java.lang.Boolean caseJvmTypeConstraint(JvmTypeConstraint object)
          Returns the result of interpreting the object as an instance of 'Jvm Type Constraint'.
 java.lang.Boolean caseJvmTypeReference(JvmTypeReference object)
          Returns the result of interpreting the object as an instance of 'Jvm Type Reference'.
 java.lang.Boolean 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.
 
Methods inherited from class org.eclipse.xtext.common.types.util.TypesSwitch
caseJvmAnnotationAnnotationValue, caseJvmAnnotationReference, caseJvmAnnotationTarget, caseJvmAnnotationType, caseJvmAnnotationValue, caseJvmArrayType, caseJvmBooleanAnnotationValue, caseJvmByteAnnotationValue, caseJvmCharAnnotationValue, caseJvmComponentType, caseJvmCompoundTypeReference, caseJvmConstructor, caseJvmCustomAnnotationValue, caseJvmDoubleAnnotationValue, caseJvmEnumAnnotationValue, caseJvmEnumerationLiteral, caseJvmEnumerationType, caseJvmExecutable, caseJvmFeature, caseJvmField, caseJvmFloatAnnotationValue, caseJvmFormalParameter, caseJvmGenericType, caseJvmIdentifiableElement, caseJvmIntAnnotationValue, caseJvmLongAnnotationValue, caseJvmLowerBound, caseJvmMember, caseJvmOperation, caseJvmParameterizedTypeReference, caseJvmPrimitiveType, caseJvmShortAnnotationValue, caseJvmStringAnnotationValue, caseJvmSynonymTypeReference, caseJvmType, caseJvmTypeAnnotationValue, caseJvmTypeParameter, caseJvmTypeParameterDeclarator, caseJvmUnknownTypeReference, caseJvmUpperBound, caseJvmVoid, caseJvmWildcardTypeReference, defaultCase, doSwitch, doSwitch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuperTypeCollector.Implementation

public SuperTypeCollector.Implementation(SuperTypeCollector.SuperTypeAcceptor acceptor,
                                         TypeReferences references)
Method Detail

doSwitch

public java.lang.Boolean doSwitch(org.eclipse.emf.ecore.EObject theEObject)
Description copied from class: TypesSwitch
Calls caseXXX for each class of the model until one returns a non null result; it yields that result.

Overrides:
doSwitch in class TypesSwitch<java.lang.Boolean>
Returns:
the first non-null result returned by a caseXXX call.

caseJvmTypeReference

public java.lang.Boolean caseJvmTypeReference(JvmTypeReference object)
Description copied from class: TypesSwitch
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.

Overrides:
caseJvmTypeReference in class TypesSwitch<java.lang.Boolean>
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)

caseJvmGenericArrayTypeReference

public java.lang.Boolean caseJvmGenericArrayTypeReference(JvmGenericArrayTypeReference object)
Description copied from class: TypesSwitch
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.

Overrides:
caseJvmGenericArrayTypeReference in class TypesSwitch<java.lang.Boolean>
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)

caseJvmMultiTypeReference

public java.lang.Boolean caseJvmMultiTypeReference(JvmMultiTypeReference object)
Description copied from class: TypesSwitch
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.

Overrides:
caseJvmMultiTypeReference in class TypesSwitch<java.lang.Boolean>
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)

caseJvmDelegateTypeReference

public java.lang.Boolean caseJvmDelegateTypeReference(JvmDelegateTypeReference object)
Description copied from class: TypesSwitch
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.

Overrides:
caseJvmDelegateTypeReference in class TypesSwitch<java.lang.Boolean>
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)

caseJvmSpecializedTypeReference

public java.lang.Boolean caseJvmSpecializedTypeReference(JvmSpecializedTypeReference object)
Description copied from class: TypesSwitch
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.

Overrides:
caseJvmSpecializedTypeReference in class TypesSwitch<java.lang.Boolean>
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)

caseJvmAnyTypeReference

public java.lang.Boolean caseJvmAnyTypeReference(JvmAnyTypeReference object)
Description copied from class: TypesSwitch
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.

Overrides:
caseJvmAnyTypeReference in class TypesSwitch<java.lang.Boolean>
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)

caseJvmDeclaredType

public java.lang.Boolean caseJvmDeclaredType(JvmDeclaredType object)
Description copied from class: TypesSwitch
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.

Overrides:
caseJvmDeclaredType in class TypesSwitch<java.lang.Boolean>
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)

caseJvmTypeConstraint

public java.lang.Boolean caseJvmTypeConstraint(JvmTypeConstraint object)
Description copied from class: TypesSwitch
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.

Overrides:
caseJvmTypeConstraint in class TypesSwitch<java.lang.Boolean>
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)

caseJvmConstraintOwner

public java.lang.Boolean caseJvmConstraintOwner(JvmConstraintOwner object)
Description copied from class: TypesSwitch
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.

Overrides:
caseJvmConstraintOwner in class TypesSwitch<java.lang.Boolean>
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)