public class MethodParameterInfo extends Object
Constructor | Description |
---|---|
MethodParameterInfo(AnnotationInfo[] annotationInfo,
int modifiers,
TypeSignature typeDescriptor,
TypeSignature typeSignature,
String methodParameterName) |
Modifier and Type | Method | Description |
---|---|---|
AnnotationInfo[] |
getAnnotationInfo() |
Method parameter annotation info (or null if no annotations).
|
int |
getModifiers() |
Method parameter modifiers.
|
String |
getName() |
Method parameter name.
|
TypeSignature |
getTypeDescriptor() |
Method parameter type descriptor.
|
TypeSignature |
getTypeSignature() |
Method parameter type signature, possibly including generic type information (or null if no type signature
information available for this parameter).
|
TypeSignature |
getTypeSignatureOrTypeDescriptor() |
Method parameter type signature, or if not available, method type descriptor.
|
public MethodParameterInfo(AnnotationInfo[] annotationInfo, int modifiers, TypeSignature typeDescriptor, TypeSignature typeSignature, String methodParameterName)
annotationInfo
- AnnotationInfo
for any annotations on this method parameter.modifiers
- The method parameter modifiers.typeDescriptor
- The method parameter type descriptor.typeSignature
- The method parameter type signature.methodParameterName
- The method parameter name.public String getName()
public int getModifiers()
public TypeSignature getTypeDescriptor()
public TypeSignature getTypeSignatureOrTypeDescriptor()
public TypeSignature getTypeSignature()
public AnnotationInfo[] getAnnotationInfo()
AnnotationInfo
for any annotations on this method parameter.Copyright © 2018. All rights reserved.