Pluggable Annotation Processing: problems from the IDE (IntelliJ) perspective

Jonathan Gibbons jonathan.gibbons at
Thu Jan 28 02:12:27 UTC 2021

On 1/26/21 4:05 AM, Anna Kozlova wrote:
> There should be a standard way to get access to Tree API as well, or, 
> even better, the original API should be extended to make 
> implementation of complex processing logic possible without 
> semi-closed Tree API.

1. See Trees.instance(ProcessingEnvironment)

2. The Tree API is not "semi-closed". Although it is not a Java SE API 
in `java.*` or `javax.*`, it is a public supported JDK API, as evidenced 
by its inclusion in the JDK API documentation.

-- Jon

More information about the compiler-dev mailing list