Class 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.Annotation
    Base class for the @Option and @Argument implementation classes.
    Author:
    Jan Materne
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AnnotationImpl​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)  
      protected AnnotationImpl​(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()  
      boolean help()  
      boolean hidden()  
      int index()  
      java.lang.String metaVar()  
      boolean multiValued()  
      boolean required()  
      java.lang.String usage()  
      • 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 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:
        annotationType in interface java.lang.annotation.Annotation
      • index

        public int index()