Package com.strobel.assembler.ir
Class ConstantPool.DoubleConstantEntry
- java.lang.Object
-
- com.strobel.assembler.ir.ConstantPool.Entry
-
- com.strobel.assembler.ir.ConstantPool.ConstantEntry
-
- com.strobel.assembler.ir.ConstantPool.DoubleConstantEntry
-
- Enclosing class:
- ConstantPool
public static final class ConstantPool.DoubleConstantEntry extends ConstantPool.ConstantEntry
-
-
Field Summary
Fields Modifier and Type Field Description double
value
-
Fields inherited from class com.strobel.assembler.ir.ConstantPool.Entry
index, owner
-
-
Constructor Summary
Constructors Constructor Description DoubleConstantEntry(ConstantPool owner, double 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
-
DoubleConstantEntry
public DoubleConstantEntry(ConstantPool owner, double 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
-
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
-
byteLength
public int byteLength()
- Specified by:
byteLength
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
-
-