Class Indexer

java.lang.Object
org.openjdk.asmtools.jasm.Indexer
Direct Known Subclasses:
BootstrapMethodData, CodeAttr.Local, ConstCell

public class Indexer extends Object
Indexer a position starting from 0 of a constant cell in the Constant Pool. Also, the class is used to hold uninitialized (isSet == false) and initialized (isSet == true) indexes,counters: max_stack, max_locals, Trap.start_pc, Trap.end_pc
  • Field Details

    • NotSet

      public static final int NotSet
      See Also:
    • cpIndex

      protected int cpIndex
  • Constructor Details

    • Indexer

      Indexer()
    • Indexer

      Indexer(int cpIndex)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isSet

      boolean isSet()
    • inRange

      boolean inRange(int index)
    • value

      public int value()