Top Description Fields Constructors Methods
org.kohsuke.args4j.spi

public abstract Class AnnotationImpl

extends Object
implements Annotation
Class Inheritance
All Implemented Interfaces
java.lang.annotation.Annotation
Known Direct Subclasses
org.kohsuke.args4j.spi.ArgumentImpl, org.kohsuke.args4j.spi.OptionImpl
Imports
java.lang.annotation.Annotation, java.util.Arrays

Base class for the @Option and @Argument implementation classes.
Author
Jan Materne

Field Summary

Modifier and TypeField and Description
public String[]
private final Class<? extends Annotation>
public Class<? extends OptionHandler<T>>
public boolean
public boolean
public int
public String
public boolean
public boolean
public String

Constructor Summary

AccessConstructor and Description
protected
AnnotationImpl(Class<? extends Annotation> annotationType)

protected
AnnotationImpl(Class<? extends Annotation> annotationType, ConfigElement ce)

Method Summary

Modifier and TypeMethod and Description
public String[]
public Class<? extends Annotation>
annotationType()

Implements java.lang.annotation.Annotation.annotationType.

Returns the annotation interface of this annotation.

public Class<? extends OptionHandler<T>>
public boolean
help()

public boolean
public int
public String
public boolean
public boolean
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

aliasesback to summary
public String[] aliases
annotationTypeback to summary
private final Class<? extends Annotation> annotationType
handlerback to summary
public Class<? extends OptionHandler<T>> handler
helpback to summary
public boolean help
hiddenback to summary
public boolean hidden
indexback to summary
public int index
metaVarback to summary
public String metaVar
multiValuedback to summary
public boolean multiValued
requiredback to summary
public boolean required
usageback to summary
public String usage

Constructor Detail

AnnotationImplback to summary
protected AnnotationImpl(Class<? extends Annotation> annotationType)
AnnotationImplback to summary
protected AnnotationImpl(Class<? extends Annotation> annotationType, ConfigElement ce) throws ClassNotFoundException

Method Detail

aliasesback to summary
public String[] aliases()
annotationTypeback to summary
public Class<? extends Annotation> annotationType()

Implements java.lang.annotation.Annotation.annotationType.

Doc from java.lang.annotation.Annotation.annotationType.

Returns the annotation interface of this annotation.

Returns:Class<? extends Annotation>

the annotation interface of this annotation

handlerback to summary
public Class<? extends OptionHandler<T>> handler()
helpback to summary
public boolean help()
hiddenback to summary
public boolean hidden()
indexback to summary
public int index()
metaVarback to summary
public String metaVar()
multiValuedback to summary
public boolean multiValued()
requiredback to summary
public boolean required()
usageback to summary
public String usage()