Annotation Interface Introspect


Denotes that the containing file of the annotated element is to be included for compilation.

Note:
If no value is specified for this annotation, the top level enclosing class of the annotated element is used to resolve the file name. The file may not always be named after the top level class of an annotated element if it contains multiple top level classes.
In addition, this annotation requires a build tool to copy source files from the source directory to the output directory.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of the top level class after which the file is named.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    A value to signify that the name of the enclosing top level class is to be used.
  • Field Details

    • DEFAULT

      static final String DEFAULT
      A value to signify that the name of the enclosing top level class is to be used.
      See Also:
  • Element Details

    • value

      String value
      The name of the top level class after which the file is named.
      Returns:
      the top level class name
      Default:
      "${TRACE_ENCLOSING_CLASS}"