Class ConstantPoolEntryInteger
- java.lang.Object
-
- org.benf.cfr.reader.entities.AbstractConstantPoolEntry
-
- org.benf.cfr.reader.entities.constantpool.ConstantPoolEntryInteger
-
- All Implemented Interfaces:
ConstantPoolEntry
,ConstantPoolEntryLiteral
public class ConstantPoolEntryInteger extends AbstractConstantPoolEntry implements ConstantPoolEntryLiteral
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.benf.cfr.reader.entities.constantpool.ConstantPoolEntry
ConstantPoolEntry.Type
-
-
Field Summary
Fields Modifier and Type Field Description private static long
OFFSET_OF_BYTES
private int
value
-
Constructor Summary
Constructors Constructor Description ConstantPoolEntryInteger(ConstantPool cp, ByteData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dump(Dumper d)
long
getRawByteLength()
StackType
getStackType()
int
getValue()
java.lang.String
toString()
-
Methods inherited from class org.benf.cfr.reader.entities.AbstractConstantPoolEntry
getCp
-
-
-
-
Field Detail
-
OFFSET_OF_BYTES
private static final long OFFSET_OF_BYTES
- See Also:
- Constant Field Values
-
value
private final int value
-
-
Constructor Detail
-
ConstantPoolEntryInteger
public ConstantPoolEntryInteger(ConstantPool cp, ByteData data)
-
-
Method Detail
-
getRawByteLength
public long getRawByteLength()
- Specified by:
getRawByteLength
in interfaceConstantPoolEntry
-
dump
public void dump(Dumper d)
- Specified by:
dump
in interfaceConstantPoolEntry
-
getValue
public int getValue()
-
getStackType
public StackType getStackType()
- Specified by:
getStackType
in interfaceConstantPoolEntryLiteral
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-