]
Nistor Adrian updated IPROTO-96:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
Annotation processor does not handle well incremental compilation
-----------------------------------------------------------------
Key: IPROTO-96
URL:
https://issues.jboss.org/browse/IPROTO-96
Project: Infinispan ProtoStream
Issue Type: Bug
Affects Versions: 4.3.0.Alpha6
Reporter: Nistor Adrian
Assignee: Nistor Adrian
Priority: Major
Fix For: 4.3.0.Alpha7
The RoundEnvironment might not always contain the whole root elements from source path.
In case of incremental compilation that will certainly be an issue, preventing discovery
of @ProtoXyz annotated classes.
A possible way to solve this is to annotate the generated code with that list of user
classes from which it originates. This allows us to trace back to the classes that need to
be scanned by which are not present in RoundEnvironment as root elements.