Class ConstantPoolEntryMethodHandle
- java.lang.Object
-
- org.benf.cfr.reader.entities.AbstractConstantPoolEntry
-
- org.benf.cfr.reader.entities.constantpool.ConstantPoolEntryMethodHandle
-
- All Implemented Interfaces:
ConstantPoolEntry
public class ConstantPoolEntryMethodHandle 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 static longOFFSET_OF_REFERENCE_INDEXprivate static longOFFSET_OF_REFERENCE_KINDprivate intreferenceIndexprivate MethodHandleBehaviourreferenceKind
-
Constructor Summary
Constructors Constructor Description ConstantPoolEntryMethodHandle(ConstantPool cp, ByteData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddump(Dumper d)ConstantPoolEntryFieldRefgetFieldRef()java.lang.StringgetLiteralName()ConstantPoolEntryMethodRefgetMethodRef()longgetRawByteLength()MethodHandleBehaviourgetReferenceKind()booleanisFieldRef()java.lang.StringtoString()-
Methods inherited from class org.benf.cfr.reader.entities.AbstractConstantPoolEntry
getCp
-
-
-
-
Field Detail
-
OFFSET_OF_REFERENCE_KIND
private static final long OFFSET_OF_REFERENCE_KIND
- See Also:
- Constant Field Values
-
OFFSET_OF_REFERENCE_INDEX
private static final long OFFSET_OF_REFERENCE_INDEX
- See Also:
- Constant Field Values
-
referenceKind
private final MethodHandleBehaviour referenceKind
-
referenceIndex
private final int referenceIndex
-
-
Constructor Detail
-
ConstantPoolEntryMethodHandle
public ConstantPoolEntryMethodHandle(ConstantPool cp, ByteData data)
-
-
Method Detail
-
getRawByteLength
public long getRawByteLength()
-
dump
public void dump(Dumper d)
-
getReferenceKind
public MethodHandleBehaviour getReferenceKind()
-
getMethodRef
public ConstantPoolEntryMethodRef getMethodRef()
-
getFieldRef
public ConstantPoolEntryFieldRef getFieldRef()
-
isFieldRef
public boolean isFieldRef()
-
getLiteralName
public java.lang.String getLiteralName()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-