Interface IDexCallSite
A Dex call site item. Do not confuse with Java's
CallSite
- although the two are related.-
Field Summary
Fields inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeItem
FLAG_ABSTRACT, FLAG_ANNOTATION, FLAG_ANONYMOUS, FLAG_ARTIFICIAL, FLAG_BRIDGE, FLAG_CONSTRUCTOR, FLAG_DECLARED_SYNCHRONIZED, FLAG_DESTRUCTOR, FLAG_ENUM, FLAG_FINAL, FLAG_INNER, FLAG_INTERFACE, FLAG_INTERNAL, FLAG_NATIVE, FLAG_PRIVATE, FLAG_PROTECTED, FLAG_PUBLIC, FLAG_STATIC, FLAG_STRICT, FLAG_SYNCHRONIZED, FLAG_SYNTHETIC, FLAG_TRANSIENT, FLAG_VARARGS, FLAG_VIRTUAL, FLAG_VOLATILE
-
Method Summary
Modifier and TypeMethodDescriptiongenerate
(boolean effective) Generate a string representing the call site.getCallSiteValue
(int index) Get a value stored in this call site item.Get the list of linker method (bootstrap method) arguments.Get the method name.int
Convenience method to retrieve the target method name hint.Get the method prototype.int
Convenience method to retrieve the target method prototype.int
Convenience method to retrieve the bootstrap method handle.Methods inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeItem
getAddress, getAddress, getGenericFlags, getIndex, getItemId, getName, getName, getSignature, getSignature, getSignature, isArtificial, isInternal
-
Method Details
-
getCallSiteValues
Get the list of linker method (bootstrap method) arguments. The provided list contains at least 3 entries; the first three entries are: a method handle to the bootstrap method, a dynamic method name, a dynamic method type (prototype).- Returns:
- a list containing at least 3 entries
-
getCallSiteValue
Get a value stored in this call site item.- Parameters:
index
-- Returns:
-
getLinkerMethodHandleIndex
int getLinkerMethodHandleIndex()Convenience method to retrieve the bootstrap method handle. Get the first value entry, which is an index into the method handles pool.- Returns:
-
getLinkerMethodHandle
IDexMethodHandle getLinkerMethodHandle() -
getDynamicMethodNameIndex
int getDynamicMethodNameIndex()Convenience method to retrieve the target method name hint. Get the second value entry, which is an index into the string pool.- Returns:
-
getDynamicMethodName
IDexString getDynamicMethodName()Get the method name.- Returns:
-
getDynamicMethodPrototypeIndex
int getDynamicMethodPrototypeIndex()Convenience method to retrieve the target method prototype. Get the third value entry, which is an index into the prototypes pool.- Returns:
-
getDynamicMethodPrototype
IDexPrototype getDynamicMethodPrototype()Get the method prototype.- Returns:
-
generate
Generate a string representing the call site.- Parameters:
effective
-- Returns:
-