Annotation Type Generator.RunsLocal

Enclosing class:
Generator

@Inherited @Retention(RUNTIME) public static @interface Generator.RunsLocal
An optional annotation indicating that a Generator can be run with local information during incremental compilation.

When this annotation is applied, the generator cannot access global level type information (e.g. JClassType#getSubTypes or TypeOracle#getTypes) and also accesses to property values are restricted to the ones defined by

invalid reference
#requiredProperties
.

This information is used by Generator invocation during incremental compilation to run Generators as early as possible in the compile tree (and thus as parallelized and cached as possible).