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
-
Field Summary
Fields inherited from class org.emftext.language.java.references.util.ReferencesSwitch
modelPackage
-
Method Summary
Modifier and TypeMethodDescriptioncaseArgumentable
(Argumentable element) Returns the result of interpreting the object as an instance of 'Argumentable'.Returns the result of interpreting the object as an instance of 'Identifier Reference'.caseMethodCall
(MethodCall element) Returns the result of interpreting the object as an instance of 'Method Call'.Returns the result of interpreting the object as an instance of 'Primitive Type Reference'.caseReference
(Reference element) Returns the result of interpreting the object as an instance of 'Reference'.Returns the result of interpreting the object as an instance of 'Reflective Class Reference'.caseSelfReference
(SelfReference element) Returns the result of interpreting the object as an instance of 'Self Reference'.caseStringReference
(StringReference element) Returns the result of interpreting the object as an instance of 'String Reference'.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 Details
-
caseArgumentable
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:
-
caseTextBlockReference
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:
-
caseReflectiveClassReference
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:
-
casePrimitiveTypeReference
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:
-
caseStringReference
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:
-
caseSelfReference
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:
-
caseIdentifierReference
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:
-
caseMethodCall
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:
-
caseReference
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:
-