Class SaveInstructionParametersSwitch

    • Field Detail

      • outputStream

        protected final java.io.DataOutputStream outputStream
    • Constructor Detail

      • SaveInstructionParametersSwitch

        public SaveInstructionParametersSwitch​(java.io.DataOutputStream outputStream,
                                               ConstantPool constants)
        Parameters:
        outputStream - the output stream
        constants - the constant pool
    • Method Detail

      • 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:
        doSwitch(EObject)
      • 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:
        doSwitch(EObject)
      • 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:
        doSwitch(EObject)
      • 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:
        doSwitch(EObject)
      • 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:
        doSwitch(EObject)
      • 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:
        doSwitch(EObject)
      • 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:
        doSwitch(EObject)
      • 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:
        doSwitch(EObject)
      • 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:
        doSwitch(EObject)
      • 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:
        doSwitch(EObject)
      • 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:
        doSwitch(EObject)