Class ConstantPool.CreateConstantsSwitch

java.lang.Object
org.eclipse.m2m.atl.emftvm.util.EmftvmSwitch<Object>
org.eclipse.m2m.atl.emftvm.impl.resource.ConstantPool.CreateConstantsSwitch
Enclosing class:
ConstantPool

public class ConstantPool.CreateConstantsSwitch extends EmftvmSwitch<Object>
Creates constant pool entries for EMFTVM elements.
  • Constructor Details

    • CreateConstantsSwitch

      public CreateConstantsSwitch()
  • Method Details

    • caseNamedElement

      public 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:
      caseNamedElement in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Named Element'.
      See Also:
    • caseTypedElement

      public 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:
      caseTypedElement in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Typed Element'.
      See Also:
    • caseFeature

      public 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:
      caseFeature in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Feature'.
      See Also:
    • caseCodeBlock

      public 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:
      caseCodeBlock in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Code Block'.
      See Also:
    • caseModule

      public 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:
      caseModule in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Module'.
      See Also:
    • caseOperation

      public 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:
      caseOperation in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Operation'.
      See Also:
    • caseRule

      public 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:
      caseRule in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Rule'.
      See Also:
    • caseRuleElement

      public 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:
      caseRuleElement in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Rule Element'.
      See Also:
    • caseInputRuleElement

      public 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:
      caseInputRuleElement in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Input Rule Element'.
      See Also:
    • caseFieldInstruction

      public 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:
      caseFieldInstruction in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Field Instruction'.
      See Also:
    • caseFindtype

      public 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:
      caseFindtype in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Findtype'.
      See Also:
    • caseInvokeOperationInstruction

      public 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:
      caseInvokeOperationInstruction in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Invoke Operation Instruction'.
      See Also:
    • caseNew

      public 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:
      caseNew in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'New'.
      See Also:
    • casePush

      public 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:
      casePush in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Push'.
      See Also:
    • caseMatch

      public 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:
      caseMatch in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Match'.
      See Also:
    • caseModelDeclaration

      public 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:
      caseModelDeclaration in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Model Declaration'.
      See Also:
    • caseField

      public 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:
      caseField in class EmftvmSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Field'.
      See Also: