AnnotatedElementpublic static class CommandLine.Model.MethodParam extends AccessibleObject
| Constructor | Description |
|---|---|
MethodParam(Method method,
int paramIndex) |
| Modifier and Type | Method | 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() |
canAccess, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent, setAccessible, trySetAccessiblepublic 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 AccessibleObjectSecurityExceptionCopyright © 2017–2019. All rights reserved.