Package com.strobel.assembler.ir
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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
accept
(ConstantPool.Visitor visitor) abstract int
(package private) abstract void
fixupKey
(ConstantPool.Key key) abstract ConstantPool.Tag
getTag()
int
size()
The number of slots in the constant pool used by this entry.
-
Field Details
-
index
public final int index -
owner
-
-
Constructor Details
-
Entry
Entry(ConstantPool owner)
-
-
Method Details
-
fixupKey
-
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
-