Class ConstantPoolEntryClass
- java.lang.Object
-
- org.benf.cfr.reader.entities.AbstractConstantPoolEntry
-
- org.benf.cfr.reader.entities.constantpool.ConstantPoolEntryClass
-
- All Implemented Interfaces:
ConstantPoolEntry
,ConstantPoolEntryLiteral
public class ConstantPoolEntryClass 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 (package private) JavaTypeInstance
javaTypeInstance
(package private) int
nameIndex
private static long
OFFSET_OF_NAME_INDEX
-
Constructor Summary
Constructors Constructor Description ConstantPoolEntryClass(ConstantPool cp, ByteData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private JavaTypeInstance
convertFromString(java.lang.String rawType)
void
dump(Dumper d)
private java.lang.String
getClassNameString(int index)
java.lang.String
getFilePath()
long
getRawByteLength()
StackType
getStackType()
java.lang.String
getTextPath()
JavaTypeInstance
getTypeInstance()
JavaTypeInstance
getTypeInstanceKnownInner(ConstantPoolEntryClass inner)
JavaTypeInstance
getTypeInstanceKnownOuter(ConstantPoolEntryClass outer)
java.lang.String
toString()
-
Methods inherited from class org.benf.cfr.reader.entities.AbstractConstantPoolEntry
getCp
-
-
-
-
Field Detail
-
OFFSET_OF_NAME_INDEX
private static final long OFFSET_OF_NAME_INDEX
- See Also:
- Constant Field Values
-
nameIndex
final int nameIndex
-
javaTypeInstance
transient JavaTypeInstance javaTypeInstance
-
-
Constructor Detail
-
ConstantPoolEntryClass
public ConstantPoolEntryClass(ConstantPool cp, ByteData data)
-
-
Method Detail
-
getRawByteLength
public long getRawByteLength()
- Specified by:
getRawByteLength
in interfaceConstantPoolEntry
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getTextPath
public java.lang.String getTextPath()
-
getFilePath
public java.lang.String getFilePath()
-
getClassNameString
private java.lang.String getClassNameString(int index)
-
dump
public void dump(Dumper d)
- Specified by:
dump
in interfaceConstantPoolEntry
-
convertFromString
private JavaTypeInstance convertFromString(java.lang.String rawType)
-
getTypeInstance
public JavaTypeInstance getTypeInstance()
-
getTypeInstanceKnownOuter
public JavaTypeInstance getTypeInstanceKnownOuter(ConstantPoolEntryClass outer)
-
getTypeInstanceKnownInner
public JavaTypeInstance getTypeInstanceKnownInner(ConstantPoolEntryClass inner)
-
getStackType
public StackType getStackType()
- Specified by:
getStackType
in interfaceConstantPoolEntryLiteral
-
-