Enum Class StackMap.EntryType

java.lang.Object
java.lang.Enum<StackMap.EntryType>
org.openjdk.asmtools.common.structure.StackMap.EntryType
All Implemented Interfaces:
Serializable, Comparable<StackMap.EntryType>, Constable
Enclosing class:
StackMap

public static enum StackMap.EntryType extends Enum<StackMap.EntryType>
StackMap-FrameType table. These constants are used in stackmap pseudo-instructions only.
  • Enum Constant Details

  • Field Details

    • tagNameToFrameType

      private static HashMap<String, StackMap.EntryType> tagNameToFrameType
    • tagRange

      private final Range<Integer> tagRange
    • tagName

      private final String tagName
    • localMap

      private final boolean localMap
    • stackMap

      private final boolean stackMap
    • fields

      private final boolean fields
  • Constructor Details

    • EntryType

      private EntryType(int from, int to, String tagName, boolean localMap, boolean stackMap, boolean fields)
  • Method Details

    • values

      public static StackMap.EntryType[] 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 StackMap.EntryType 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
    • hasLocalMap

      public boolean hasLocalMap()
    • hasStackMap

      public boolean hasStackMap()
    • hasFields

      public boolean hasFields()
    • getByTagName

      public static StackMap.EntryType getByTagName(String tagName)
    • getByTag

      public static StackMap.EntryType getByTag(int tag)
    • fromTag

      public int fromTag()
    • tagName

      public String tagName()
    • printName

      public String printName()
    • inRange

      public boolean inRange(int tag)
    • isValid

      public static boolean isValid(int tag)
      Checks if the tag belongs to range of valid Frame Types
      Parameters:
      tag -
      Returns:
      true if the tag does not belong to a range either of UNKNOWN_TYPE or RESERVED