Annotation Type OriginatingClasses
-
@Target(TYPE) @Retention(SOURCE) public @interface OriginatingClasses
All generated classes will have this annotation indicating the FQNs of classes that are the origins of this generated code, as an aid when recompiling incrementally. This annotation is internal to the generator and should never be used by users. Its retention policy makes it unavailable at runtime.- Since:
- 4.3.5
- Author:
- anistor@redhat.com
-
-
Element Detail
-
value
Class<?>[] value
Origin classes. Do not useElement.getAnnotation(Class)to access this. UseElement.getAnnotationMirrors()instead, to avoid resolution of possibly no longer existent classes during incremental compilation and prevent issues with javac failing miserably with a completely unrelated ClassCastException in such cases.
-
-