public class DexBackedMethodReference extends BaseMethodReference
Reference.InvalidReferenceException| Modifier and Type | Field and Description |
|---|---|
DexBackedDexFile |
dexFile |
| Constructor and Description |
|---|
DexBackedMethodReference(DexBackedDexFile dexFile,
int methodIndex) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefiningClass()
Gets the type of the class that defines the referenced method.
|
java.lang.String |
getName()
Gets the name of the referenced method.
|
java.util.List<java.lang.String> |
getParameterTypes()
Gets a list of the types of the parameters of this method.
|
java.lang.String |
getReturnType()
Gets the return type of the referenced method.
|
int |
getSize()
Calculate and return the private size of a method reference.
|
void |
validateReference()
Verifies that this reference is valid.
|
compareTo, equals, hashCode, toString@Nonnull public final DexBackedDexFile dexFile
public DexBackedMethodReference(@Nonnull
DexBackedDexFile dexFile,
int methodIndex)
@Nonnull public java.lang.String getDefiningClass()
MethodReference@Nonnull public java.lang.String getName()
MethodReference@Nonnull public java.util.List<java.lang.String> getParameterTypes()
MethodReference@Nonnull public java.lang.String getReturnType()
MethodReferencepublic int getSize()
public void validateReference()
throws Reference.InvalidReferenceException
ReferencevalidateReference in interface ReferencevalidateReference in class BaseReferenceReference.InvalidReferenceException - If the reference is not valid.