@Documented ignored for type-use annotations

Gunnar Morling gunnar at hibernate.org
Mon Feb 20 09:54:39 UTC 2017


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