com.pnfsoftware.jeb.core.units.code.ICodeMethod |
Known Indirect Subclasses
IDexMethod |
This interface represents a DEX method_id_item object, that is, a reference to an
internal or external method used in the dex. |
INativeMethodItem |
|
|
Class Overview
Interface representing a method.
Summary
[Expand]
Inherited Methods |
From interface
com.pnfsoftware.jeb.core.units.code.ICodeItem
abstract
String
|
getAddress()
Get the item address.
|
abstract
String
|
getAddress(boolean effective)
Get the item address.
|
abstract
int
|
getGenericFlags()
Get the canonicalized generic flags for that code item.
|
abstract
int
|
getIndex()
Get the item index.
|
abstract
long
|
getItemId()
Get the item identifier.
|
abstract
String
|
getName(boolean effective)
Get the item simple name.
|
abstract
String
|
getName()
Get the item name.
|
abstract
String
|
getSignature(boolean effective)
Get the item signature.
|
abstract
String
|
getSignature()
Get the item signature.
|
abstract
String
|
getSignature(boolean effective, boolean internal)
Get the item signature.
|
abstract
boolean
|
isArtificial()
Determine if the item was part of the original code unit, or was added after processing
complete (eg, by a third-party client).
|
abstract
boolean
|
isInternal()
Determine if the item is internal or external.
|
|
Public Methods
public
abstract
ICodeType
getClassType
()
Get the type of the class holding this method. This method will return null if the method is
class-less (example, a native sub-routine not contained in any class).
Returns
- the class type, null if unknown
public
abstract
List<? extends IInstruction>
getInstructions
()
Get the list of instructions of the method's body.
Returns
- null if the method has no body; else, a list (possibly empty) of instructions
public
abstract
List<? extends ICodeType>
getParameterTypes
()
Get the method's parameters list.
Returns
- the parameter types, null if unknown
public
abstract
ICodeType
getReturnType
()
Get the method's return type.
Returns
- the return type, null if unknown