Package org.jf.smali
Class SmaliMethodParameter
java.lang.Object
org.jf.dexlib2.base.reference.BaseReference
org.jf.dexlib2.base.reference.BaseTypeReference
org.jf.dexlib2.base.BaseMethodParameter
org.jf.smali.SmaliMethodParameter
- All Implemented Interfaces:
CharSequence,Comparable<CharSequence>,LocalInfo,MethodParameter,Reference,TypeReference,WithRegister
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jf.dexlib2.iface.reference.Reference
Reference.InvalidReferenceException -
Field Summary
FieldsModifier and TypeFieldDescriptionSet<? extends Annotation> static final Comparator<WithRegister> final intfinal String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<? extends Annotation> Gets a set of the annotations that are applied to this parameter.getName()Gets the name of this parameter, if available.intGets the signature of this parameter, if available.getType()The type of this method parameter.Methods inherited from class org.jf.dexlib2.base.reference.BaseTypeReference
charAt, compareTo, equals, hashCode, length, subSequence, toStringMethods inherited from class org.jf.dexlib2.base.reference.BaseReference
validateReferenceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
charAt, chars, codePoints, isEmpty, length, subSequence, toStringMethods inherited from interface org.jf.dexlib2.iface.reference.Reference
validateReferenceMethods inherited from interface org.jf.dexlib2.iface.reference.TypeReference
compareTo, equals, hashCode
-
Field Details
-
register
public final int register -
type
-
annotations
-
name
-
COMPARATOR
-
-
Constructor Details
-
SmaliMethodParameter
-
-
Method Details
-
getRegister
public int getRegister()- Specified by:
getRegisterin interfaceWithRegister
-
getType
Description copied from interface:MethodParameterThe type of this method parameter. This may be any type, including primitive or array types, other than the void (V) type.- Specified by:
getTypein interfaceLocalInfo- Specified by:
getTypein interfaceMethodParameter- Specified by:
getTypein interfaceTypeReference- Returns:
- The type of this method parameter
-
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.- Specified by:
getAnnotationsin interfaceMethodParameter- Returns:
- A set of the annotations that are applied to this parameter
-
getName
Description copied from interface:MethodParameterGets the name of this parameter, if available.- Specified by:
getNamein interfaceLocalInfo- Specified by:
getNamein interfaceMethodParameter- Returns:
- The name of this parameter, or null if the name is not available.
-
getSignature
Description copied from interface:MethodParameterGets 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:
getSignaturein interfaceLocalInfo- Specified by:
getSignaturein interfaceMethodParameter- Overrides:
getSignaturein classBaseMethodParameter- Returns:
- The signature of this parameter, or null if not available
-