Package org.jf.dexlib2.writer.builder
Class BuilderMethodProtoReference
java.lang.Object
org.jf.dexlib2.base.reference.BaseReference
org.jf.dexlib2.base.reference.BaseMethodProtoReference
org.jf.dexlib2.writer.builder.BuilderMethodProtoReference
- All Implemented Interfaces:
Comparable<MethodProtoReference>,MethodProtoReference,Reference,BuilderReference
public class BuilderMethodProtoReference
extends BaseMethodProtoReference
implements MethodProtoReference, BuilderReference
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jf.dexlib2.iface.reference.Reference
Reference.InvalidReferenceException -
Field Summary
FieldsModifier and TypeFieldDescription(package private) int(package private) final BuilderTypeList(package private) final BuilderTypeReference(package private) final BuilderStringReference -
Constructor Summary
ConstructorsConstructorDescriptionBuilderMethodProtoReference(BuilderStringReference shorty, BuilderTypeList parameterTypes, BuilderTypeReference returnType) -
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()List<? extends CharSequence> Gets a list of the types of the parameters of this method prototype.Gets the return type of the referenced method prototype.voidsetIndex(int index) Methods inherited from class org.jf.dexlib2.base.reference.BaseMethodProtoReference
compareTo, equals, hashCode, toStringMethods inherited from class org.jf.dexlib2.base.reference.BaseReference
validateReferenceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jf.dexlib2.iface.reference.MethodProtoReference
compareTo, equals, hashCodeMethods inherited from interface org.jf.dexlib2.iface.reference.Reference
validateReference
-
Field Details
-
shorty
-
parameterTypes
-
returnType
-
index
int index
-
-
Constructor Details
-
BuilderMethodProtoReference
public BuilderMethodProtoReference(@Nonnull BuilderStringReference shorty, @Nonnull BuilderTypeList parameterTypes, @Nonnull BuilderTypeReference returnType)
-
-
Method Details
-
getParameterTypes
Description copied from interface:MethodProtoReferenceGets a list of the types of the parameters of this method prototype.- Specified by:
getParameterTypesin interfaceMethodProtoReference- Returns:
- A list of the parameter types of this method prototype, as strings.
-
getReturnType
Description copied from interface:MethodProtoReferenceGets the return type of the referenced method prototype.- Specified by:
getReturnTypein interfaceMethodProtoReference- Returns:
- The return type of the referenced method prototype.
-
getIndex
public int getIndex()- Specified by:
getIndexin interfaceBuilderReference
-
setIndex
public void setIndex(int index) - Specified by:
setIndexin interfaceBuilderReference
-