Class DexBackedMethodHandleReference
java.lang.Object
org.jf.dexlib2.base.reference.BaseReference
org.jf.dexlib2.base.reference.BaseMethodHandleReference
org.jf.dexlib2.dexbacked.reference.DexBackedMethodHandleReference
- All Implemented Interfaces:
Comparable<MethodHandleReference>,MethodHandleReference,Reference
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jf.dexlib2.iface.reference.Reference
Reference.InvalidReferenceException -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDexBackedMethodHandleReference(DexBackedDexFile dexFile, int methodHandleIndex) -
Method Summary
Modifier and TypeMethodDescriptionGets the member that is being referenced by this method handle.intGets the method handle type.voidVerifies that this reference is valid.Methods inherited from class org.jf.dexlib2.base.reference.BaseMethodHandleReference
compareTo, equals, hashCode, toString
-
Field Details
-
dexFile
-
methodHandleIndex
public final int methodHandleIndex -
methodHandleOffset
public final int methodHandleOffset
-
-
Constructor Details
-
DexBackedMethodHandleReference
-
-
Method Details
-
getMethodHandleType
public int getMethodHandleType()Description copied from interface:MethodHandleReferenceGets the method handle type.- Returns:
- One of the MethodHandleType values
-
getMemberReference
Description copied from interface:MethodHandleReferenceGets the member that is being referenced by this method handle.- Returns:
- A MethodReference or FieldReference, depending on the method handle type
-
validateReference
Description copied from interface:ReferenceVerifies that this reference is valid.- Specified by:
validateReferencein interfaceReference- Overrides:
validateReferencein classBaseReference- Throws:
Reference.InvalidReferenceException- If the reference is not valid.
-