Accessing type annotations via annotation processor

Gunnar Morling gunnar at
Fri Aug 15 10:55:49 UTC 2014

2014-08-14 20:29 GMT+02:00 Eric McCorkle <eric.mccorkle at>:

> On 08/14/14 02:56, Gunnar Morling wrote:
> >
> > I tried what you suggested, but I only obtained a TypeMirror for
> > 'List<String>' from the VariableElement, thus the TypeMirror for the
> > type argument represents 'String' rather than '@NotNull String'.
> That is due to the known issues with type annotations.

Ok, I see. Many thanks for the clarification.

Is there any known timeframe for fixing these issues? Possibly a later
revision for JDK 8?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the compiler-dev mailing list