public class DexMethod
extends java.lang.Object
This class represents a DEX method_id_item
object.
DexMethodData
Modifier and Type | Method and Description |
---|---|
int |
getClassTypeIndex()
Get the containing class type index.
|
int |
getIndex()
Get the index of this item in the DEX file's method list
|
java.lang.String |
getName()
Get the effective name for this method.
|
java.lang.String |
getName(boolean effective)
Get the name for this method.
|
int |
getNameIndex()
Get the method name index.
|
int |
getPrototypeIndex()
Get the method prototype index.
|
java.lang.String |
getSignature(boolean effective)
Get the signature for this method.
|
public int getIndex()
public int getClassTypeIndex()
Get the containing class type index.
public int getPrototypeIndex()
Get the method prototype index.
public int getNameIndex()
Get the method name index.
public java.lang.String getName()
Get the effective name for this method.
Equivalent to getName(true)
.
public java.lang.String getName(boolean effective)
Get the name for this method.
effective
- true to get the effective (current) name, false to get the original namepublic java.lang.String getSignature(boolean effective)
Get the signature for this method.
effective
- true to get the effective (current) signature, false to get the original one