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
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation(Class<T> annotationClass) getName()Class<?>getType()booleanvoidsetAccessible(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:
getAnnotationin interfaceAnnotatedElement- Overrides:
getAnnotationin classAccessibleObject
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotationsin interfaceAnnotatedElement- Overrides:
getDeclaredAnnotationsin classAccessibleObject
-
setAccessible
- Overrides:
setAccessiblein classAccessibleObject- Throws:
SecurityException
-
isAccessible
- Overrides:
isAccessiblein classAccessibleObject- Throws:
SecurityException
-
toString
-