-
public @interface Processing
Common processing instructions annotation. The compiler must be able to load and instantiate any value set innamer()
.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]
locations
These values are passed as location (1st arg) toFiler.getResource(JavaFileManager.Location, CharSequence, CharSequence)
in order.Class<? extends Namer>
namer
Set this value to provide alternative class/member naming strategy.
-
-
-
Element Detail
-
namer
Class<? extends Namer> namer
Set this value to provide alternative class/member naming strategy.- Returns:
- name generator type
- See Also:
Namer for provided implementations
- Default:
- uk.autores.naming.Namer.class
-
-
-
locations
String[] locations
These 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
.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:
StandardLocation.locationFor(String)
,StandardLocation.getName()
- Default:
- {"CLASS_OUTPUT", "CLASS_PATH"}
-
-