Annotation Interface Resource
@Usage({JavacExtension.class,ToolsExtension.class})
@Documented
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Repeatable(Resources.class)
public @interface Resource
Denotes a resource on the current classpath to be included for compilation.
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueThe path to the resource. Directories should be separated by/.- Returns:
- the path to the resource
-