Package jamopp.printer
Class ReferencesPrinterSwitch
- java.lang.Object
-
- org.eclipse.emf.ecore.util.Switch<T>
-
- org.emftext.language.java.references.util.ReferencesSwitch<Boolean>
-
- jamopp.printer.ReferencesPrinterSwitch
-
public class ReferencesPrinterSwitch extends ReferencesSwitch<Boolean>
-
-
Field Summary
-
Fields inherited from class org.emftext.language.java.references.util.ReferencesSwitch
modelPackage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
caseArgumentable(Argumentable element)
Returns the result of interpreting the object as an instance of 'Argumentable'.Boolean
caseIdentifierReference(IdentifierReference element)
Returns the result of interpreting the object as an instance of 'Identifier Reference'.Boolean
caseMethodCall(MethodCall element)
Returns the result of interpreting the object as an instance of 'Method Call'.Boolean
casePrimitiveTypeReference(PrimitiveTypeReference element)
Returns the result of interpreting the object as an instance of 'Primitive Type Reference'.Boolean
caseReference(Reference element)
Returns the result of interpreting the object as an instance of 'Reference'.Boolean
caseReflectiveClassReference(ReflectiveClassReference element)
Returns the result of interpreting the object as an instance of 'Reflective Class Reference'.Boolean
caseSelfReference(SelfReference element)
Returns the result of interpreting the object as an instance of 'Self Reference'.Boolean
caseStringReference(StringReference element)
Returns the result of interpreting the object as an instance of 'String Reference'.Boolean
caseTextBlockReference(TextBlockReference element)
Returns the result of interpreting the object as an instance of 'Text Block Reference'.-
Methods inherited from class org.emftext.language.java.references.util.ReferencesSwitch
caseAdditiveExpressionChild, caseAndExpressionChild, caseAnnotable, caseAnnotationValue, caseArrayInitializationValue, caseArrayTypeable, caseAssignmentExpressionChild, caseCallTypeArgumentable, caseCommentable, caseConditionalAndExpressionChild, caseConditionalExpressionChild, caseConditionalOrExpressionChild, caseElementReference, caseEqualityExpressionChild, caseExclusiveOrExpressionChild, caseExpression, caseInclusiveOrExpressionChild, caseInstanceOfExpressionChild, caseLambdaBody, caseMethodReferenceExpressionChild, caseMultiplicativeExpressionChild, caseNamedElement, caseNamespaceAwareElement, casePackageReference, casePrimaryExpression, caseReferenceableElement, caseRelationExpressionChild, caseResource, caseShiftExpressionChild, caseTypeArgumentable, caseTypedElementExtension, caseUnaryExpressionChild, caseUnaryModificationExpressionChild, defaultCase, doSwitch, isSwitchFor
-
-
-
-
Method Detail
-
caseArgumentable
public Boolean caseArgumentable(Argumentable element)
Description copied from class:ReferencesSwitch
Returns the result of interpreting the object as an instance of 'Argumentable'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseArgumentable
in classReferencesSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Argumentable'.
- See Also:
doSwitch(EObject)
-
caseTextBlockReference
public Boolean caseTextBlockReference(TextBlockReference element)
Description copied from class:ReferencesSwitch
Returns the result of interpreting the object as an instance of 'Text Block Reference'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseTextBlockReference
in classReferencesSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Text Block Reference'.
- See Also:
doSwitch(EObject)
-
caseReflectiveClassReference
public Boolean caseReflectiveClassReference(ReflectiveClassReference element)
Description copied from class:ReferencesSwitch
Returns the result of interpreting the object as an instance of 'Reflective Class Reference'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseReflectiveClassReference
in classReferencesSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Reflective Class Reference'.
- See Also:
doSwitch(EObject)
-
casePrimitiveTypeReference
public Boolean casePrimitiveTypeReference(PrimitiveTypeReference element)
Description copied from class:ReferencesSwitch
Returns the result of interpreting the object as an instance of 'Primitive Type Reference'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
casePrimitiveTypeReference
in classReferencesSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Primitive Type Reference'.
- See Also:
doSwitch(EObject)
-
caseStringReference
public Boolean caseStringReference(StringReference element)
Description copied from class:ReferencesSwitch
Returns the result of interpreting the object as an instance of 'String Reference'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseStringReference
in classReferencesSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'String Reference'.
- See Also:
doSwitch(EObject)
-
caseSelfReference
public Boolean caseSelfReference(SelfReference element)
Description copied from class:ReferencesSwitch
Returns the result of interpreting the object as an instance of 'Self Reference'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseSelfReference
in classReferencesSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Self Reference'.
- See Also:
doSwitch(EObject)
-
caseIdentifierReference
public Boolean caseIdentifierReference(IdentifierReference element)
Description copied from class:ReferencesSwitch
Returns the result of interpreting the object as an instance of 'Identifier Reference'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseIdentifierReference
in classReferencesSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Identifier Reference'.
- See Also:
doSwitch(EObject)
-
caseMethodCall
public Boolean caseMethodCall(MethodCall element)
Description copied from class:ReferencesSwitch
Returns the result of interpreting the object as an instance of 'Method Call'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseMethodCall
in classReferencesSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Method Call'.
- See Also:
doSwitch(EObject)
-
caseReference
public Boolean caseReference(Reference element)
Description copied from class:ReferencesSwitch
Returns the result of interpreting the object as an instance of 'Reference'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseReference
in classReferencesSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Reference'.
- See Also:
doSwitch(EObject)
-
-