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 doublevalue-
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 voidaccept(ConstantPool.Visitor visitor)intbyteLength()(package private) voidfixupKey(ConstantPool.Key key)java.lang.ObjectgetConstantValue()ConstantPool.TaggetTag()intsize()The number of slots in the constant pool used by this entry.java.lang.StringtoString()
-
-
-
Constructor Detail
-
DoubleConstantEntry
public DoubleConstantEntry(ConstantPool owner, double value)
-
-
Method Detail
-
fixupKey
void fixupKey(ConstantPool.Key key)
- Specified by:
fixupKeyin classConstantPool.Entry
-
getTag
public ConstantPool.Tag getTag()
- Specified by:
getTagin classConstantPool.Entry
-
size
public int size()
Description copied from class:ConstantPool.EntryThe number of slots in the constant pool used by this entry. 2 for DoubleConstantEntry and LongConstantEntry; 1 for everything else.- Overrides:
sizein classConstantPool.Entry
-
byteLength
public int byteLength()
- Specified by:
byteLengthin classConstantPool.Entry
-
accept
public void accept(ConstantPool.Visitor visitor)
- Specified by:
acceptin classConstantPool.Entry
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getConstantValue
public java.lang.Object getConstantValue()
- Specified by:
getConstantValuein classConstantPool.ConstantEntry
-
-