Annotation Interface Introspect
@Usage({JavacExtension.class,ToolsExtension.class})
@Documented
@Retention(RUNTIME)
@Target(TYPE)
public @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.
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 -
Field Summary
Fields
-
Field Details
-
DEFAULT
A value to signify that the name of the enclosing top level class is to be used.- See Also:
-
-
Element Details
-
value
String valueThe name of the top level class after which the file is named.- Returns:
- the top level class name
- Default:
- "${TRACE_ENCLOSING_CLASS}"
-