Package org.jf.dexlib2.writer.builder
Class BuilderMethodParameter
- java.lang.Object
-
- org.jf.dexlib2.base.reference.BaseReference
-
- org.jf.dexlib2.base.reference.BaseTypeReference
-
- org.jf.dexlib2.base.BaseMethodParameter
-
- org.jf.dexlib2.writer.builder.BuilderMethodParameter
-
- All Implemented Interfaces:
java.lang.CharSequence
,java.lang.Comparable<java.lang.CharSequence>
,LocalInfo
,MethodParameter
,Reference
,TypeReference
public class BuilderMethodParameter extends BaseMethodParameter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jf.dexlib2.iface.reference.Reference
Reference.InvalidReferenceException
-
-
Constructor Summary
Constructors Constructor Description BuilderMethodParameter(BuilderTypeReference type, BuilderStringReference name, BuilderAnnotationSet annotations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuilderAnnotationSet
getAnnotations()
Gets a set of the annotations that are applied to this parameter.java.lang.String
getName()
Gets the name of this parameter, if available.java.lang.String
getType()
The type of this method parameter.-
Methods inherited from class org.jf.dexlib2.base.BaseMethodParameter
getSignature
-
Methods inherited from class org.jf.dexlib2.base.reference.BaseTypeReference
charAt, compareTo, equals, hashCode, length, subSequence, 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 java.lang.CharSequence
charAt, chars, codePoints, length, subSequence, toString
-
Methods inherited from interface org.jf.dexlib2.iface.reference.Reference
validateReference
-
Methods inherited from interface org.jf.dexlib2.iface.reference.TypeReference
compareTo, equals, hashCode
-
-
-
-
Constructor Detail
-
BuilderMethodParameter
public BuilderMethodParameter(@Nonnull BuilderTypeReference type, @Nullable BuilderStringReference name, @Nonnull BuilderAnnotationSet annotations)
-
-
Method Detail
-
getType
@Nonnull public java.lang.String getType()
Description copied from interface:MethodParameter
The type of this method parameter. This may be any type, including primitive or array types, other than the void (V) type.- Returns:
- The type of this method parameter
-
getName
@Nullable public java.lang.String getName()
Description copied from interface:MethodParameter
Gets the name of this parameter, if available.- Returns:
- The name of this parameter, or null if the name is not available.
-
getAnnotations
@Nonnull public BuilderAnnotationSet getAnnotations()
Description copied from interface:MethodParameter
Gets a set of the annotations that are applied to this parameter. The annotations in the returned set are guaranteed to have unique types.- Returns:
- A set of the annotations that are applied to this parameter
-
-