Class ConstantPool.Entry

java.lang.Object
com.strobel.assembler.ir.ConstantPool.Entry
Direct Known Subclasses:
ConstantPool.ConstantEntry, ConstantPool.InvokeDynamicInfoEntry, ConstantPool.MethodHandleEntry, ConstantPool.MethodTypeEntry, ConstantPool.NameAndTypeDescriptorEntry, ConstantPool.ReferenceEntry, ConstantPool.TypeInfoEntry
Enclosing class:
ConstantPool

public abstract static class ConstantPool.Entry extends Object
  • Field Details

    • index

      public final int index
    • owner

      protected final ConstantPool owner
  • Constructor Details

  • Method Details

    • fixupKey

      abstract void fixupKey(ConstantPool.Key key)
    • getTag

      public abstract ConstantPool.Tag getTag()
    • size

      public int size()
      The number of slots in the constant pool used by this entry. 2 for DoubleConstantEntry and LongConstantEntry; 1 for everything else.
    • byteLength

      public abstract int byteLength()
    • accept

      public abstract void accept(ConstantPool.Visitor visitor)