Question regarding type use annotation on method parameter type

Laird Nelson ljnelson at
Thu Feb 16 04:48:44 UTC 2023

On Wed, Feb 15, 2023 at 7:57 PM Liam Miller-Cushon <cushon at>

> Should `sAsType.getAnnotations()` be `sAsType.getAnnotationMirrors()`?

Yes; my bad.

> It works for me if B is being compiled from source as part of the same
> compilation doing the annotation processing, but not if B is loaded from
> the classpath, which is consistent with this known issue:

 That is exactly the circumstance I am experiencing. Thanks for the bug
pointer and I'll be on my way.


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

More information about the compiler-dev mailing list