Package com.strobel.reflection.emit
Class ConstantPool.DoubleConstant
- java.lang.Object
-
- com.strobel.reflection.emit.ConstantPool.Entry
-
- com.strobel.reflection.emit.ConstantPool.DoubleConstant
-
- Enclosing class:
- ConstantPool
public static final class ConstantPool.DoubleConstant extends ConstantPool.Entry
-
-
Field Summary
Fields Modifier and Type Field Description double
value
-
Fields inherited from class com.strobel.reflection.emit.ConstantPool.Entry
index, owner
-
-
Constructor Summary
Constructors Constructor Description DoubleConstant(ConstantPool owner, double value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,D>
Raccept(ConstantPool.Visitor<R,D> visitor, D data)
int
byteLength()
ConstantPool.Tag
getTag()
int
size()
The number of slots in the constant pool used by this entry.java.lang.String
toString()
-
-
-
Constructor Detail
-
DoubleConstant
public DoubleConstant(ConstantPool owner, double value)
-
-
Method Detail
-
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 DoubleConstant and LongConstant; 1 for everything else.- Overrides:
size
in classConstantPool.Entry
-
byteLength
public int byteLength()
- Specified by:
byteLength
in classConstantPool.Entry
-
accept
public <R,D> R accept(ConstantPool.Visitor<R,D> visitor, D data)
- Specified by:
accept
in classConstantPool.Entry
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-