Interface IDexMethodHandle

All Superinterfaces:
ICodeItem, IDexItem

public interface IDexMethodHandle extends IDexItem
A Dex method handle pool item. Do not confuse with Java's MethodHandle, although the two are related.
  • Method Details

    • getMethodHandleType

      DexMethodHandleType getMethodHandleType()
      Get the method handle type.
      Returns:
      the method handle type
    • getFieldOrMethodIndex

      int getFieldOrMethodIndex()
      Get a pool index to the handle entity: either a IDexMethod or a IDexField.
      Returns:
      a field or method index
    • generate

      String generate(boolean effective)
      Generate a string representing the method handle.
      Parameters:
      effective - true to use effective names, false to use original names
      Returns:
      a generated method handle string