Enum Class StackMap.FrameType

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

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

  • Field Details

  • Constructor Details

    • FrameType

      private FrameType(int from, int to, String tagName)
  • Method Details

    • values

      public static StackMap.FrameType[] 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.FrameType 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
    • getByTagName

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

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

      public int fromTag()
    • tagName

      public String tagName()
    • printName

      public String printName()
    • tagRange

      public Range<Integer> tagRange()
    • 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