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) JavaTypeInstancecachedDecodedType(package private) intclassIndex(package private) intnameAndTypeIndexprivate static longOFFSET_OF_CLASS_INDEXprivate static longOFFSET_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 voiddump(Dumper d)ConstantPoolEntryClassgetClassEntry()JavaTypeInstancegetJavaTypeInstance()java.lang.StringgetLocalName()ConstantPoolEntryNameAndTypegetNameAndTypeEntry()longgetRawByteLength()StackTypegetStackType()java.lang.StringtoString()-
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:
toStringin classjava.lang.Object
-
-