Class ConstantPoolEntryFieldRef
- java.lang.Object
-
- org.benf.cfr.reader.entities.AbstractConstantPoolEntry
-
- org.benf.cfr.reader.entities.constantpool.ConstantPoolEntryFieldRef
-
- All Implemented Interfaces:
ConstantPoolEntry
public class ConstantPoolEntryFieldRef extends AbstractConstantPoolEntry
-
-
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 (package private) JavaTypeInstance
cachedDecodedType
(package private) int
classIndex
(package private) int
nameAndTypeIndex
private static long
OFFSET_OF_CLASS_INDEX
private static long
OFFSET_OF_NAME_AND_TYPE_INDEX
-
Constructor Summary
Constructors Constructor Description ConstantPoolEntryFieldRef(ConstantPool cp, ByteData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dump(Dumper d)
ConstantPoolEntryClass
getClassEntry()
JavaTypeInstance
getJavaTypeInstance()
java.lang.String
getLocalName()
ConstantPoolEntryNameAndType
getNameAndTypeEntry()
long
getRawByteLength()
StackType
getStackType()
java.lang.String
toString()
-
Methods inherited from class org.benf.cfr.reader.entities.AbstractConstantPoolEntry
getCp
-
-
-
-
Field Detail
-
OFFSET_OF_CLASS_INDEX
private static final long OFFSET_OF_CLASS_INDEX
- See Also:
- Constant Field Values
-
OFFSET_OF_NAME_AND_TYPE_INDEX
private static final long OFFSET_OF_NAME_AND_TYPE_INDEX
- See Also:
- Constant Field Values
-
classIndex
final int classIndex
-
nameAndTypeIndex
final int nameAndTypeIndex
-
cachedDecodedType
JavaTypeInstance cachedDecodedType
-
-
Constructor Detail
-
ConstantPoolEntryFieldRef
public ConstantPoolEntryFieldRef(ConstantPool cp, ByteData data)
-
-
Method Detail
-
getRawByteLength
public long getRawByteLength()
-
dump
public void dump(Dumper d)
-
getClassEntry
public ConstantPoolEntryClass getClassEntry()
-
getNameAndTypeEntry
public ConstantPoolEntryNameAndType getNameAndTypeEntry()
-
getLocalName
public java.lang.String getLocalName()
-
getJavaTypeInstance
public JavaTypeInstance getJavaTypeInstance()
-
getStackType
public StackType getStackType()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-