Package picocli
Interface CommandLine.Model.IAnnotatedElement
-
- Enclosing class:
- CommandLine.Model
public static interface CommandLine.Model.IAnnotatedElement
Internal 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)
int
getMethodParamPosition()
java.lang.String
getMixinName()
java.lang.String
getName()
CommandLine.Model.IGetter
getter()
java.lang.String
getToString()
CommandLine.Model.ITypeInfo
getTypeInfo()
boolean
hasInitialValue()
boolean
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
boolean
isArgGroup()
boolean
isArgSpec()
boolean
isInteractive()
boolean
isMethodParameter()
boolean
isMixin()
boolean
isMultiValue()
boolean
isOption()
boolean
isParameter()
boolean
isParentCommand()
boolean
isSpec()
boolean
isUnmatched()
CommandLine.Model.IScope
scope()
CommandLine.Model.ISetter
setter()
java.lang.Object
userObject()
-
-
-
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()
-
-