Class SaveInstructionParametersSwitch

java.lang.Object
org.eclipse.m2m.atl.emftvm.util.EmftvmSwitch<Instruction>
org.eclipse.m2m.atl.emftvm.impl.resource.SaveInstructionParametersSwitch

public class SaveInstructionParametersSwitch extends EmftvmSwitch<Instruction>
Saves Instruction parameters to a DataOutputStream.
  • Field Details

  • Constructor Details

  • Method Details

    • caseBranchInstruction

      public Instruction caseBranchInstruction(BranchInstruction object)
      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.
      Overrides:
      caseBranchInstruction in class EmftvmSwitch<Instruction>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Branch Instruction'.
      See Also:
    • caseFieldInstruction

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

      public Instruction 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<Instruction>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Findtype'.
      See Also:
    • caseInvokeInstruction

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

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

      public Instruction caseLocalVariableInstruction(LocalVariableInstruction object)
      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.
      Overrides:
      caseLocalVariableInstruction in class EmftvmSwitch<Instruction>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Local Variable Instruction'.
      See Also:
    • caseNew

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

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

      public Instruction 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<Instruction>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Match'.
      See Also:
    • caseCodeBlockInstruction

      public Instruction caseCodeBlockInstruction(CodeBlockInstruction object)
      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.
      Overrides:
      caseCodeBlockInstruction in class EmftvmSwitch<Instruction>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Code Block Instruction'.
      See Also:
    • caseIfte

      public Instruction caseIfte(Ifte object)
      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.
      Overrides:
      caseIfte in class EmftvmSwitch<Instruction>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Ifte'.
      See Also: