public static class CommandLine.Model.MethodParam extends AccessibleObject
| Constructor and Description |
|---|
MethodParam(Method method,
int paramIndex) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getDeclaredAnnotations() |
Method |
getDeclaringExecutable() |
String |
getName() |
Type |
getParameterizedType() |
Class<?> |
getType() |
boolean |
isAccessible() |
void |
setAccessible(boolean flag) |
String |
toString() |
getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent, setAccessiblepublic MethodParam(Method method, int paramIndex)
public Type getParameterizedType()
public String getName()
public Class<?> getType()
public Method getDeclaringExecutable()
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation in interface AnnotatedElementgetAnnotation in class AccessibleObjectpublic Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotatedElementgetDeclaredAnnotations in class AccessibleObjectpublic void setAccessible(boolean flag)
throws SecurityException
setAccessible in class AccessibleObjectSecurityExceptionpublic boolean isAccessible()
throws SecurityException
isAccessible in class AccessibleObjectSecurityException