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 BooleancaseArgumentable(Argumentable element)Returns the result of interpreting the object as an instance of 'Argumentable'.BooleancaseIdentifierReference(IdentifierReference element)Returns the result of interpreting the object as an instance of 'Identifier Reference'.BooleancaseMethodCall(MethodCall element)Returns the result of interpreting the object as an instance of 'Method Call'.BooleancasePrimitiveTypeReference(PrimitiveTypeReference element)Returns the result of interpreting the object as an instance of 'Primitive Type Reference'.BooleancaseReference(Reference element)Returns the result of interpreting the object as an instance of 'Reference'.BooleancaseReflectiveClassReference(ReflectiveClassReference element)Returns the result of interpreting the object as an instance of 'Reflective Class Reference'.BooleancaseSelfReference(SelfReference element)Returns the result of interpreting the object as an instance of 'Self Reference'.BooleancaseStringReference(StringReference element)Returns the result of interpreting the object as an instance of 'String Reference'.BooleancaseTextBlockReference(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: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:
doSwitch(EObject)
-
caseTextBlockReference
public Boolean caseTextBlockReference(TextBlockReference element)
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:
doSwitch(EObject)
-
caseReflectiveClassReference
public Boolean caseReflectiveClassReference(ReflectiveClassReference element)
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:
doSwitch(EObject)
-
casePrimitiveTypeReference
public Boolean casePrimitiveTypeReference(PrimitiveTypeReference element)
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:
doSwitch(EObject)
-
caseStringReference
public Boolean caseStringReference(StringReference element)
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:
doSwitch(EObject)
-
caseSelfReference
public Boolean caseSelfReference(SelfReference element)
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:
doSwitch(EObject)
-
caseIdentifierReference
public Boolean caseIdentifierReference(IdentifierReference element)
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:
doSwitch(EObject)
-
caseMethodCall
public Boolean caseMethodCall(MethodCall element)
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:
doSwitch(EObject)
-
caseReference
public Boolean caseReference(Reference element)
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:
doSwitch(EObject)
-
-