Package picocli
Interface CommandLine.Model.IAnnotatedElement
-
- Enclosing class:
- CommandLine.Model
public static interface CommandLine.Model.IAnnotatedElementInternal interface to allow annotation processors to construct a command model at compile time.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends java.lang.annotation.Annotation>
TgetAnnotation(java.lang.Class<T> annotationClass)intgetMethodParamPosition()java.lang.StringgetMixinName()java.lang.StringgetName()CommandLine.Model.IGettergetter()java.lang.StringgetToString()CommandLine.Model.ITypeInfogetTypeInfo()booleanhasInitialValue()booleanisAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)booleanisArgGroup()booleanisArgSpec()booleanisInteractive()booleanisMethodParameter()booleanisMixin()booleanisMultiValue()booleanisOption()booleanisParameter()booleanisParentCommand()booleanisSpec()booleanisUnmatched()CommandLine.Model.IScopescope()CommandLine.Model.ISettersetter()java.lang.ObjectuserObject()
-
-
-
Method Detail
-
userObject
java.lang.Object userObject()
-
isAnnotationPresent
boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
-
getAnnotation
<T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
-
getName
java.lang.String getName()
-
getMixinName
java.lang.String getMixinName()
-
isArgSpec
boolean isArgSpec()
-
isOption
boolean isOption()
-
isParameter
boolean isParameter()
-
isArgGroup
boolean isArgGroup()
-
isMixin
boolean isMixin()
-
isUnmatched
boolean isUnmatched()
-
isSpec
boolean isSpec()
-
isParentCommand
boolean isParentCommand()
-
isMultiValue
boolean isMultiValue()
-
isInteractive
boolean isInteractive()
-
hasInitialValue
boolean hasInitialValue()
-
isMethodParameter
boolean isMethodParameter()
-
getMethodParamPosition
int getMethodParamPosition()
-
scope
CommandLine.Model.IScope scope()
-
getter
CommandLine.Model.IGetter getter()
-
setter
CommandLine.Model.ISetter setter()
-
getTypeInfo
CommandLine.Model.ITypeInfo getTypeInfo()
-
getToString
java.lang.String getToString()
-
-