Class AnnotatedElementImpl

    • Constructor Detail

      • AnnotatedElementImpl

        public AnnotatedElementImpl​(String name)
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: AnnotatedElement
        Annotated element have a name, which vary depending on the actual subclass type. For instance, a class annotated element's name is the class name as obtained from Class.getName()
        Specified by:
        getName in interface AnnotatedElement
        Returns:
        the annotated element name
      • getAnnotation

        public AnnotationModel getAnnotation​(String name)
        Description copied from interface: AnnotatedElement
        Returns an annotation model if the type is annotated with the passed annotation name
        Specified by:
        getAnnotation in interface AnnotatedElement
        Parameters:
        name - the annotation name
        Returns:
        the annotation model or null if the type is not annotated with this annotation type of the passed name.
      • isApplicationClass

        public boolean isApplicationClass()
      • setApplicationClass

        public void setApplicationClass​(boolean applicationClass)
      • shortDesc

        public String shortDesc()
        Description copied from interface: AnnotatedElement
        Construct and return a short description name that can be used to display the instance value
        Specified by:
        shortDesc in interface AnnotatedElement
        Returns:
        a short description