Class JDHBIMirror

  • All Implemented Interfaces:
    AnnotationMirror

    public class JDHBIMirror
    extends java.lang.Object
    implements AnnotationMirror
    An Annotation Mirror Class is an object whose sole responsibility is to capture and store the exact data supplied by a single use of a Java annotation. When a user writes an annotation in source code, all parameter values, flags, arrays, and embedded elements are transferred into a corresponding Mirror instance. The mirror therefore becomes a stable, programmatic representation of that specific annotation usage, allowing the Java Doc Upgrader Documentation System to inspect and utilize the annotation's data during the upgrade process.

    The data fields in a Mirror Class are populated by inspecting (via Java reflection) the Abstract Syntax Tree of the original Java source file.

    For example, an instance of SFMirror contains all information provided to one use of the @StaticFunctional annotation, including both the declared “Excused Fields” and the associated “Excuses.” Likewise, JDHBIMirror holds the data from a single use of the @JDHeaderBackgroundImg annotation.
    An internally used data-record class used for storing all user-supplied annotation data associated with a single use / application of the JDHeaderBackgroundImg annotation.
    See Also:
    JDHeaderBackgroundImg


    • Method Summary

       
      Methods: Interface Torello.JavaDoc.Annotations.AnnotationMirror
      Modifier and Type Method
      String getAnnotationAsString()
      String getAnnotationName()
       
      Methods: class java.lang.Object
      Modifier and Type Method
      String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait