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 intclassIndexprivate static VariableNamerfakeNamerprivate booleaninterfaceMethodprivate MethodPrototypemethodPrototypeprivate intnameAndTypeIndexprivate static longOFFSET_OF_CLASS_INDEXprivate static longOFFSET_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 voiddump(Dumper d)ConstantPoolEntryClassgetClassEntry()ConstantPoolgetCp()MethodPrototypegetMethodPrototype()java.lang.StringgetName()ConstantPoolEntryNameAndTypegetNameAndTypeEntry()longgetRawByteLength()booleanisInitMethod()java.lang.StringtoString()
-
-
-
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:
getCpin classAbstractConstantPoolEntry
-
toString
public java.lang.String toString()
- Overrides:
toStringin 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()
-
-