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 int
getIndex()
java.util.List<? extends java.lang.CharSequence>
getParameterTypes()
Gets a list of the types of the parameters of this method prototype.java.lang.String
getReturnType()
Gets the return type of the referenced method prototype.void
setIndex(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:MethodProtoReference
Gets a list of the types of the parameters of this method prototype.- Specified by:
getParameterTypes
in 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:MethodProtoReference
Gets the return type of the referenced method prototype.- Specified by:
getReturnType
in interfaceMethodProtoReference
- Returns:
- The return type of the referenced method prototype.
-
getIndex
public int getIndex()
- Specified by:
getIndex
in interfaceBuilderReference
-
setIndex
public void setIndex(int index)
- Specified by:
setIndex
in interfaceBuilderReference
-
-