Class BuilderMethodReference
java.lang.Object
org.jf.dexlib2.base.reference.BaseReference
org.jf.dexlib2.base.reference.BaseMethodReference
org.jf.dexlib2.writer.builder.BuilderMethodReference
- All Implemented Interfaces:
Comparable<MethodReference>, MethodReference, Reference, BuilderReference
-
Nested Class Summary
Nested classes/interfaces inherited from interface Reference
Reference.InvalidReferenceException -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final BuilderTypeReference(package private) int(package private) final BuilderStringReference(package private) final BuilderMethodProtoReference -
Constructor Summary
ConstructorsConstructorDescriptionBuilderMethodReference(BuilderTypeReference definingClass, BuilderStringReference name, BuilderMethodProtoReference proto) -
Method Summary
Methods inherited from class BaseMethodReference
compareTo, equals, hashCode, toStringMethods inherited from class BaseReference
validateReferenceMethods inherited from interface Reference
validateReference
-
Field Details
-
definingClass
-
name
-
proto
-
index
int index
-
-
Constructor Details
-
BuilderMethodReference
BuilderMethodReference(@Nonnull BuilderTypeReference definingClass, @Nonnull BuilderStringReference name, @Nonnull BuilderMethodProtoReference proto)
-
-
Method Details
-
getDefiningClass
Description copied from interface:MethodReferenceGets the type of the class that defines the referenced method.- Specified by:
getDefiningClassin interfaceMethodReference- Returns:
- The type of the class that defines the referenced method
-
getName
Description copied from interface:MethodReferenceGets the name of the referenced method.- Specified by:
getNamein interfaceMethodReference- Returns:
- The name of the referenced method
-
getParameterTypes
Description copied from interface:MethodReferenceGets a list of the types of the parameters of this method.- Specified by:
getParameterTypesin interfaceMethodReference- Returns:
- A list of the parameter types of this method, as strings.
-
getReturnType
Description copied from interface:MethodReferenceGets the return type of the referenced method.- Specified by:
getReturnTypein interfaceMethodReference- Returns:
- The return type of the referenced method.
-
getIndex
public int getIndex()- Specified by:
getIndexin interfaceBuilderReference
-
setIndex
public void setIndex(int index) - Specified by:
setIndexin interfaceBuilderReference
-