views:

19

answers:

0

I annotated a method's parameters with a @NotNull annotation, which itself had the @Documented annotation.

I'm not seeing the parameter annotations displayed anywhere. In contrast, the annotations on the method itself are displayed.

Is there some way to make the annotations show up, ie. in the javadoc?

//test method
@NotNull Object foo(@NotNull Object arg) {
    return arg;
}

//currently generated javadoc
Object Main.foo(Object arg)

@NotNull

//example desired generated javadoc
Object Main.foo(@NotNull Object arg)

@NotNull