Package com.android.dexdeps
Class MethodRef
- java.lang.Object
-
- com.android.dexdeps.MethodRef
-
- All Implemented Interfaces:
HasDeclaringClass
public class MethodRef extends java.lang.Object implements HasDeclaringClass
-
-
Constructor Summary
Constructors Constructor Description MethodRef(java.lang.String declClass, java.lang.String[] argTypes, java.lang.String returnType, java.lang.String methodName)Initializes a new field reference.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.String[]getArgumentTypeNames()Gets an array of method argument types.java.lang.StringgetDeclClassName()Gets the name of the method's declaring class.java.lang.StringgetDescriptor()Gets the method's descriptor.java.lang.StringgetName()Gets the method's name.java.lang.StringgetReturnTypeName()Gets the method's return type.inthashCode()
-
-
-
Constructor Detail
-
MethodRef
public MethodRef(java.lang.String declClass, java.lang.String[] argTypes, java.lang.String returnType, java.lang.String methodName)
Initializes a new field reference.
-
-
Method Detail
-
getDeclClassName
public java.lang.String getDeclClassName()
Gets the name of the method's declaring class.- Specified by:
getDeclClassNamein interfaceHasDeclaringClass
-
getDescriptor
public java.lang.String getDescriptor()
Gets the method's descriptor.
-
getName
public java.lang.String getName()
Gets the method's name.
-
getArgumentTypeNames
public java.lang.String[] getArgumentTypeNames()
Gets an array of method argument types.
-
getReturnTypeName
public java.lang.String getReturnTypeName()
Gets the method's return type. Examples: "Ljava/lang/String;", "[I".
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-