| Modifier and Type | Field and Description |
|---|---|
| pack-priv final AnnotationInfo[] | annotationInfo
The annotation info. |
| private final MethodInfo | methodInfo
The containing method. |
| private final int | modifiers
The modifiers. |
| private final String | name
The parameter name. |
| private ScanResult | scanResult
The scan result. |
| private final TypeSignature | typeDescriptor
The type descriptor. |
| private final TypeSignature | typeSignature
The type signature. |
| Access | Constructor and Description |
|---|---|
| pack-priv | MethodParameterInfo(final MethodInfo
The methodInfo, final AnnotationInfo[] MethodInfo for the defining method.AnnotationInfo for any annotations on this method parameter.The method parameter modifiers. modifiers, final TypeSignature The method parameter type descriptor. typeDescriptor, final TypeSignature The method parameter type signature. typeSignature, final String The method parameter name. name)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public AnnotationInfoList | Returns: AnnotationInfo for any annotations on this method parameter.Method parameter annotation info (or null if no annotations). |
| public AnnotationInfo | Returns: AnAnnotationInfo object representing the annotation on this method parameter, or null if the
method parameter does not have the annotation.The annotation. annotation)Get a the non- |
| public AnnotationInfo | Returns: AnAnnotationInfo object representing the named annotation on this method parameter, or null
if the method parameter does not have the named annotation.The annotation name. annotationName)Get a the named non- |
| public AnnotationInfoList | Returns: AnAnnotationInfoList containing all instances of the annotation on this method parameter, or
the empty list if the method parameter does not have the annotation.The annotation. annotation)Get a the |
| public AnnotationInfoList | Returns: AnAnnotationInfoList containing all instances of the named annotation on this method
parameter, or the empty list if the method parameter does not have the named annotation.The annotation name. annotationName)Get a the named |
| public MethodInfo | Returns: TheMethodInfo for the defining method.Get the |
| public int | |
| public String | Returns: The modifiers for the method parameter, as a String.Get the method parameter modifiers as a String, e.g. "final". |
| public String | |
| public TypeSignature | |
| public TypeSignature | Returns: The method type signature, if available, else null.Method parameter type signature, possibly including generic type information (or null if no type signature information available for this parameter). |
| public TypeSignature | Returns: The method type signature, if present, otherwise the method type descriptor.Method parameter type signature, or if not available, method type descriptor. |
| public boolean | Returns: true if this method parameter has the annotation.The annotation. annotation)Check whether this method parameter has the annotation. |
| public boolean | Returns: true if this method parameter has the named annotation.The name of an annotation. annotationName)Check whether this method parameter has the named annotation. |
| public int | |
| public boolean | Returns: True if this method parameter is final.Returns true if this method parameter is final. |
| public boolean | Returns: True if this method parameter is mandated.Returns true if this method parameter is mandated. |
| public boolean | Returns: True if this method parameter is synthetic.Returns true if this method parameter is synthetic. |
| pack-priv static void | modifiersToString(final int
The field or method modifiers. modifiers, final StringBuilder The buffer to write the result into. buf)Convert modifiers into a string representation, e.g. "public static final". |
| protected void | |
| protected void | toString(final boolean
if true, use just the simple name of each class. useSimpleNames, final StringBuilder the buf buf)Render to string. |
| public String | |
| public String | Returns: the string representation.Render to string with simple names for classes. |
| annotationInfo | back to summary |
|---|---|
| pack-priv final AnnotationInfo[] annotationInfo The annotation info. | |
| methodInfo | back to summary |
|---|---|
| private final MethodInfo methodInfo The containing method. | |
| modifiers | back to summary |
|---|---|
| private final int modifiers The modifiers. | |
| name | back to summary |
|---|---|
| private final String name The parameter name. | |
| scanResult | back to summary |
|---|---|
| private ScanResult scanResult The scan result. | |
| typeDescriptor | back to summary |
|---|---|
| private final TypeSignature typeDescriptor The type descriptor. | |
| typeSignature | back to summary |
|---|---|
| private final TypeSignature typeSignature The type signature. | |
| MethodParameterInfo | back to summary |
|---|---|
| pack-priv MethodParameterInfo(final MethodInfo methodInfo, final AnnotationInfo[] annotationInfo, final int modifiers, final TypeSignature typeDescriptor, final TypeSignature typeSignature, final String name) Constructor.
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAnnotationInfo | back to summary |
|---|---|
| public AnnotationInfoList getAnnotationInfo() Method parameter annotation info (or null if no annotations).
| |
| getAnnotationInfo | back to summary |
|---|---|
| public AnnotationInfo getAnnotationInfo(final Class<? extends Annotation> annotation) Get a the non-
| |
| getAnnotationInfo | back to summary |
|---|---|
| public AnnotationInfo getAnnotationInfo(final String annotationName) Get a the named non-
| |
| getAnnotationInfoRepeatable | back to summary |
|---|---|
| public AnnotationInfoList getAnnotationInfoRepeatable(final Class<? extends Annotation> annotation) Get a the
| |
| getAnnotationInfoRepeatable | back to summary |
|---|---|
| public AnnotationInfoList getAnnotationInfoRepeatable(final String annotationName) Get a the named
| |
| getMethodInfo | back to summary |
|---|---|
| public MethodInfo getMethodInfo() Get the
| |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Method parameter modifiers. May be zero, if no modifier bits set, or if compiled for JDK version lower than 8, or if compiled for JDK version 8+ but without the commandline switch `-parameters`.
| |
| getModifiersStr | back to summary |
|---|---|
| public String getModifiersStr() Get the method parameter modifiers as a String, e.g. "final". For the modifier bits, call
| |
| getName | back to summary |
|---|---|
| public String getName() Method parameter name. May be null, for unnamed parameters (e.g. synthetic parameters), or if compiled for JDK version lower than 8, or if compiled for JDK version 8+ but without the commandline switch `-parameters`.
| |
| getTypeDescriptor | back to summary |
|---|---|
| public TypeSignature getTypeDescriptor() Method parameter type descriptor.
| |
| getTypeSignature | back to summary |
|---|---|
| public TypeSignature getTypeSignature() Method parameter type signature, possibly including generic type information (or null if no type signature information available for this parameter).
| |
| getTypeSignatureOrTypeDescriptor | back to summary |
|---|---|
| public TypeSignature getTypeSignatureOrTypeDescriptor() Method parameter type signature, or if not available, method type descriptor.
| |
| hasAnnotation | back to summary |
|---|---|
| public boolean hasAnnotation(final Class<? extends Annotation> annotation) Check whether this method parameter has the annotation.
| |
| hasAnnotation | back to summary |
|---|---|
| public boolean hasAnnotation(final String annotationName) Check whether this method parameter has the named annotation.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isFinal | back to summary |
|---|---|
| public boolean isFinal() Returns true if this method parameter is final.
| |
| isMandated | back to summary |
|---|---|
| public boolean isMandated() Returns true if this method parameter is mandated.
| |
| isSynthetic | back to summary |
|---|---|
| public boolean isSynthetic() Returns true if this method parameter is synthetic.
| |
| modifiersToString | back to summary |
|---|---|
| pack-priv static void modifiersToString(final int modifiers, final StringBuilder buf) Convert modifiers into a string representation, e.g. "public static final".
| |
| setScanResult | back to summary |
|---|---|
| protected void setScanResult(final ScanResult scanResult) Sets the scan result.
| |
| toString | back to summary |
|---|---|
| protected void toString(final boolean useSimpleNames, final StringBuilder buf) Render to string.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Render to string. | |
| toStringWithSimpleNames | back to summary |
|---|---|
| public String toStringWithSimpleNames() Render to string with simple names for classes.
| |