Interface IDexMethodHandle
A Dex method handle pool item. Do not confuse with Java's
MethodHandle
, 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 method handle.int
Get a pool index to the handle entity: either aIDexMethod
or aIDexField
.Get the method handle type.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
-
getMethodHandleType
DexMethodHandleType getMethodHandleType()Get the method handle type.- Returns:
-
getFieldOrMethodIndex
int getFieldOrMethodIndex()Get a pool index to the handle entity: either aIDexMethod
or aIDexField
.- Returns:
- a field or method index
-
generate
Generate a string representing the method handle.- Parameters:
effective
-- Returns:
-