Enum Class Opcode

java.lang.Object
java.lang.Enum<Opcode>
org.eclipse.m2m.atl.emftvm.Opcode
All Implemented Interfaces:
Serializable, Comparable<Opcode>, Constable, org.eclipse.emf.common.util.Enumerator

public enum Opcode extends Enum<Opcode> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Opcode', and utility methods for working with them.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The 'ADD' literal object.
    The 'ALLINST' literal object.
    The 'ALLINST IN' literal object.
    The 'AND' literal object.
    The 'DELETE' literal object.
    The 'DUP' literal object.
    The 'DUP X1' literal object.
    The 'ENDITERATE' literal object.
    The 'FINDTYPE' literal object.
    The 'FINDTYPE S' literal object.
    The 'GET' literal object.
    The 'GET STATIC' literal object.
    The 'GET SUPER' literal object.
    The 'GET TRANS' literal object.
    The 'GETCB' literal object.
    The 'GETENV' literal object.
    The 'GETENVTYPE' literal object.
    The 'GOTO' literal object.
    The 'IF' literal object.
    The 'IFN' literal object.
    The 'IFTE' literal object.
    The 'IMPLIES' literal object.
    The 'INSERT' literal object.
    The 'INVOKE' literal object.
    The 'INVOKE ALL CBS' literal object.
    The 'INVOKE CB' literal object.
    The 'INVOKE CB S' literal object.
    The 'INVOKE STATIC' literal object.
    The 'INVOKE SUPER' literal object.
    The 'ISNULL' literal object.
    The 'ITERATE' literal object.
    The 'LOAD' literal object.
    The 'MATCH' literal object.
    The 'MATCH S' literal object.
    The 'NEW' literal object.
    The 'NEW S' literal object.
    The 'NOT' literal object.
    The 'OR' literal object.
    The 'POP' literal object.
    The 'PUSH' literal object.
    The 'PUSHF' literal object.
    The 'PUSHT' literal object.
    The 'REMOVE' literal object.
    The 'RETURN' literal object.
    The 'SET' literal object.
    The 'SET STATIC' literal object.
    The 'STORE' literal object.
    The 'SWAP' literal object.
    The 'SWAP X1' literal object.
    The 'XOR' literal object.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The 'ADD' literal value.
    static final int
    The 'ALLINST IN' literal value.
    static final int
    The 'ALLINST' literal value.
    static final int
    The 'AND' literal value.
    static final int
    The 'DELETE' literal value.
    static final int
    The 'DUP' literal value.
    static final int
    The 'DUP X1' literal value.
    static final int
    The 'ENDITERATE' literal value.
    static final int
    The 'FINDTYPE S' literal value.
    static final int
    The 'FINDTYPE' literal value.
    static final int
    The 'GET STATIC' literal value.
    static final int
    The 'GET SUPER' literal value.
    static final int
    The 'GET TRANS' literal value.
    static final int
    The 'GET' literal value.
    static final int
    The 'GETCB' literal value.
    static final int
    The 'GETENV' literal value.
    static final int
    The 'GETENVTYPE' literal value.
    static final int
    The 'GOTO' literal value.
    static final int
    The 'IF' literal value.
    static final int
    The 'IFN' literal value.
    static final int
    The 'IFTE' literal value.
    static final int
    The 'IMPLIES' literal value.
    static final int
    The 'INSERT' literal value.
    static final int
    The 'INVOKE ALL CBS' literal value.
    static final int
    The 'INVOKE CB S' literal value.
    static final int
    The 'INVOKE CB' literal value.
    static final int
    The 'INVOKE STATIC' literal value.
    static final int
    The 'INVOKE SUPER' literal value.
    static final int
    The 'INVOKE' literal value.
    static final int
    The 'ISNULL' literal value.
    static final int
    The 'ITERATE' literal value.
    static final int
    The 'LOAD' literal value.
    static final int
    The 'MATCH S' literal value.
    static final int
    The 'MATCH' literal value.
    static final int
    The 'NEW S' literal value.
    static final int
    The 'NEW' literal value.
    static final int
    The 'NOT' literal value.
    static final int
    The 'OR' literal value.
    static final int
    The 'POP' literal value.
    static final int
    The 'PUSH' literal value.
    static final int
    The 'PUSHF' literal value.
    static final int
    The 'PUSHT' literal value.
    static final int
    The 'REMOVE' literal value.
    static final int
    The 'RETURN' literal value.
    static final int
    The 'SET STATIC' literal value.
    static final int
    The 'SET' literal value.
    static final int
    The 'STORE' literal value.
    static final int
    The 'SWAP' literal value.
    static final int
    The 'SWAP X1' literal value.
    static final List<Opcode>
    A public read-only list of all the 'Opcode' enumerators.
    static final int
    The 'XOR' literal value.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Opcode
    get(int value)
    Returns the 'Opcode' literal with the specified integer value.
    static Opcode
    get(String literal)
    Returns the 'Opcode' literal with the specified literal value.
    static Opcode
    Returns the 'Opcode' literal with the specified name.
    Returns the literal string value.
    Returns the literal name.
    int
    Returns the literal integer value.
    Returns the literal value of the enumerator, which is its string representation.
    static Opcode
    Returns the enum constant of this class with the specified name.
    static Opcode[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • PUSH

      public static final Opcode PUSH
      The 'PUSH' literal object.
      See Also:
    • PUSHT

      public static final Opcode PUSHT
      The 'PUSHT' literal object.
      See Also:
    • PUSHF

      public static final Opcode PUSHF
      The 'PUSHF' literal object.
      See Also:
    • POP

      public static final Opcode POP
      The 'POP' literal object.
      See Also:
    • LOAD

      public static final Opcode LOAD
      The 'LOAD' literal object.
      See Also:
    • STORE

      public static final Opcode STORE
      The 'STORE' literal object.
      See Also:
    • SET

      public static final Opcode SET
      The 'SET' literal object.
      See Also:
    • GET

      public static final Opcode GET
      The 'GET' literal object.
      See Also:
    • GET_TRANS

      public static final Opcode GET_TRANS
      The 'GET TRANS' literal object.
      See Also:
    • SET_STATIC

      public static final Opcode SET_STATIC
      The 'SET STATIC' literal object.
      See Also:
    • GET_STATIC

      public static final Opcode GET_STATIC
      The 'GET STATIC' literal object.
      See Also:
    • FINDTYPE

      public static final Opcode FINDTYPE
      The 'FINDTYPE' literal object.
      See Also:
    • FINDTYPE_S

      public static final Opcode FINDTYPE_S
      The 'FINDTYPE S' literal object.
      See Also:
    • NEW

      public static final Opcode NEW
      The 'NEW' literal object.
      See Also:
    • NEW_S

      public static final Opcode NEW_S
      The 'NEW S' literal object.
      See Also:
    • DELETE

      public static final Opcode DELETE
      The 'DELETE' literal object.
      See Also:
    • DUP

      public static final Opcode DUP
      The 'DUP' literal object.
      See Also:
    • DUP_X1

      public static final Opcode DUP_X1
      The 'DUP X1' literal object.
      See Also:
    • SWAP

      public static final Opcode SWAP
      The 'SWAP' literal object.
      See Also:
    • SWAP_X1

      public static final Opcode SWAP_X1
      The 'SWAP X1' literal object.
      See Also:
    • IF

      public static final Opcode IF
      The 'IF' literal object.
      See Also:
    • IFN

      public static final Opcode IFN
      The 'IFN' literal object.
      See Also:
    • GOTO

      public static final Opcode GOTO
      The 'GOTO' literal object.
      See Also:
    • ITERATE

      public static final Opcode ITERATE
      The 'ITERATE' literal object.
      See Also:
    • ENDITERATE

      public static final Opcode ENDITERATE
      The 'ENDITERATE' literal object.
      See Also:
    • INVOKE

      public static final Opcode INVOKE
      The 'INVOKE' literal object.
      See Also:
    • INVOKE_SUPER

      public static final Opcode INVOKE_SUPER
      The 'INVOKE SUPER' literal object.
      See Also:
    • INVOKE_STATIC

      public static final Opcode INVOKE_STATIC
      The 'INVOKE STATIC' literal object.
      See Also:
    • ALLINST

      public static final Opcode ALLINST
      The 'ALLINST' literal object.
      See Also:
    • ALLINST_IN

      public static final Opcode ALLINST_IN
      The 'ALLINST IN' literal object.
      See Also:
    • ISNULL

      public static final Opcode ISNULL
      The 'ISNULL' literal object.
      See Also:
    • GETENVTYPE

      public static final Opcode GETENVTYPE
      The 'GETENVTYPE' literal object.
      See Also:
    • NOT

      public static final Opcode NOT
      The 'NOT' literal object.
      See Also:
    • AND

      public static final Opcode AND
      The 'AND' literal object.
      See Also:
    • OR

      public static final Opcode OR
      The 'OR' literal object.
      See Also:
    • XOR

      public static final Opcode XOR
      The 'XOR' literal object.
      See Also:
    • IMPLIES

      public static final Opcode IMPLIES
      The 'IMPLIES' literal object.
      See Also:
    • IFTE

      public static final Opcode IFTE
      The 'IFTE' literal object.
      See Also:
    • RETURN

      public static final Opcode RETURN
      The 'RETURN' literal object.
      See Also:
    • GETCB

      public static final Opcode GETCB
      The 'GETCB' literal object.
      See Also:
    • INVOKE_ALL_CBS

      public static final Opcode INVOKE_ALL_CBS
      The 'INVOKE ALL CBS' literal object.
      See Also:
    • INVOKE_CB

      public static final Opcode INVOKE_CB
      The 'INVOKE CB' literal object.
      See Also:
    • INVOKE_CB_S

      public static final Opcode INVOKE_CB_S
      The 'INVOKE CB S' literal object.
      See Also:
    • MATCH

      public static final Opcode MATCH
      The 'MATCH' literal object.
      See Also:
    • MATCH_S

      public static final Opcode MATCH_S
      The 'MATCH S' literal object.
      See Also:
    • ADD

      public static final Opcode ADD
      The 'ADD' literal object.
      See Also:
    • REMOVE

      public static final Opcode REMOVE
      The 'REMOVE' literal object.
      See Also:
    • INSERT

      public static final Opcode INSERT
      The 'INSERT' literal object.
      See Also:
    • GET_SUPER

      public static final Opcode GET_SUPER
      The 'GET SUPER' literal object.
      See Also:
    • GETENV

      public static final Opcode GETENV
      The 'GETENV' literal object.
      See Also:
  • Field Details

    • PUSH_VALUE

      public static final int PUSH_VALUE
      The 'PUSH' literal value.

      If the meaning of 'PUSH' literal object isn't clear, there really should be more of a description here...

      See Also:
    • PUSHT_VALUE

      public static final int PUSHT_VALUE
      The 'PUSHT' literal value.

      If the meaning of 'PUSHT' literal object isn't clear, there really should be more of a description here...

      See Also:
    • PUSHF_VALUE

      public static final int PUSHF_VALUE
      The 'PUSHF' literal value.

      If the meaning of 'PUSHF' literal object isn't clear, there really should be more of a description here...

      See Also:
    • POP_VALUE

      public static final int POP_VALUE
      The 'POP' literal value.

      If the meaning of 'POP' literal object isn't clear, there really should be more of a description here...

      See Also:
    • LOAD_VALUE

      public static final int LOAD_VALUE
      The 'LOAD' literal value.

      If the meaning of 'LOAD' literal object isn't clear, there really should be more of a description here...

      See Also:
    • STORE_VALUE

      public static final int STORE_VALUE
      The 'STORE' literal value.

      If the meaning of 'STORE' literal object isn't clear, there really should be more of a description here...

      See Also:
    • SET_VALUE

      public static final int SET_VALUE
      The 'SET' literal value.

      If the meaning of 'SET' literal object isn't clear, there really should be more of a description here...

      See Also:
    • GET_VALUE

      public static final int GET_VALUE
      The 'GET' literal value.

      If the meaning of 'GET' literal object isn't clear, there really should be more of a description here...

      See Also:
    • GET_TRANS_VALUE

      public static final int GET_TRANS_VALUE
      The 'GET TRANS' literal value.

      If the meaning of 'GET TRANS' literal object isn't clear, there really should be more of a description here...

      See Also:
    • SET_STATIC_VALUE

      public static final int SET_STATIC_VALUE
      The 'SET STATIC' literal value.

      If the meaning of 'SET STATIC' literal object isn't clear, there really should be more of a description here...

      See Also:
    • GET_STATIC_VALUE

      public static final int GET_STATIC_VALUE
      The 'GET STATIC' literal value.

      If the meaning of 'GET STATIC' literal object isn't clear, there really should be more of a description here...

      See Also:
    • FINDTYPE_VALUE

      public static final int FINDTYPE_VALUE
      The 'FINDTYPE' literal value.

      If the meaning of 'FINDTYPE' literal object isn't clear, there really should be more of a description here...

      See Also:
    • FINDTYPE_S_VALUE

      public static final int FINDTYPE_S_VALUE
      The 'FINDTYPE S' literal value.

      If the meaning of 'FINDTYPE S' literal object isn't clear, there really should be more of a description here...

      See Also:
    • NEW_VALUE

      public static final int NEW_VALUE
      The 'NEW' literal value.

      If the meaning of 'NEW' literal object isn't clear, there really should be more of a description here...

      See Also:
    • NEW_S_VALUE

      public static final int NEW_S_VALUE
      The 'NEW S' literal value.

      If the meaning of 'NEW S' literal object isn't clear, there really should be more of a description here...

      See Also:
    • DELETE_VALUE

      public static final int DELETE_VALUE
      The 'DELETE' literal value.

      If the meaning of 'DELETE' literal object isn't clear, there really should be more of a description here...

      See Also:
    • DUP_VALUE

      public static final int DUP_VALUE
      The 'DUP' literal value.

      If the meaning of 'DUP' literal object isn't clear, there really should be more of a description here...

      See Also:
    • DUP_X1_VALUE

      public static final int DUP_X1_VALUE
      The 'DUP X1' literal value.

      If the meaning of 'DUP X1' literal object isn't clear, there really should be more of a description here...

      See Also:
    • SWAP_VALUE

      public static final int SWAP_VALUE
      The 'SWAP' literal value.

      If the meaning of 'SWAP' literal object isn't clear, there really should be more of a description here...

      See Also:
    • SWAP_X1_VALUE

      public static final int SWAP_X1_VALUE
      The 'SWAP X1' literal value.

      If the meaning of 'SWAP X1' literal object isn't clear, there really should be more of a description here...

      See Also:
    • IF_VALUE

      public static final int IF_VALUE
      The 'IF' literal value.

      If the meaning of 'IF' literal object isn't clear, there really should be more of a description here...

      See Also:
    • IFN_VALUE

      public static final int IFN_VALUE
      The 'IFN' literal value.

      If the meaning of 'IFN' literal object isn't clear, there really should be more of a description here...

      See Also:
    • GOTO_VALUE

      public static final int GOTO_VALUE
      The 'GOTO' literal value.

      If the meaning of 'GOTO' literal object isn't clear, there really should be more of a description here...

      See Also:
    • ITERATE_VALUE

      public static final int ITERATE_VALUE
      The 'ITERATE' literal value.

      If the meaning of 'ITERATE' literal object isn't clear, there really should be more of a description here...

      See Also:
    • ENDITERATE_VALUE

      public static final int ENDITERATE_VALUE
      The 'ENDITERATE' literal value.

      If the meaning of 'ENDITERATE' literal object isn't clear, there really should be more of a description here...

      See Also:
    • INVOKE_VALUE

      public static final int INVOKE_VALUE
      The 'INVOKE' literal value.

      If the meaning of 'INVOKE' literal object isn't clear, there really should be more of a description here...

      See Also:
    • INVOKE_SUPER_VALUE

      public static final int INVOKE_SUPER_VALUE
      The 'INVOKE SUPER' literal value.

      If the meaning of 'INVOKE SUPER' literal object isn't clear, there really should be more of a description here...

      See Also:
    • INVOKE_STATIC_VALUE

      public static final int INVOKE_STATIC_VALUE
      The 'INVOKE STATIC' literal value.

      If the meaning of 'INVOKE STATIC' literal object isn't clear, there really should be more of a description here...

      See Also:
    • ALLINST_VALUE

      public static final int ALLINST_VALUE
      The 'ALLINST' literal value.

      If the meaning of 'ALLINST' literal object isn't clear, there really should be more of a description here...

      See Also:
    • ALLINST_IN_VALUE

      public static final int ALLINST_IN_VALUE
      The 'ALLINST IN' literal value.

      If the meaning of 'ALLINST IN' literal object isn't clear, there really should be more of a description here...

      See Also:
    • ISNULL_VALUE

      public static final int ISNULL_VALUE
      The 'ISNULL' literal value.

      If the meaning of 'ISNULL' literal object isn't clear, there really should be more of a description here...

      See Also:
    • GETENVTYPE_VALUE

      public static final int GETENVTYPE_VALUE
      The 'GETENVTYPE' literal value.

      If the meaning of 'GETENVTYPE' literal object isn't clear, there really should be more of a description here...

      See Also:
    • NOT_VALUE

      public static final int NOT_VALUE
      The 'NOT' literal value.

      If the meaning of 'NOT' literal object isn't clear, there really should be more of a description here...

      See Also:
    • AND_VALUE

      public static final int AND_VALUE
      The 'AND' literal value.

      If the meaning of 'AND' literal object isn't clear, there really should be more of a description here...

      See Also:
    • OR_VALUE

      public static final int OR_VALUE
      The 'OR' literal value.

      If the meaning of 'OR' literal object isn't clear, there really should be more of a description here...

      See Also:
    • XOR_VALUE

      public static final int XOR_VALUE
      The 'XOR' literal value.

      If the meaning of 'XOR' literal object isn't clear, there really should be more of a description here...

      See Also:
    • IMPLIES_VALUE

      public static final int IMPLIES_VALUE
      The 'IMPLIES' literal value.

      If the meaning of 'IMPLIES' literal object isn't clear, there really should be more of a description here...

      See Also:
    • IFTE_VALUE

      public static final int IFTE_VALUE
      The 'IFTE' literal value.

      If the meaning of 'IFTE' literal object isn't clear, there really should be more of a description here...

      See Also:
    • RETURN_VALUE

      public static final int RETURN_VALUE
      The 'RETURN' literal value.

      If the meaning of 'RETURN' literal object isn't clear, there really should be more of a description here...

      See Also:
    • GETCB_VALUE

      public static final int GETCB_VALUE
      The 'GETCB' literal value.

      If the meaning of 'GETCB' literal object isn't clear, there really should be more of a description here...

      See Also:
    • INVOKE_ALL_CBS_VALUE

      public static final int INVOKE_ALL_CBS_VALUE
      The 'INVOKE ALL CBS' literal value.

      If the meaning of 'INVOKE ALL CBS' literal object isn't clear, there really should be more of a description here...

      See Also:
    • INVOKE_CB_VALUE

      public static final int INVOKE_CB_VALUE
      The 'INVOKE CB' literal value.

      If the meaning of 'INVOKE CB' literal object isn't clear, there really should be more of a description here...

      See Also:
    • INVOKE_CB_S_VALUE

      public static final int INVOKE_CB_S_VALUE
      The 'INVOKE CB S' literal value.

      If the meaning of 'INVOKE CB S' literal object isn't clear, there really should be more of a description here...

      See Also:
    • MATCH_VALUE

      public static final int MATCH_VALUE
      The 'MATCH' literal value.

      If the meaning of 'MATCH' literal object isn't clear, there really should be more of a description here...

      See Also:
    • MATCH_S_VALUE

      public static final int MATCH_S_VALUE
      The 'MATCH S' literal value.

      If the meaning of 'MATCH S' literal object isn't clear, there really should be more of a description here...

      See Also:
    • ADD_VALUE

      public static final int ADD_VALUE
      The 'ADD' literal value.

      If the meaning of 'ADD' literal object isn't clear, there really should be more of a description here...

      See Also:
    • REMOVE_VALUE

      public static final int REMOVE_VALUE
      The 'REMOVE' literal value.

      If the meaning of 'REMOVE' literal object isn't clear, there really should be more of a description here...

      See Also:
    • INSERT_VALUE

      public static final int INSERT_VALUE
      The 'INSERT' literal value.

      If the meaning of 'INSERT' literal object isn't clear, there really should be more of a description here...

      See Also:
    • GET_SUPER_VALUE

      public static final int GET_SUPER_VALUE
      The 'GET SUPER' literal value.

      If the meaning of 'GET SUPER' literal object isn't clear, there really should be more of a description here...

      See Also:
    • GETENV_VALUE

      public static final int GETENV_VALUE
      The 'GETENV' literal value.

      If the meaning of 'GETENV' literal object isn't clear, there really should be more of a description here...

      See Also:
    • VALUES

      public static final List<Opcode> VALUES
      A public read-only list of all the 'Opcode' enumerators.
  • Method Details

    • values

      public static Opcode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Opcode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • get

      public static Opcode get(String literal)
      Returns the 'Opcode' literal with the specified literal value.
      Parameters:
      literal - the literal string value
      literal - the literal.
      Returns:
      the 'Opcode' literal with the specified literal value.
    • getByName

      public static Opcode getByName(String name)
      Returns the 'Opcode' literal with the specified name.
      Parameters:
      name - the literal name
      name - the name.
      Returns:
      the 'Opcode' literal with the specified name.
    • get

      public static Opcode get(int value)
      Returns the 'Opcode' literal with the specified integer value.
      Parameters:
      value - the literal integer value
      value - the integer value.
      Returns:
      the 'Opcode' literal with the specified integer value.
    • getValue

      public int getValue()
      Returns the literal integer value.
      Specified by:
      getValue in interface org.eclipse.emf.common.util.Enumerator
      Returns:
      the literal integer value.
    • getName

      public String getName()
      Returns the literal name.
      Specified by:
      getName in interface org.eclipse.emf.common.util.Enumerator
      Returns:
      the literal name.
    • getLiteral

      public String getLiteral()
      Returns the literal string value.
      Specified by:
      getLiteral in interface org.eclipse.emf.common.util.Enumerator
      Returns:
      the literal string value.
    • toString

      public String toString()
      Returns the literal value of the enumerator, which is its string representation.
      Overrides:
      toString in class Enum<Opcode>
      Returns:
      the literal value of the enumerator, which is its string representation.