Accessing type annotations via annotation processor

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


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

> 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?

--Gunnar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140815/66db44d8/attachment.html>


More information about the compiler-dev mailing list