Class ConstantPool.CreateConstantsSwitch
- java.lang.Object
-
- org.eclipse.m2m.atl.emftvm.util.EmftvmSwitch<java.lang.Object>
-
- org.eclipse.m2m.atl.emftvm.impl.resource.ConstantPool.CreateConstantsSwitch
-
- Enclosing class:
- ConstantPool
public class ConstantPool.CreateConstantsSwitch extends EmftvmSwitch<java.lang.Object>
Creates constant pool entries for EMFTVM elements.
-
-
Field Summary
-
Fields inherited from class org.eclipse.m2m.atl.emftvm.util.EmftvmSwitch
modelPackage
-
-
Constructor Summary
Constructors Constructor Description CreateConstantsSwitch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectcaseCodeBlock(CodeBlock object)Returns the result of interpreting the object as an instance of 'Code Block'.java.lang.ObjectcaseFeature(Feature object)Returns the result of interpreting the object as an instance of 'Feature'.java.lang.ObjectcaseField(Field object)Returns the result of interpreting the object as an instance of 'Field'.java.lang.ObjectcaseFieldInstruction(FieldInstruction object)Returns the result of interpreting the object as an instance of 'Field Instruction'.java.lang.ObjectcaseFindtype(Findtype object)Returns the result of interpreting the object as an instance of 'Findtype'.java.lang.ObjectcaseInputRuleElement(InputRuleElement object)Returns the result of interpreting the object as an instance of 'Input Rule Element'.java.lang.ObjectcaseInvokeOperationInstruction(InvokeOperationInstruction object)Returns the result of interpreting the object as an instance of 'Invoke Operation Instruction'.java.lang.ObjectcaseMatch(Match object)Returns the result of interpreting the object as an instance of 'Match'.java.lang.ObjectcaseModelDeclaration(ModelDeclaration object)Returns the result of interpreting the object as an instance of 'Model Declaration'.java.lang.ObjectcaseModule(Module object)Returns the result of interpreting the object as an instance of 'Module'.java.lang.ObjectcaseNamedElement(NamedElement object)Returns the result of interpreting the object as an instance of 'Named Element'.java.lang.ObjectcaseNew(New object)Returns the result of interpreting the object as an instance of 'New'.java.lang.ObjectcaseOperation(Operation object)Returns the result of interpreting the object as an instance of 'Operation'.java.lang.ObjectcasePush(Push object)Returns the result of interpreting the object as an instance of 'Push'.java.lang.ObjectcaseRule(Rule object)Returns the result of interpreting the object as an instance of 'Rule'.java.lang.ObjectcaseRuleElement(RuleElement object)Returns the result of interpreting the object as an instance of 'Rule Element'.java.lang.ObjectcaseTypedElement(TypedElement object)Returns the result of interpreting the object as an instance of 'Typed Element'.-
Methods inherited from class org.eclipse.m2m.atl.emftvm.util.EmftvmSwitch
caseAdd, caseAllinst, caseAllinstIn, caseAnd, caseBranchInstruction, caseCodeBlockInstruction, caseDelete, caseDup, caseDupX1, caseEnditerate, caseExecEnv, caseFindtypeS, caseGet, caseGetcb, caseGetenv, caseGetenvtype, caseGetStatic, caseGetSuper, caseGetTrans, caseGoto, caseIf, caseIfn, caseIfte, caseImplies, caseInsert, caseInstruction, caseInvoke, caseInvokeAllCbs, caseInvokeCb, caseInvokeCbS, caseInvokeInstruction, caseInvokeStatic, caseInvokeSuper, caseIsnull, caseIterate, caseLineNumber, caseLoad, caseLocalVariable, caseLocalVariableInstruction, caseMatchS, caseMetamodel, caseModel, caseNewS, caseNot, caseOr, caseOutputRuleElement, caseParameter, casePop, casePushf, casePusht, caseRemove, caseReturn, caseSet, caseSetStatic, caseStore, caseSwap, caseSwapX1, caseXor, defaultCase, doSwitch, doSwitch, doSwitch
-
-
-
-
Method Detail
-
caseNamedElement
public java.lang.Object caseNamedElement(NamedElement object)
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.- Overrides:
caseNamedElementin classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Named Element'.
- See Also:
doSwitch(EObject)
-
caseTypedElement
public java.lang.Object 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.- Overrides:
caseTypedElementin classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Typed Element'.
- See Also:
doSwitch(EObject)
-
caseFeature
public java.lang.Object caseFeature(Feature object)
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.- Overrides:
caseFeaturein classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Feature'.
- See Also:
doSwitch(EObject)
-
caseCodeBlock
public java.lang.Object caseCodeBlock(CodeBlock object)
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.- Overrides:
caseCodeBlockin classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Code Block'.
- See Also:
doSwitch(EObject)
-
caseModule
public java.lang.Object caseModule(Module object)
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.- Overrides:
caseModulein classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Module'.
- See Also:
doSwitch(EObject)
-
caseOperation
public java.lang.Object caseOperation(Operation object)
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.- Overrides:
caseOperationin classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Operation'.
- See Also:
doSwitch(EObject)
-
caseRule
public java.lang.Object caseRule(Rule object)
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.- Overrides:
caseRulein classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Rule'.
- See Also:
doSwitch(EObject)
-
caseRuleElement
public java.lang.Object caseRuleElement(RuleElement object)
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.- Overrides:
caseRuleElementin classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Rule Element'.
- See Also:
doSwitch(EObject)
-
caseInputRuleElement
public java.lang.Object caseInputRuleElement(InputRuleElement object)
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.- Overrides:
caseInputRuleElementin classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Input Rule Element'.
- See Also:
doSwitch(EObject)
-
caseFieldInstruction
public java.lang.Object caseFieldInstruction(FieldInstruction object)
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.- Overrides:
caseFieldInstructionin classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Field Instruction'.
- See Also:
doSwitch(EObject)
-
caseFindtype
public java.lang.Object caseFindtype(Findtype object)
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.- Overrides:
caseFindtypein classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Findtype'.
- See Also:
doSwitch(EObject)
-
caseInvokeOperationInstruction
public java.lang.Object caseInvokeOperationInstruction(InvokeOperationInstruction object)
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.- Overrides:
caseInvokeOperationInstructionin classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Invoke Operation Instruction'.
- See Also:
doSwitch(EObject)
-
caseNew
public java.lang.Object caseNew(New object)
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.- Overrides:
caseNewin classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'New'.
- See Also:
doSwitch(EObject)
-
casePush
public java.lang.Object casePush(Push object)
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.- Overrides:
casePushin classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Push'.
- See Also:
doSwitch(EObject)
-
caseMatch
public java.lang.Object caseMatch(Match object)
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.- Overrides:
caseMatchin classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Match'.
- See Also:
doSwitch(EObject)
-
caseModelDeclaration
public java.lang.Object caseModelDeclaration(ModelDeclaration object)
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.- Overrides:
caseModelDeclarationin classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Model Declaration'.
- See Also:
doSwitch(EObject)
-
caseField
public java.lang.Object caseField(Field object)
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.- Overrides:
caseFieldin classEmftvmSwitch<java.lang.Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Field'.
- See Also:
doSwitch(EObject)
-
-