Accessing type annotations via annotation processor

Eric McCorkle eric.mccorkle at oracle.com
Thu Aug 14 18:29:48 UTC 2014


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eric_mccorkle.vcf
Type: text/x-vcard
Size: 314 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140814/c55790ab/eric_mccorkle.vcf>


More information about the compiler-dev mailing list