Javadoc { public List<String> undocumentedParameters() { return undocumentedNamedTags.computeIfAbsent(BlockTag.PARAM, key -> computeUndocumentedParameters()); } Javadoc(Tree tree); boolean noMainDescription(); boolean noReturnDescription(); List<String> undocumentedParameters(); List<String> undocumentedThrownExceptions();  }
@Test void test_undocumented_parameters() { assertThat(fooJavadoc.undocumentedParameters()).containsExactlyInAnyOrder("c", "e"); assertThat(barJavadoc.undocumentedParameters()).containsExactlyInAnyOrder("a"); assertThat(emptyDescriptionJavadoc.undocumentedParameters()).containsExactlyInAnyOrder("a", "b", "c", "d", "e"); assertThat(fullParamsDescriptionJavadoc.undocumentedParameters()).isEmpty(); assertThat(genericExceptionThrownJavadoc.undocumentedParameters()).isEmpty(); assertThat(genericExceptionThrownUndocumented.undocumentedParameters()).isEmpty(); assertThat(emptyJavadocs.stream().map(Javadoc::undocumentedParameters)).hasSize(6).allMatch(p -> p.size() == 1 && "a".equals(p.get(0))); }