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 long
OFFSET_OF_REFERENCE_INDEX
private static long
OFFSET_OF_REFERENCE_KIND
private int
referenceIndex
private MethodHandleBehaviour
referenceKind
-
Constructor Summary
Constructors Constructor Description ConstantPoolEntryMethodHandle(ConstantPool cp, ByteData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dump(Dumper d)
ConstantPoolEntryFieldRef
getFieldRef()
java.lang.String
getLiteralName()
ConstantPoolEntryMethodRef
getMethodRef()
long
getRawByteLength()
MethodHandleBehaviour
getReferenceKind()
boolean
isFieldRef()
java.lang.String
toString()
-
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:
toString
in classjava.lang.Object
-
-