Package org.kohsuke.args4j.spi
Class AnnotationImpl
java.lang.Object
org.kohsuke.args4j.spi.AnnotationImpl
- All Implemented Interfaces:
Annotation
- Direct Known Subclasses:
ArgumentImpl
,OptionImpl
Base class for the @Option and @Argument implementation classes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionString[]
private final Class
<? extends Annotation> Class
<? extends OptionHandler> boolean
boolean
int
boolean
boolean
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AnnotationImpl
(Class<? extends Annotation> annotationType) protected
AnnotationImpl
(Class<? extends Annotation> annotationType, ConfigElement ce) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.annotation.Annotation
equals, hashCode, toString
-
Field Details
-
annotationType
-
aliases
-
handler
-
metaVar
-
multiValued
public boolean multiValued -
required
public boolean required -
help
public boolean help -
usage
-
index
public int index
-
-
Constructor Details
-
AnnotationImpl
-
AnnotationImpl
protected AnnotationImpl(Class<? extends Annotation> annotationType, ConfigElement ce) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
-
Method Details
-
aliases
-
handler
-
metaVar
-
multiValued
public boolean multiValued() -
required
public boolean required() -
help
public boolean help() -
usage
-
annotationType
- Specified by:
annotationType
in interfaceAnnotation
-
index
public int index()
-