Class ConstantPoolEntryMethodRef
- java.lang.Object
-
- org.benf.cfr.reader.entities.AbstractConstantPoolEntry
-
- org.benf.cfr.reader.entities.constantpool.ConstantPoolEntryMethodRef
-
- All Implemented Interfaces:
ConstantPoolEntry
public class ConstantPoolEntryMethodRef 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 private int
classIndex
private static VariableNamer
fakeNamer
private boolean
interfaceMethod
private MethodPrototype
methodPrototype
private int
nameAndTypeIndex
private static long
OFFSET_OF_CLASS_INDEX
private static long
OFFSET_OF_NAME_AND_TYPE_INDEX
-
Constructor Summary
Constructors Constructor Description ConstantPoolEntryMethodRef(ConstantPool cp, ByteData data, boolean interfaceMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dump(Dumper d)
ConstantPoolEntryClass
getClassEntry()
ConstantPool
getCp()
MethodPrototype
getMethodPrototype()
java.lang.String
getName()
ConstantPoolEntryNameAndType
getNameAndTypeEntry()
long
getRawByteLength()
boolean
isInitMethod()
java.lang.String
toString()
-
-
-
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
-
interfaceMethod
private final boolean interfaceMethod
-
fakeNamer
private static final VariableNamer fakeNamer
-
methodPrototype
private MethodPrototype methodPrototype
-
classIndex
private final int classIndex
-
nameAndTypeIndex
private final int nameAndTypeIndex
-
-
Constructor Detail
-
ConstantPoolEntryMethodRef
public ConstantPoolEntryMethodRef(ConstantPool cp, ByteData data, boolean interfaceMethod)
-
-
Method Detail
-
getRawByteLength
public long getRawByteLength()
-
dump
public void dump(Dumper d)
-
getCp
public ConstantPool getCp()
- Overrides:
getCp
in classAbstractConstantPoolEntry
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getClassEntry
public ConstantPoolEntryClass getClassEntry()
-
getNameAndTypeEntry
public ConstantPoolEntryNameAndType getNameAndTypeEntry()
-
getMethodPrototype
public MethodPrototype getMethodPrototype()
-
getName
public java.lang.String getName()
-
isInitMethod
public boolean isInitMethod()
-
-