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:ReferencesSwitchReturns 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:
caseArgumentablein 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:ReferencesSwitchReturns 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:
caseTextBlockReferencein 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:ReferencesSwitchReturns 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:
caseReflectiveClassReferencein 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:ReferencesSwitchReturns 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:
casePrimitiveTypeReferencein 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:ReferencesSwitchReturns 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:
caseStringReferencein 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:ReferencesSwitchReturns 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:
caseSelfReferencein 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:ReferencesSwitchReturns 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:
caseIdentifierReferencein 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:ReferencesSwitchReturns 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:
caseMethodCallin 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:ReferencesSwitchReturns 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:
caseReferencein classReferencesSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Reference'.
- See Also:
-