Enum Class StorageEntry.Type

java.lang.Object
java.lang.Enum<StorageEntry.Type>
com.pnfsoftware.jeb.core.units.code.asm.type.StorageEntry.Type
All Implemented Interfaces:
Serializable, Comparable<StorageEntry.Type>, Constable
Enclosing class:
StorageEntry

@Ser public static enum StorageEntry.Type extends Enum<StorageEntry.Type>
Type of storage requirements (on the stack, in registers, etc.).
  • Enum Constant Details

    • STACK

      public static final StorageEntry.Type STACK
      An entry located on the stack; it can be any slot length
    • REGISTER

      public static final StorageEntry.Type REGISTER
      An single-slot storage entry located in a register
    • REGISTER_PAIR

      public static final StorageEntry.Type REGISTER_PAIR
      Special value for double-slot entries located in a register pairs
    • REGISTER_QUAD

      public static final StorageEntry.Type REGISTER_QUAD
      Special value for quad-slot entries located in 4 registers
    • MIXED

      public static final StorageEntry.Type MIXED
      A mixed storage area if made of (in order): one or more REGISTER entries, followed by an optional STACK entry.
  • Method Details

    • values

      public static StorageEntry.Type[] 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 StorageEntry.Type 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