Class ExpressionsSwitch<T>
- java.lang.Object
-
- org.eclipse.emf.ecore.util.Switch<T>
-
- org.emftext.language.java.expressions.util.ExpressionsSwitch<T>
-
public class ExpressionsSwitch<T> extends Switch<T>
The Switch for the model's inheritance hierarchy. It supports the calldoSwitch(object)
to invoke thecaseXXX
method for each class of the model, starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is returned, which is the result of the switch.- See Also:
ExpressionsPackage
- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description protected static ExpressionsPackage
modelPackage
The cached model package
-
Constructor Summary
Constructors Constructor Description ExpressionsSwitch()
Creates an instance of the switch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
caseAdditiveExpression(AdditiveExpression object)
Returns the result of interpreting the object as an instance of 'Additive Expression'.T
caseAdditiveExpressionChild(AdditiveExpressionChild object)
Returns the result of interpreting the object as an instance of 'Additive Expression Child'.T
caseAndExpression(AndExpression object)
Returns the result of interpreting the object as an instance of 'And Expression'.T
caseAndExpressionChild(AndExpressionChild object)
Returns the result of interpreting the object as an instance of 'And Expression Child'.T
caseAnnotationValue(AnnotationValue object)
Returns the result of interpreting the object as an instance of 'Annotation Value'.T
caseArrayConstructorReferenceExpression(ArrayConstructorReferenceExpression object)
Returns the result of interpreting the object as an instance of 'Array Constructor Reference Expression'.T
caseArrayInitializationValue(ArrayInitializationValue object)
Returns the result of interpreting the object as an instance of 'Array Initialization Value'.T
caseAssignmentExpression(AssignmentExpression object)
Returns the result of interpreting the object as an instance of 'Assignment Expression'.T
caseAssignmentExpressionChild(AssignmentExpressionChild object)
Returns the result of interpreting the object as an instance of 'Assignment Expression Child'.T
caseCallTypeArgumentable(CallTypeArgumentable object)
Returns the result of interpreting the object as an instance of 'Call Type Argumentable'.T
caseCastExpression(CastExpression object)
Returns the result of interpreting the object as an instance of 'Cast Expression'.T
caseClassTypeConstructorReferenceExpression(ClassTypeConstructorReferenceExpression object)
Returns the result of interpreting the object as an instance of 'Class Type Constructor Reference Expression'.T
caseCommentable(Commentable object)
Returns the result of interpreting the object as an instance of 'Commentable'.T
caseConditionalAndExpression(ConditionalAndExpression object)
Returns the result of interpreting the object as an instance of 'Conditional And Expression'.T
caseConditionalAndExpressionChild(ConditionalAndExpressionChild object)
Returns the result of interpreting the object as an instance of 'Conditional And Expression Child'.T
caseConditionalExpression(ConditionalExpression object)
Returns the result of interpreting the object as an instance of 'Conditional Expression'.T
caseConditionalExpressionChild(ConditionalExpressionChild object)
Returns the result of interpreting the object as an instance of 'Conditional Expression Child'.T
caseConditionalOrExpression(ConditionalOrExpression object)
Returns the result of interpreting the object as an instance of 'Conditional Or Expression'.T
caseConditionalOrExpressionChild(ConditionalOrExpressionChild object)
Returns the result of interpreting the object as an instance of 'Conditional Or Expression Child'.T
caseEqualityExpression(EqualityExpression object)
Returns the result of interpreting the object as an instance of 'Equality Expression'.T
caseEqualityExpressionChild(EqualityExpressionChild object)
Returns the result of interpreting the object as an instance of 'Equality Expression Child'.T
caseExclusiveOrExpression(ExclusiveOrExpression object)
Returns the result of interpreting the object as an instance of 'Exclusive Or Expression'.T
caseExclusiveOrExpressionChild(ExclusiveOrExpressionChild object)
Returns the result of interpreting the object as an instance of 'Exclusive Or Expression Child'.T
caseExplicitlyTypedLambdaParameters(ExplicitlyTypedLambdaParameters object)
Returns the result of interpreting the object as an instance of 'Explicitly Typed Lambda Parameters'.T
caseExpression(Expression object)
Returns the result of interpreting the object as an instance of 'Expression'.T
caseExpressionList(ExpressionList object)
Returns the result of interpreting the object as an instance of 'Expression List'.T
caseForLoopInitializer(ForLoopInitializer object)
Returns the result of interpreting the object as an instance of 'For Loop Initializer'.T
caseImplicitlyTypedLambdaParameters(ImplicitlyTypedLambdaParameters object)
Returns the result of interpreting the object as an instance of 'Implicitly Typed Lambda Parameters'.T
caseInclusiveOrExpression(InclusiveOrExpression object)
Returns the result of interpreting the object as an instance of 'Inclusive Or Expression'.T
caseInclusiveOrExpressionChild(InclusiveOrExpressionChild object)
Returns the result of interpreting the object as an instance of 'Inclusive Or Expression Child'.T
caseInstanceOfExpression(InstanceOfExpression object)
Returns the result of interpreting the object as an instance of 'Instance Of Expression'.T
caseInstanceOfExpressionChild(InstanceOfExpressionChild object)
Returns the result of interpreting the object as an instance of 'Instance Of Expression Child'.T
caseLambdaBody(LambdaBody object)
Returns the result of interpreting the object as an instance of 'Lambda Body'.T
caseLambdaExpression(LambdaExpression object)
Returns the result of interpreting the object as an instance of 'Lambda Expression'.T
caseLambdaParameters(LambdaParameters object)
Returns the result of interpreting the object as an instance of 'Lambda Parameters'.T
caseMethodReferenceExpression(MethodReferenceExpression object)
Returns the result of interpreting the object as an instance of 'Method Reference Expression'.T
caseMethodReferenceExpressionChild(MethodReferenceExpressionChild object)
Returns the result of interpreting the object as an instance of 'Method Reference Expression Child'.T
caseMultiplicativeExpression(MultiplicativeExpression object)
Returns the result of interpreting the object as an instance of 'Multiplicative Expression'.T
caseMultiplicativeExpressionChild(MultiplicativeExpressionChild object)
Returns the result of interpreting the object as an instance of 'Multiplicative Expression Child'.T
caseNestedExpression(NestedExpression object)
Returns the result of interpreting the object as an instance of 'Nested Expression'.T
caseParametrizable(Parametrizable object)
Returns the result of interpreting the object as an instance of 'Parametrizable'.T
casePrefixUnaryModificationExpression(PrefixUnaryModificationExpression object)
Returns the result of interpreting the object as an instance of 'Prefix Unary Modification Expression'.T
casePrimaryExpression(PrimaryExpression object)
Returns the result of interpreting the object as an instance of 'Primary Expression'.T
casePrimaryExpressionReferenceExpression(PrimaryExpressionReferenceExpression object)
Returns the result of interpreting the object as an instance of 'Primary Expression Reference Expression'.T
caseReference(Reference object)
Returns the result of interpreting the object as an instance of 'Reference'.T
caseRelationExpression(RelationExpression object)
Returns the result of interpreting the object as an instance of 'Relation Expression'.T
caseRelationExpressionChild(RelationExpressionChild object)
Returns the result of interpreting the object as an instance of 'Relation Expression Child'.T
caseShiftExpression(ShiftExpression object)
Returns the result of interpreting the object as an instance of 'Shift Expression'.T
caseShiftExpressionChild(ShiftExpressionChild object)
Returns the result of interpreting the object as an instance of 'Shift Expression Child'.T
caseSingleImplicitLambdaParameter(SingleImplicitLambdaParameter object)
Returns the result of interpreting the object as an instance of 'Single Implicit Lambda Parameter'.T
caseSuffixUnaryModificationExpression(SuffixUnaryModificationExpression object)
Returns the result of interpreting the object as an instance of 'Suffix Unary Modification Expression'.T
caseTypeArgumentable(TypeArgumentable object)
Returns the result of interpreting the object as an instance of 'Type Argumentable'.T
caseTypedElement(TypedElement object)
Returns the result of interpreting the object as an instance of 'Typed Element'.T
caseTypedElementExtension(TypedElementExtension object)
Returns the result of interpreting the object as an instance of 'Typed Element Extension'.T
caseUnaryExpression(UnaryExpression object)
Returns the result of interpreting the object as an instance of 'Unary Expression'.T
caseUnaryExpressionChild(UnaryExpressionChild object)
Returns the result of interpreting the object as an instance of 'Unary Expression Child'.T
caseUnaryModificationExpression(UnaryModificationExpression object)
Returns the result of interpreting the object as an instance of 'Unary Modification Expression'.T
caseUnaryModificationExpressionChild(UnaryModificationExpressionChild object)
Returns the result of interpreting the object as an instance of 'Unary Modification Expression Child'.T
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.protected T
doSwitch(int classifierID, EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected boolean
isSwitchFor(EPackage ePackage)
Checks whether this is a switch for the given package.
-
-
-
Field Detail
-
modelPackage
protected static ExpressionsPackage modelPackage
The cached model package- Generated class or method.
-
-
Method Detail
-
isSwitchFor
protected boolean isSwitchFor(EPackage ePackage)
Checks whether this is a switch for the given package.- Specified by:
isSwitchFor
in classSwitch<T>
- Parameters:
ePackage
- the package in question.- Returns:
- whether this is a switch for the given package.
- Generated class or method.
-
doSwitch
protected T doSwitch(int classifierID, EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.
-
caseExpressionList
public T caseExpressionList(ExpressionList object)
Returns the result of interpreting the object as an instance of 'Expression List'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Expression List'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseExpression
public T caseExpression(Expression object)
Returns the result of interpreting the object as an instance of 'Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAssignmentExpression
public T caseAssignmentExpression(AssignmentExpression object)
Returns the result of interpreting the object as an instance of 'Assignment Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Assignment Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAssignmentExpressionChild
public T caseAssignmentExpressionChild(AssignmentExpressionChild object)
Returns the result of interpreting the object as an instance of 'Assignment Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Assignment Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseConditionalExpression
public T caseConditionalExpression(ConditionalExpression object)
Returns the result of interpreting the object as an instance of 'Conditional Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Conditional Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseConditionalExpressionChild
public T caseConditionalExpressionChild(ConditionalExpressionChild object)
Returns the result of interpreting the object as an instance of 'Conditional Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Conditional Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseConditionalOrExpression
public T caseConditionalOrExpression(ConditionalOrExpression object)
Returns the result of interpreting the object as an instance of 'Conditional Or Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Conditional Or Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseConditionalOrExpressionChild
public T caseConditionalOrExpressionChild(ConditionalOrExpressionChild object)
Returns the result of interpreting the object as an instance of 'Conditional Or Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Conditional Or Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseConditionalAndExpression
public T caseConditionalAndExpression(ConditionalAndExpression object)
Returns the result of interpreting the object as an instance of 'Conditional And Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Conditional And Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseConditionalAndExpressionChild
public T caseConditionalAndExpressionChild(ConditionalAndExpressionChild object)
Returns the result of interpreting the object as an instance of 'Conditional And Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Conditional And Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseInclusiveOrExpression
public T caseInclusiveOrExpression(InclusiveOrExpression object)
Returns the result of interpreting the object as an instance of 'Inclusive Or Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Inclusive Or Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseInclusiveOrExpressionChild
public T caseInclusiveOrExpressionChild(InclusiveOrExpressionChild object)
Returns the result of interpreting the object as an instance of 'Inclusive Or Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Inclusive Or Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseExclusiveOrExpression
public T caseExclusiveOrExpression(ExclusiveOrExpression object)
Returns the result of interpreting the object as an instance of 'Exclusive Or Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Exclusive Or Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseExclusiveOrExpressionChild
public T caseExclusiveOrExpressionChild(ExclusiveOrExpressionChild object)
Returns the result of interpreting the object as an instance of 'Exclusive Or Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Exclusive Or Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAndExpression
public T caseAndExpression(AndExpression object)
Returns the result of interpreting the object as an instance of 'And Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'And Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAndExpressionChild
public T caseAndExpressionChild(AndExpressionChild object)
Returns the result of interpreting the object as an instance of 'And Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'And Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseEqualityExpression
public T caseEqualityExpression(EqualityExpression object)
Returns the result of interpreting the object as an instance of 'Equality Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Equality Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseEqualityExpressionChild
public T caseEqualityExpressionChild(EqualityExpressionChild object)
Returns the result of interpreting the object as an instance of 'Equality Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Equality Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseInstanceOfExpression
public T caseInstanceOfExpression(InstanceOfExpression object)
Returns the result of interpreting the object as an instance of 'Instance Of Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Instance Of Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseInstanceOfExpressionChild
public T caseInstanceOfExpressionChild(InstanceOfExpressionChild object)
Returns the result of interpreting the object as an instance of 'Instance Of Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Instance Of Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseRelationExpression
public T caseRelationExpression(RelationExpression object)
Returns the result of interpreting the object as an instance of 'Relation Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Relation Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseRelationExpressionChild
public T caseRelationExpressionChild(RelationExpressionChild object)
Returns the result of interpreting the object as an instance of 'Relation Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Relation Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseShiftExpression
public T caseShiftExpression(ShiftExpression object)
Returns the result of interpreting the object as an instance of 'Shift Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Shift Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseShiftExpressionChild
public T caseShiftExpressionChild(ShiftExpressionChild object)
Returns the result of interpreting the object as an instance of 'Shift Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Shift Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAdditiveExpression
public T caseAdditiveExpression(AdditiveExpression object)
Returns the result of interpreting the object as an instance of 'Additive Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Additive Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAdditiveExpressionChild
public T caseAdditiveExpressionChild(AdditiveExpressionChild object)
Returns the result of interpreting the object as an instance of 'Additive Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Additive Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseMultiplicativeExpression
public T caseMultiplicativeExpression(MultiplicativeExpression object)
Returns the result of interpreting the object as an instance of 'Multiplicative Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Multiplicative Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseMultiplicativeExpressionChild
public T caseMultiplicativeExpressionChild(MultiplicativeExpressionChild object)
Returns the result of interpreting the object as an instance of 'Multiplicative Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Multiplicative Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseUnaryExpression
public T caseUnaryExpression(UnaryExpression object)
Returns the result of interpreting the object as an instance of 'Unary Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unary Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseUnaryExpressionChild
public T caseUnaryExpressionChild(UnaryExpressionChild object)
Returns the result of interpreting the object as an instance of 'Unary Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unary Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseUnaryModificationExpression
public T caseUnaryModificationExpression(UnaryModificationExpression object)
Returns the result of interpreting the object as an instance of 'Unary Modification Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unary Modification Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
casePrefixUnaryModificationExpression
public T casePrefixUnaryModificationExpression(PrefixUnaryModificationExpression object)
Returns the result of interpreting the object as an instance of 'Prefix Unary Modification Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Prefix Unary Modification Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseSuffixUnaryModificationExpression
public T caseSuffixUnaryModificationExpression(SuffixUnaryModificationExpression object)
Returns the result of interpreting the object as an instance of 'Suffix Unary Modification Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Suffix Unary Modification Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseUnaryModificationExpressionChild
public T caseUnaryModificationExpressionChild(UnaryModificationExpressionChild object)
Returns the result of interpreting the object as an instance of 'Unary Modification Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unary Modification Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseCastExpression
public T caseCastExpression(CastExpression object)
Returns the result of interpreting the object as an instance of 'Cast Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Cast Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
casePrimaryExpression
public T casePrimaryExpression(PrimaryExpression object)
Returns the result of interpreting the object as an instance of 'Primary Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Primary Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseNestedExpression
public T caseNestedExpression(NestedExpression object)
Returns the result of interpreting the object as an instance of 'Nested Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Nested Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseMethodReferenceExpression
public T caseMethodReferenceExpression(MethodReferenceExpression object)
Returns the result of interpreting the object as an instance of 'Method Reference Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Method Reference Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
casePrimaryExpressionReferenceExpression
public T casePrimaryExpressionReferenceExpression(PrimaryExpressionReferenceExpression object)
Returns the result of interpreting the object as an instance of 'Primary Expression Reference Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Primary Expression Reference Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseClassTypeConstructorReferenceExpression
public T caseClassTypeConstructorReferenceExpression(ClassTypeConstructorReferenceExpression object)
Returns the result of interpreting the object as an instance of 'Class Type Constructor Reference Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Class Type Constructor Reference Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseArrayConstructorReferenceExpression
public T caseArrayConstructorReferenceExpression(ArrayConstructorReferenceExpression object)
Returns the result of interpreting the object as an instance of 'Array Constructor Reference Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Array Constructor Reference Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseMethodReferenceExpressionChild
public T caseMethodReferenceExpressionChild(MethodReferenceExpressionChild object)
Returns the result of interpreting the object as an instance of 'Method Reference Expression Child'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Method Reference Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseLambdaExpression
public T caseLambdaExpression(LambdaExpression object)
Returns the result of interpreting the object as an instance of 'Lambda Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Lambda Expression'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseLambdaBody
public T caseLambdaBody(LambdaBody object)
Returns the result of interpreting the object as an instance of 'Lambda Body'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Lambda Body'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseLambdaParameters
public T caseLambdaParameters(LambdaParameters object)
Returns the result of interpreting the object as an instance of 'Lambda Parameters'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Lambda Parameters'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseExplicitlyTypedLambdaParameters
public T caseExplicitlyTypedLambdaParameters(ExplicitlyTypedLambdaParameters object)
Returns the result of interpreting the object as an instance of 'Explicitly Typed Lambda Parameters'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Explicitly Typed Lambda Parameters'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseImplicitlyTypedLambdaParameters
public T caseImplicitlyTypedLambdaParameters(ImplicitlyTypedLambdaParameters object)
Returns the result of interpreting the object as an instance of 'Implicitly Typed Lambda Parameters'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Implicitly Typed Lambda Parameters'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseSingleImplicitLambdaParameter
public T caseSingleImplicitLambdaParameter(SingleImplicitLambdaParameter object)
Returns the result of interpreting the object as an instance of 'Single Implicit Lambda Parameter'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Single Implicit Lambda Parameter'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseCommentable
public T caseCommentable(Commentable object)
Returns the result of interpreting the object as an instance of 'Commentable'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Commentable'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseForLoopInitializer
public T caseForLoopInitializer(ForLoopInitializer object)
Returns the result of interpreting the object as an instance of 'For Loop Initializer'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'For Loop Initializer'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseArrayInitializationValue
public T caseArrayInitializationValue(ArrayInitializationValue object)
Returns the result of interpreting the object as an instance of 'Array Initialization Value'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Array Initialization Value'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAnnotationValue
public T caseAnnotationValue(AnnotationValue object)
Returns the result of interpreting the object as an instance of 'Annotation Value'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Annotation Value'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseTypedElement
public T caseTypedElement(TypedElement object)
Returns the result of interpreting the object as an instance of 'Typed Element'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Typed Element'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseTypeArgumentable
public T caseTypeArgumentable(TypeArgumentable object)
Returns the result of interpreting the object as an instance of 'Type Argumentable'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Type Argumentable'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseTypedElementExtension
public T caseTypedElementExtension(TypedElementExtension object)
Returns the result of interpreting the object as an instance of 'Typed Element Extension'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Typed Element Extension'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseReference
public T caseReference(Reference object)
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.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Reference'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseCallTypeArgumentable
public T caseCallTypeArgumentable(CallTypeArgumentable object)
Returns the result of interpreting the object as an instance of 'Call Type Argumentable'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Call Type Argumentable'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseParametrizable
public T caseParametrizable(Parametrizable object)
Returns the result of interpreting the object as an instance of 'Parametrizable'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Parametrizable'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
defaultCase
public T defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.- Overrides:
defaultCase
in classSwitch<T>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
Switch.doSwitch(org.eclipse.emf.ecore.EObject)
- Generated class or method.
-
-