Package org.jf.dexlib2.writer.builder
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:
java.lang.Comparable<MethodReference>
,MethodReference
,Reference
,BuilderReference
public class BuilderMethodReference extends BaseMethodReference implements BuilderReference
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jf.dexlib2.iface.reference.Reference
Reference.InvalidReferenceException
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDefiningClass()
Gets the type of the class that defines the referenced method.int
getIndex()
java.lang.String
getName()
Gets the name of the referenced method.BuilderTypeList
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.void
setIndex(int index)
-
Methods inherited from class org.jf.dexlib2.base.reference.BaseMethodReference
compareTo, equals, hashCode, toString
-
Methods inherited from class org.jf.dexlib2.base.reference.BaseReference
validateReference
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jf.dexlib2.iface.reference.Reference
validateReference
-
-
-
-
Method Detail
-
getDefiningClass
@Nonnull public java.lang.String getDefiningClass()
Description copied from interface:MethodReference
Gets the type of the class that defines the referenced method.- Specified by:
getDefiningClass
in interfaceMethodReference
- Returns:
- The type of the class that defines the referenced method
-
getName
@Nonnull public java.lang.String getName()
Description copied from interface:MethodReference
Gets the name of the referenced method.- Specified by:
getName
in interfaceMethodReference
- Returns:
- The name of the referenced method
-
getParameterTypes
@Nonnull public BuilderTypeList getParameterTypes()
Description copied from interface:MethodReference
Gets a list of the types of the parameters of this method.- Specified by:
getParameterTypes
in interfaceMethodReference
- Returns:
- A list of the parameter types of this method, as strings.
-
getReturnType
@Nonnull public java.lang.String getReturnType()
Description copied from interface:MethodReference
Gets the return type of the referenced method.- Specified by:
getReturnType
in interfaceMethodReference
- Returns:
- The return type of the referenced method.
-
getIndex
public int getIndex()
- Specified by:
getIndex
in interfaceBuilderReference
-
setIndex
public void setIndex(int index)
- Specified by:
setIndex
in interfaceBuilderReference
-
-