Enum Class Opcode.Kind

java.lang.Object
java.lang.Enum<Opcode.Kind>
org.glavo.classfile.Opcode.Kind
All Implemented Interfaces:
Serializable, Comparable<Opcode.Kind>, Constable
Enclosing class:
Opcode

public static enum Opcode.Kind extends Enum<Opcode.Kind>
Kinds of opcodes.
  • Enum Constant Details

    • LOAD

      public static final Opcode.Kind LOAD
    • STORE

      public static final Opcode.Kind STORE
    • INCREMENT

      public static final Opcode.Kind INCREMENT
    • BRANCH

      public static final Opcode.Kind BRANCH
    • LOOKUP_SWITCH

      public static final Opcode.Kind LOOKUP_SWITCH
    • TABLE_SWITCH

      public static final Opcode.Kind TABLE_SWITCH
    • RETURN

      public static final Opcode.Kind RETURN
    • THROW_EXCEPTION

      public static final Opcode.Kind THROW_EXCEPTION
    • FIELD_ACCESS

      public static final Opcode.Kind FIELD_ACCESS
    • INVOKE

      public static final Opcode.Kind INVOKE
    • INVOKE_DYNAMIC

      public static final Opcode.Kind INVOKE_DYNAMIC
    • NEW_OBJECT

      public static final Opcode.Kind NEW_OBJECT
    • NEW_PRIMITIVE_ARRAY

      public static final Opcode.Kind NEW_PRIMITIVE_ARRAY
    • NEW_REF_ARRAY

      public static final Opcode.Kind NEW_REF_ARRAY
    • NEW_MULTI_ARRAY

      public static final Opcode.Kind NEW_MULTI_ARRAY
    • TYPE_CHECK

      public static final Opcode.Kind TYPE_CHECK
    • ARRAY_LOAD

      public static final Opcode.Kind ARRAY_LOAD
    • ARRAY_STORE

      public static final Opcode.Kind ARRAY_STORE
    • STACK

      public static final Opcode.Kind STACK
    • CONVERT

      public static final Opcode.Kind CONVERT
    • OPERATOR

      public static final Opcode.Kind OPERATOR
    • CONSTANT

      public static final Opcode.Kind CONSTANT
    • MONITOR

      public static final Opcode.Kind MONITOR
    • NOP

      public static final Opcode.Kind NOP
    • UNSUPPORTED

      public static final Opcode.Kind UNSUPPORTED
  • Method Details

    • values

      public static Opcode.Kind[] 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.Kind 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