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:
java.lang.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
-
-
Constructor Summary
Constructors Constructor Description BuilderMethodProtoReference(BuilderStringReference shorty, BuilderTypeList parameterTypes, BuilderTypeReference returnType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndex()java.util.List<? extends java.lang.CharSequence>getParameterTypes()Gets a list of the types of the parameters of this method prototype.java.lang.StringgetReturnType()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, 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.MethodProtoReference
compareTo, equals, hashCode
-
Methods inherited from interface org.jf.dexlib2.iface.reference.Reference
validateReference
-
-
-
-
Constructor Detail
-
BuilderMethodProtoReference
public BuilderMethodProtoReference(@Nonnull BuilderStringReference shorty, @Nonnull BuilderTypeList parameterTypes, @Nonnull BuilderTypeReference returnType)
-
-
Method Detail
-
getParameterTypes
@Nonnull public java.util.List<? extends java.lang.CharSequence> 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
@Nonnull public java.lang.String 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
-
-