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.StringgetDefiningClass()Gets the type of the class that defines the referenced method.intgetIndex()java.lang.StringgetName()Gets the name of the referenced method.BuilderTypeListgetParameterTypes()Gets a list of the types of the parameters of this method.java.lang.StringgetReturnType()Gets the return type of the referenced method.voidsetIndex(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: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
@Nonnull public java.lang.String getName()
Description copied from interface:MethodReferenceGets the name of the referenced method.- Specified by:
getNamein interfaceMethodReference- Returns:
- The name of the referenced method
-
getParameterTypes
@Nonnull public BuilderTypeList 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
@Nonnull public java.lang.String 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
-
-