Package org.immutables.value
Annotation Type Generated
Annotation to mark generated classes. This annotations was introduced as class retained
annotation and is often needed to differentiate to include exclude generated
classes when processing class files, in particular to exclude during code coverage instrumentation
and similar. It is not made runtime-retailed because problems were reported with some systems.
In order to introduce custom runtime-retained annotation, please try to
use
org.immutables:annotate module to inject annotations at various places in generated code.
Can be disabled by Value.Style.allowedClasspathAnnotations().-
Optional Element Summary
Optional Elements
-
Element Details
-
from
String fromUsed to include reference (usually package relative) to class which was an annotated model from which this class was generated from.- Returns:
- relative class name (can be package name or method reference).
- Default:
""
-
generator
String generatorSymbolic name of generator/template used to emit file.- Returns:
- name of generator
- Default:
""
-