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
-
Field Summary
FieldsFields inherited from class ConstantPool.Entry
index, owner -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ConstantPool.Visitor visitor) int(package private) voidfixupKey(ConstantPool.Key key) getTag()intsize()The number of slots in the constant pool used by this entry.toString()
-
Field Details
-
value
public final double value
-
-
Constructor Details
-
DoubleConstantEntry
-
-
Method Details
-
fixupKey
- Specified by:
fixupKeyin classConstantPool.Entry
-
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
- Specified by:
acceptin classConstantPool.Entry
-
toString
-
getConstantValue
- Specified by:
getConstantValuein classConstantPool.ConstantEntry
-