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