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:
CharSequence, Comparable<CharSequence>, LocalInfo, MethodParameter, Reference, TypeReference
-
Nested Class Summary
Nested classes/interfaces inherited from interface Reference
Reference.InvalidReferenceException -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final BuilderAnnotationSet(package private) final BuilderStringReference(package private) final BuilderTypeReference -
Constructor Summary
ConstructorsConstructorDescriptionBuilderMethodParameter(BuilderTypeReference type, BuilderStringReference name, BuilderAnnotationSet annotations) -
Method Summary
Methods inherited from class BaseMethodParameter
getSignatureMethods inherited from class BaseTypeReference
charAt, compareTo, equals, hashCode, length, subSequence, toStringMethods inherited from class BaseReference
validateReferenceMethods inherited from interface CharSequence
charAt, chars, codePoints, getChars, isEmpty, length, subSequence, toStringMethods inherited from interface Reference
validateReferenceMethods inherited from interface TypeReference
compareTo, equals, hashCode
-
Field Details
-
type
-
name
-
annotations
-
-
Constructor Details
-
BuilderMethodParameter
public BuilderMethodParameter(@Nonnull BuilderTypeReference type, @Nullable BuilderStringReference name, @Nonnull BuilderAnnotationSet annotations)
-
-
Method Details
-
getType
Description copied from interface:TypeReferenceGets the string representation of the referenced type. The returned string will be a TypeDescriptor, as defined in the dex file specification- Returns:
- The string representation of the referenced type.
-
getName
Description copied from interface:MethodParameterGets the name of this parameter, if available.- Returns:
- The name of this parameter, or null if the name is not available.
-
getAnnotations
Description copied from interface:MethodParameterGets 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
-