@Documented ignored for type-use annotations

Jonathan Gibbons jonathan.gibbons at oracle.com
Tue Feb 21 22:52:10 UTC 2017


Hi Gunnar,

Can you put together a tiny test case and file a bug?

-- Jon

On 02/20/2017 01:54 AM, Gunnar Morling wrote:
> Hi,
>
> Is there a way to show annotations on type arguments in JavaDoc?
>
> My annotation type is meta-annotated with @Target(TYPE_USE) and
> @Documented, still it isn't shown in JavaDocs for elements using it,
> e.g. a method like this:
>
>      foo(List<@MyAnno String> strings) { ... }
>
> Is this generally not supported or is there some sort of option I need
> to enable to have type use annotations showing up in JavaDoc?
>
> Thanks,
>
> --Gunnar



More information about the javadoc-dev mailing list