public interface

IDexCallSite

implements IDexItem
com.pnfsoftware.jeb.core.units.code.android.dex.IDexCallSite

Class Overview

A Dex call site item. Do not confuse with Java's CallSite - although the two are related.

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem
Public Methods
abstract String generate(boolean effective)
Generate a string representing the call site.
abstract IDexValue getCallSiteValue(int index)
Get a value stored in this call site item.
abstract List<IDexValue> getCallSiteValues()
Get the list of linker method (bootstrap method) arguments.
abstract IDexString getDynamicMethodName()
Get the method name.
abstract int getDynamicMethodNameIndex()
Convenience method to retrieve the target method name hint.
abstract IDexPrototype getDynamicMethodPrototype()
Get the method prototype.
abstract int getDynamicMethodPrototypeIndex()
Convenience method to retrieve the target method prototype.
abstract IDexMethodHandle getLinkerMethodHandle()
abstract int getLinkerMethodHandleIndex()
Convenience method to retrieve the bootstrap method handle.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem
From interface com.pnfsoftware.jeb.core.units.code.android.dex.IDexItem

Public Methods

public abstract String generate (boolean effective)

Generate a string representing the call site.

public abstract IDexValue getCallSiteValue (int index)

Get a value stored in this call site item.

public abstract List<IDexValue> 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

public abstract IDexString getDynamicMethodName ()

Get the method name.

public abstract int getDynamicMethodNameIndex ()

Convenience method to retrieve the target method name hint. Get the second value entry, which is an index into the string pool.

public abstract IDexPrototype getDynamicMethodPrototype ()

Get the method prototype.

public abstract int getDynamicMethodPrototypeIndex ()

Convenience method to retrieve the target method prototype. Get the third value entry, which is an index into the prototypes pool.

public abstract IDexMethodHandle getLinkerMethodHandle ()

public abstract int getLinkerMethodHandleIndex ()

Convenience method to retrieve the bootstrap method handle. Get the first value entry, which is an index into the method handles pool.