public @interface Processing
Common processing instructions annotation.
The compiler must be able to load and instantiate any value set in
namer()
.-
Optional Element Summary
-
Element Details
-
namer
Set this value to provide alternative class/member naming strategy.- Returns:
- name generator type
- See Also:
- Default:
uk.autores.naming.Namer.class
-
locations
String[] locationsThese values are passed as location (1st arg) to
Filer.getResource(JavaFileManager.Location, CharSequence, CharSequence)
in order.The defaults are
StandardLocation.CLASS_PATH
andStandardLocation.CLASS_OUTPUT
names.Tools are inconsistent in how they locate resources. The documentation for
Filer
states "The locations CLASS_OUTPUT and SOURCE_OUTPUT must be supported." If the filer throws anIllegalArgumentException
the processor will proceed to the next location.- Returns:
- where to search for resources
- See Also:
- Default:
{"CLASS_OUTPUT", "CLASS_PATH"}
-