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, setAccessible
public 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 AnnotatedElement
getAnnotation
in class AccessibleObject
public Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface AnnotatedElement
getDeclaredAnnotations
in class AccessibleObject
public void setAccessible(boolean flag) throws SecurityException
setAccessible
in class AccessibleObject
SecurityException
public boolean isAccessible() throws SecurityException
isAccessible
in class AccessibleObject
SecurityException