Package com.strobel.assembler.ir
Class ConstantPool.LongConstantEntry
- java.lang.Object
-
- com.strobel.assembler.ir.ConstantPool.Entry
-
- com.strobel.assembler.ir.ConstantPool.ConstantEntry
-
- com.strobel.assembler.ir.ConstantPool.LongConstantEntry
-
- Enclosing class:
- ConstantPool
public static final class ConstantPool.LongConstantEntry extends ConstantPool.ConstantEntry
-
-
Field Summary
Fields Modifier and Type Field Description long
value
-
Fields inherited from class com.strobel.assembler.ir.ConstantPool.Entry
index, owner
-
-
Constructor Summary
Constructors Constructor Description LongConstantEntry(ConstantPool owner, long value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ConstantPool.Visitor visitor)
int
byteLength()
(package private) void
fixupKey(ConstantPool.Key key)
java.lang.Object
getConstantValue()
ConstantPool.Tag
getTag()
int
size()
The number of slots in the constant pool used by this entry.java.lang.String
toString()
-
-
-
Constructor Detail
-
LongConstantEntry
public LongConstantEntry(ConstantPool owner, long value)
-
-
Method Detail
-
fixupKey
void fixupKey(ConstantPool.Key key)
- Specified by:
fixupKey
in classConstantPool.Entry
-
getTag
public ConstantPool.Tag getTag()
- Specified by:
getTag
in classConstantPool.Entry
-
byteLength
public int byteLength()
- Specified by:
byteLength
in classConstantPool.Entry
-
size
public int size()
Description copied from class:ConstantPool.Entry
The number of slots in the constant pool used by this entry. 2 for DoubleConstantEntry and LongConstantEntry; 1 for everything else.- Overrides:
size
in classConstantPool.Entry
-
accept
public void accept(ConstantPool.Visitor visitor)
- Specified by:
accept
in classConstantPool.Entry
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getConstantValue
public java.lang.Object getConstantValue()
- Specified by:
getConstantValue
in classConstantPool.ConstantEntry
-
-