Package org.jf.dexlib2.rewriter
Class MethodParameterRewriter.RewrittenMethodParameter
- java.lang.Object
-
- org.jf.dexlib2.base.reference.BaseReference
-
- org.jf.dexlib2.base.reference.BaseTypeReference
-
- org.jf.dexlib2.base.BaseMethodParameter
-
- org.jf.dexlib2.rewriter.MethodParameterRewriter.RewrittenMethodParameter
-
- All Implemented Interfaces:
java.lang.CharSequence
,java.lang.Comparable<java.lang.CharSequence>
,LocalInfo
,MethodParameter
,Reference
,TypeReference
- Enclosing class:
- MethodParameterRewriter
protected class MethodParameterRewriter.RewrittenMethodParameter extends BaseMethodParameter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jf.dexlib2.iface.reference.Reference
Reference.InvalidReferenceException
-
-
Field Summary
Fields Modifier and Type Field Description protected MethodParameter
methodParameter
-
Constructor Summary
Constructors Constructor Description RewrittenMethodParameter(MethodParameter methodParameter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<? extends Annotation>
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
getSignature()
Gets the signature of this parameter, if available.java.lang.String
getType()
The type of this method parameter.-
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
-
-
-
-
Field Detail
-
methodParameter
@Nonnull protected MethodParameter methodParameter
-
-
Constructor Detail
-
RewrittenMethodParameter
public RewrittenMethodParameter(@Nonnull MethodParameter methodParameter)
-
-
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
-
getAnnotations
@Nonnull public java.util.Set<? extends Annotation> 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
-
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.
-
getSignature
@Nullable public java.lang.String getSignature()
Description copied from interface:MethodParameter
Gets the signature of this parameter, if available. The signature of a parameter is defined to be the concatenated version of the dalvik.annotation.Signature annotation applied to this parameter, or null if there is no dalvik.annotation.Signature annotation.- Specified by:
getSignature
in interfaceLocalInfo
- Specified by:
getSignature
in interfaceMethodParameter
- Overrides:
getSignature
in classBaseMethodParameter
- Returns:
- The signature of this parameter, or null if not available
-
-