Class DexBackedCallSiteReference
java.lang.Object
org.jf.dexlib2.base.reference.BaseReference
org.jf.dexlib2.base.reference.BaseCallSiteReference
org.jf.dexlib2.dexbacked.reference.DexBackedCallSiteReference
- All Implemented Interfaces:
CallSiteReference,Reference
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jf.dexlib2.iface.reference.Reference
Reference.InvalidReferenceException -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate EncodedArrayItemIteratorprivate intList<? extends EncodedValue> Gets a reference to a method handle for the bootstrap linker methodgetName()Gets a name for this call site.voidVerifies that this reference is valid.Methods inherited from class org.jf.dexlib2.base.reference.BaseCallSiteReference
equals, hashCode, toString
-
Field Details
-
dexFile
-
callSiteIndex
public final int callSiteIndex -
callSiteIdOffset
public final int callSiteIdOffset -
callSiteOffset
private int callSiteOffset
-
-
Constructor Details
-
DexBackedCallSiteReference
-
-
Method Details
-
getName
Description copied from interface:CallSiteReferenceGets a name for this call site. This is an arbitrary synthetic string that serves to differentiate call sites that would otherwise be identical. It can be any arbitrary string, with the only requirement being that 2 different, but otherwise identical call sites in the same dex file must not share the same name. Multiple non-identical call sites may use the same name however.- Returns:
- The name for this call site.
-
getMethodHandle
Description copied from interface:CallSiteReferenceGets a reference to a method handle for the bootstrap linker method- Returns:
- A MethodHandleReference to the bootstrap linker method
-
getMethodName
- Returns:
- A method name that the bootstrap linker should resolve.
-
getMethodProto
- Returns:
- A MethodProtoReference corresponding to the prototype of the method that the bootstrap linker should resolve
-
getExtraArguments
- Returns:
- A list of extra arguments to pass to the bootstrap linker
-
getCallSiteIterator
-
getCallSiteOffset
private int getCallSiteOffset() -
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.
-