Package nz.org.riskscape.picocli
Class CommandLine.Model.MethodParam
java.lang.Object
java.lang.reflect.AccessibleObject
nz.org.riskscape.picocli.CommandLine.Model.MethodParam
- All Implemented Interfaces:
AnnotatedElement
- Enclosing class:
- CommandLine.Model
Command method parameter, similar to java.lang.reflect.Parameter (not available before Java 8).
- Since:
- 4.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation
(Class<T> annotationClass) getName()
Class<?>
getType()
boolean
void
setAccessible
(boolean flag) toString()
Methods inherited from class java.lang.reflect.AccessibleObject
canAccess, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent, setAccessible, trySetAccessible
-
Constructor Details
-
MethodParam
-
-
Method Details
-
getParameterizedType
-
getName
-
getType
-
getDeclaringExecutable
-
getAnnotation
- Specified by:
getAnnotation
in interfaceAnnotatedElement
- Overrides:
getAnnotation
in classAccessibleObject
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotations
in interfaceAnnotatedElement
- Overrides:
getDeclaredAnnotations
in classAccessibleObject
-
setAccessible
- Overrides:
setAccessible
in classAccessibleObject
- Throws:
SecurityException
-
isAccessible
- Overrides:
isAccessible
in classAccessibleObject
- Throws:
SecurityException
-
toString
-