Package org.eclipse.m2m.atl.emftvm.util
Class EmftvmSwitch<T>
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.EmftvmSwitch<T>
- Type Parameters:
T
- the switched type
- Direct Known Subclasses:
ByteCodeSwitch
,ConstantPool.CreateConstantsSwitch
,LabelSwitch
,LoadInstructionParametersSwitch
,SaveInstructionParametersSwitch
The Switch for the model's inheritance hierarchy.
It supports the call
doSwitch(object)
to invoke the caseXXX
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:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of 'Add'.caseAllinst
(Allinst object) Returns the result of interpreting the object as an instance of 'Allinst'.caseAllinstIn
(AllinstIn object) Returns the result of interpreting the object as an instance of 'Allinst In'.Returns the result of interpreting the object as an instance of 'And'.Returns the result of interpreting the object as an instance of 'Branch Instruction'.caseCodeBlock
(CodeBlock object) Returns the result of interpreting the object as an instance of 'Code Block'.Returns the result of interpreting the object as an instance of 'Code Block Instruction'.caseDelete
(Delete object) Returns the result of interpreting the object as an instance of 'Delete'.Returns the result of interpreting the object as an instance of 'Dup'.Returns the result of interpreting the object as an instance of 'Dup X1'.caseEnditerate
(Enditerate object) Returns the result of interpreting the object as an instance of 'Enditerate'.caseExecEnv
(ExecEnv object) Returns the result of interpreting the object as an instance of 'Exec Env'.caseFeature
(Feature object) Returns the result of interpreting the object as an instance of 'Feature'.Returns the result of interpreting the object as an instance of 'Field'.caseFieldInstruction
(FieldInstruction object) Returns the result of interpreting the object as an instance of 'Field Instruction'.caseFindtype
(Findtype object) Returns the result of interpreting the object as an instance of 'Findtype'.caseFindtypeS
(FindtypeS object) Returns the result of interpreting the object as an instance of 'Findtype S'.Returns the result of interpreting the object as an instance of 'Get'.Returns the result of interpreting the object as an instance of 'Getcb'.caseGetenv
(Getenv object) Returns the result of interpreting the object as an instance of 'Getenv'.caseGetenvtype
(Getenvtype object) Returns the result of interpreting the object as an instance of 'Getenvtype'.caseGetStatic
(GetStatic object) Returns the result of interpreting the object as an instance of 'Get Static'.caseGetSuper
(GetSuper object) Returns the result of interpreting the object as an instance of 'Get Super'.caseGetTrans
(GetTrans object) Returns the result of interpreting the object as an instance of 'Get Trans'.Returns the result of interpreting the object as an instance of 'Goto'.Returns the result of interpreting the object as an instance of 'If'.Returns the result of interpreting the object as an instance of 'Ifn'.Returns the result of interpreting the object as an instance of 'Ifte'.caseImplies
(Implies object) Returns the result of interpreting the object as an instance of 'Implies'.caseInputRuleElement
(InputRuleElement object) Returns the result of interpreting the object as an instance of 'Input Rule Element'.caseInsert
(Insert object) Returns the result of interpreting the object as an instance of 'Insert'.caseInstruction
(Instruction object) Returns the result of interpreting the object as an instance of 'Instruction'.caseInvoke
(Invoke object) Returns the result of interpreting the object as an instance of 'Invoke'.caseInvokeAllCbs
(InvokeAllCbs object) Returns the result of interpreting the object as an instance of 'Invoke All Cbs'.caseInvokeCb
(InvokeCb object) Returns the result of interpreting the object as an instance of 'Invoke Cb'.caseInvokeCbS
(InvokeCbS object) Returns the result of interpreting the object as an instance of 'Invoke Cb S'.Returns the result of interpreting the object as an instance of 'Invoke Instruction'.Returns the result of interpreting the object as an instance of 'Invoke Operation Instruction'.caseInvokeStatic
(InvokeStatic object) Returns the result of interpreting the object as an instance of 'Invoke Static'.caseInvokeSuper
(InvokeSuper object) Returns the result of interpreting the object as an instance of 'Invoke Super'.caseIsnull
(Isnull object) Returns the result of interpreting the object as an instance of 'Isnull'.caseIterate
(Iterate object) Returns the result of interpreting the object as an instance of 'Iterate'.caseLineNumber
(LineNumber object) Returns the result of interpreting the object as an instance of 'Line Number'.Returns the result of interpreting the object as an instance of 'Load'.caseLocalVariable
(LocalVariable object) Returns the result of interpreting the object as an instance of 'Local Variable'.Returns the result of interpreting the object as an instance of 'Local Variable Instruction'.Returns the result of interpreting the object as an instance of 'Match'.caseMatchS
(MatchS object) Returns the result of interpreting the object as an instance of 'Match S'.caseMetamodel
(Metamodel object) Returns the result of interpreting the object as an instance of 'Metamodel'.Returns the result of interpreting the object as an instance of 'Model'.caseModelDeclaration
(ModelDeclaration object) Returns the result of interpreting the object as an instance of 'Model Declaration'.caseModule
(Module object) Returns the result of interpreting the object as an instance of 'Module'.caseNamedElement
(NamedElement object) Returns the result of interpreting the object as an instance of 'Named Element'.Returns the result of interpreting the object as an instance of 'New'.Returns the result of interpreting the object as an instance of 'New S'.Returns the result of interpreting the object as an instance of 'Not'.caseOperation
(Operation object) Returns the result of interpreting the object as an instance of 'Operation'.Returns the result of interpreting the object as an instance of 'Or'.Returns the result of interpreting the object as an instance of 'Output Rule Element'.caseParameter
(Parameter object) Returns the result of interpreting the object as an instance of 'Parameter'.Returns the result of interpreting the object as an instance of 'Pop'.Returns the result of interpreting the object as an instance of 'Push'.Returns the result of interpreting the object as an instance of 'Pushf'.Returns the result of interpreting the object as an instance of 'Pusht'.caseRemove
(Remove object) Returns the result of interpreting the object as an instance of 'Remove'.caseReturn
(Return object) Returns the result of interpreting the object as an instance of 'Return'.Returns the result of interpreting the object as an instance of 'Rule'.caseRuleElement
(RuleElement object) Returns the result of interpreting the object as an instance of 'Rule Element'.Returns the result of interpreting the object as an instance of 'Set'.caseSetStatic
(SetStatic object) Returns the result of interpreting the object as an instance of 'Set Static'.Returns the result of interpreting the object as an instance of 'Store'.Returns the result of interpreting the object as an instance of 'Swap'.caseSwapX1
(SwapX1 object) Returns the result of interpreting the object as an instance of 'Swap X1'.caseTypedElement
(TypedElement object) Returns the result of interpreting the object as an instance of 'Typed Element'.Returns the result of interpreting the object as an instance of 'Xor'.defaultCase
(org.eclipse.emf.ecore.EObject object) Returns the result of interpreting the object as an instance of 'EObject'.protected T
doSwitch
(int classifierID, org.eclipse.emf.ecore.EObject theEObject) CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected T
doSwitch
(org.eclipse.emf.ecore.EClass theEClass, org.eclipse.emf.ecore.EObject theEObject) CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.doSwitch
(org.eclipse.emf.ecore.EObject theEObject) CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.
-
Field Details
-
modelPackage
The cached model package
-
-
Constructor Details
-
EmftvmSwitch
public EmftvmSwitch()Creates an instance of the switch.
-
-
Method Details
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Returns:
- the first non-null result returned by a
caseXXX
call.
-
doSwitch
protected T doSwitch(org.eclipse.emf.ecore.EClass theEClass, org.eclipse.emf.ecore.EObject theEObject) CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Returns:
- the first non-null result returned by a
caseXXX
call.
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Parameters:
classifierID
- the classifier ID of theEClass
oftheEObject
theEObject
- the object to switch on- Returns:
- the first non-null result returned by a
caseXXX
call.
-
caseModule
Returns the result of interpreting the object as an instance of 'Module'. 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 'Module'.
- See Also:
-
caseModelDeclaration
Returns the result of interpreting the object as an instance of 'Model Declaration'. 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 'Model Declaration'.
- See Also:
-
caseFeature
Returns the result of interpreting the object as an instance of 'Feature'. 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 'Feature'.
- See Also:
-
caseField
Returns the result of interpreting the object as an instance of 'Field'. 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 'Field'.
- See Also:
-
caseOperation
Returns the result of interpreting the object as an instance of 'Operation'. 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 'Operation'.
- See Also:
-
caseNamedElement
Returns the result of interpreting the object as an instance of 'Named 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 'Named Element'.
- See Also:
-
caseParameter
Returns the result of interpreting the object as an instance of '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 'Parameter'.
- See Also:
-
caseTypedElement
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:
-
caseInstruction
Returns the result of interpreting the object as an instance of 'Instruction'. 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 'Instruction'.
- See Also:
-
caseLineNumber
Returns the result of interpreting the object as an instance of 'Line Number'. 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 'Line Number'.
- See Also:
-
caseLocalVariable
Returns the result of interpreting the object as an instance of 'Local Variable'. 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 'Local Variable'.
- See Also:
-
caseRule
Returns the result of interpreting the object as an instance of 'Rule'. 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 'Rule'.
- See Also:
-
caseRuleElement
Returns the result of interpreting the object as an instance of 'Rule 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 'Rule Element'.
- See Also:
-
caseInputRuleElement
Returns the result of interpreting the object as an instance of 'Input Rule 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 'Input Rule Element'.
- See Also:
-
caseOutputRuleElement
Returns the result of interpreting the object as an instance of 'Output Rule 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 'Output Rule Element'.
- See Also:
-
caseCodeBlock
Returns the result of interpreting the object as an instance of 'Code Block'. 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 'Code Block'.
- See Also:
-
casePush
Returns the result of interpreting the object as an instance of 'Push'. 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 'Push'.
- See Also:
-
casePusht
Returns the result of interpreting the object as an instance of 'Pusht'. 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 'Pusht'.
- See Also:
-
casePushf
Returns the result of interpreting the object as an instance of 'Pushf'. 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 'Pushf'.
- See Also:
-
casePop
Returns the result of interpreting the object as an instance of 'Pop'. 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 'Pop'.
- See Also:
-
caseLocalVariableInstruction
Returns the result of interpreting the object as an instance of 'Local Variable Instruction'. 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 'Local Variable Instruction'.
- See Also:
-
caseLoad
Returns the result of interpreting the object as an instance of 'Load'. 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 'Load'.
- See Also:
-
caseStore
Returns the result of interpreting the object as an instance of 'Store'. 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 'Store'.
- See Also:
-
caseFieldInstruction
Returns the result of interpreting the object as an instance of 'Field Instruction'. 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 'Field Instruction'.
- See Also:
-
caseSet
Returns the result of interpreting the object as an instance of 'Set'. 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 'Set'.
- See Also:
-
caseGet
Returns the result of interpreting the object as an instance of 'Get'. 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 'Get'.
- See Also:
-
caseGetTrans
Returns the result of interpreting the object as an instance of 'Get Trans'. 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 'Get Trans'.
- See Also:
-
caseSetStatic
Returns the result of interpreting the object as an instance of 'Set Static'. 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 'Set Static'.
- See Also:
-
caseGetStatic
Returns the result of interpreting the object as an instance of 'Get Static'. 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 'Get Static'.
- See Also:
-
caseFindtype
Returns the result of interpreting the object as an instance of 'Findtype'. 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 'Findtype'.
- See Also:
-
caseFindtypeS
Returns the result of interpreting the object as an instance of 'Findtype S'. 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 'Findtype S'.
- See Also:
-
caseNew
Returns the result of interpreting the object as an instance of 'New'. 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 'New'.
- See Also:
-
caseNewS
Returns the result of interpreting the object as an instance of 'New S'. 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 'New S'.
- See Also:
-
caseDelete
Returns the result of interpreting the object as an instance of 'Delete'. 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 'Delete'.
- See Also:
-
caseDup
Returns the result of interpreting the object as an instance of 'Dup'. 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 'Dup'.
- See Also:
-
caseDupX1
Returns the result of interpreting the object as an instance of 'Dup X1'. 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 'Dup X1'.
- See Also:
-
caseSwap
Returns the result of interpreting the object as an instance of 'Swap'. 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 'Swap'.
- See Also:
-
caseSwapX1
Returns the result of interpreting the object as an instance of 'Swap X1'. 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 'Swap X1'.
- See Also:
-
caseBranchInstruction
Returns the result of interpreting the object as an instance of 'Branch Instruction'. 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 'Branch Instruction'.
- See Also:
-
caseIf
Returns the result of interpreting the object as an instance of 'If'. 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 'If'.
- See Also:
-
caseIfn
Returns the result of interpreting the object as an instance of 'Ifn'. 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 'Ifn'.
- See Also:
-
caseGoto
Returns the result of interpreting the object as an instance of 'Goto'. 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 'Goto'.
- See Also:
-
caseIterate
Returns the result of interpreting the object as an instance of 'Iterate'. 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 'Iterate'.
- See Also:
-
caseEnditerate
Returns the result of interpreting the object as an instance of 'Enditerate'. 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 'Enditerate'.
- See Also:
-
caseInvokeInstruction
Returns the result of interpreting the object as an instance of 'Invoke Instruction'. 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 'Invoke Instruction'.
- See Also:
-
caseInvokeOperationInstruction
Returns the result of interpreting the object as an instance of 'Invoke Operation Instruction'. 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 'Invoke Operation Instruction'.
- See Also:
-
caseInvoke
Returns the result of interpreting the object as an instance of 'Invoke'. 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 'Invoke'.
- See Also:
-
caseInvokeSuper
Returns the result of interpreting the object as an instance of 'Invoke Super'. 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 'Invoke Super'.
- See Also:
-
caseInvokeStatic
Returns the result of interpreting the object as an instance of 'Invoke Static'. 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 'Invoke Static'.
- See Also:
-
caseAllinst
Returns the result of interpreting the object as an instance of 'Allinst'. 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 'Allinst'.
- See Also:
-
caseAllinstIn
Returns the result of interpreting the object as an instance of 'Allinst In'. 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 'Allinst In'.
- See Also:
-
caseMatch
Returns the result of interpreting the object as an instance of 'Match'. 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 'Match'.
- See Also:
-
caseMatchS
Returns the result of interpreting the object as an instance of 'Match S'. 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 'Match S'.
- See Also:
-
caseAdd
Returns the result of interpreting the object as an instance of 'Add'. 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 'Add'.
- See Also:
-
caseRemove
Returns the result of interpreting the object as an instance of 'Remove'. 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 'Remove'.
- See Also:
-
caseInsert
Returns the result of interpreting the object as an instance of 'Insert'. 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 'Insert'.
- See Also:
-
caseGetSuper
Returns the result of interpreting the object as an instance of 'Get Super'. 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 'Get Super'.
- See Also:
-
caseGetenv
Returns the result of interpreting the object as an instance of 'Getenv'. 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 'Getenv'.
- See Also:
-
caseReturn
Returns the result of interpreting the object as an instance of 'Return'. 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 'Return'.
- See Also:
-
caseCodeBlockInstruction
Returns the result of interpreting the object as an instance of 'Code Block Instruction'. 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 'Code Block Instruction'.
- See Also:
-
caseGetcb
Returns the result of interpreting the object as an instance of 'Getcb'. 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 'Getcb'.
- See Also:
-
caseInvokeAllCbs
Returns the result of interpreting the object as an instance of 'Invoke All Cbs'. 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 'Invoke All Cbs'.
- See Also:
-
caseInvokeCb
Returns the result of interpreting the object as an instance of 'Invoke Cb'. 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 'Invoke Cb'.
- See Also:
-
caseInvokeCbS
Returns the result of interpreting the object as an instance of 'Invoke Cb S'. 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 'Invoke Cb S'.
- See Also:
-
caseNot
Returns the result of interpreting the object as an instance of 'Not'. 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 'Not'.
- See Also:
-
caseAnd
Returns the result of interpreting the object as an instance of 'And'. 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'.
- See Also:
-
caseOr
Returns the result of interpreting the object as an instance of 'Or'. 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 'Or'.
- See Also:
-
caseXor
Returns the result of interpreting the object as an instance of 'Xor'. 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 'Xor'.
- See Also:
-
caseImplies
Returns the result of interpreting the object as an instance of 'Implies'. 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 'Implies'.
- See Also:
-
caseIfte
Returns the result of interpreting the object as an instance of 'Ifte'. 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 'Ifte'.
- See Also:
-
caseIsnull
Returns the result of interpreting the object as an instance of 'Isnull'. 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 'Isnull'.
- See Also:
-
caseGetenvtype
Returns the result of interpreting the object as an instance of 'Getenvtype'. 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 'Getenvtype'.
- See Also:
-
caseExecEnv
Returns the result of interpreting the object as an instance of 'Exec Env'. 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 'Exec Env'.
- See Also:
-
caseModel
Returns the result of interpreting the object as an instance of 'Model'. 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 'Model'.
- See Also:
-
caseMetamodel
Returns the result of interpreting the object as an instance of 'Metamodel'. 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 'Metamodel'.
- See Also:
-
defaultCase
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.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
-