Package org.kohsuke.args4j.spi
Class AnnotationImpl
- java.lang.Object
-
- org.kohsuke.args4j.spi.AnnotationImpl
-
- All Implemented Interfaces:
java.lang.annotation.Annotation
- Direct Known Subclasses:
ArgumentImpl,OptionImpl
public abstract class AnnotationImpl extends java.lang.Object implements java.lang.annotation.AnnotationBase class for the @Option and @Argument implementation classes.- Author:
- Jan Materne
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String[]aliasesjava.lang.Class<? extends OptionHandler>handlerbooleanhelpbooleanhiddenintindexjava.lang.StringmetaVarbooleanmultiValuedbooleanrequiredjava.lang.Stringusage
-
Constructor Summary
Constructors Modifier Constructor Description protectedAnnotationImpl(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)protectedAnnotationImpl(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, ConfigElement ce)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]aliases()java.lang.Class<? extends java.lang.annotation.Annotation>annotationType()java.lang.Class<? extends OptionHandler>handler()booleanhelp()booleanhidden()intindex()java.lang.StringmetaVar()booleanmultiValued()booleanrequired()java.lang.Stringusage()
-
-
-
Field Detail
-
aliases
public java.lang.String[] aliases
-
handler
public java.lang.Class<? extends OptionHandler> handler
-
metaVar
public java.lang.String metaVar
-
multiValued
public boolean multiValued
-
required
public boolean required
-
help
public boolean help
-
hidden
public boolean hidden
-
usage
public java.lang.String usage
-
index
public int index
-
-
Constructor Detail
-
AnnotationImpl
protected AnnotationImpl(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
-
AnnotationImpl
protected AnnotationImpl(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, ConfigElement ce) throws java.lang.ClassNotFoundException- Throws:
java.lang.ClassNotFoundException
-
-
Method Detail
-
aliases
public java.lang.String[] aliases()
-
handler
public java.lang.Class<? extends OptionHandler> handler()
-
metaVar
public java.lang.String metaVar()
-
multiValued
public boolean multiValued()
-
required
public boolean required()
-
help
public boolean help()
-
hidden
public boolean hidden()
-
usage
public java.lang.String usage()
-
annotationType
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
- Specified by:
annotationTypein interfacejava.lang.annotation.Annotation
-
index
public int index()
-
-