+ getValue
+ public boolean getValue()
+ Gets the value of the property value.
+
+ - Property description:
+ - The value property (property method comment).
+
+ """
+ );
+ }
+
+ @Test
+ public void testWithFieldComments(Path base) throws Exception {
+ Path src = base.resolve("src");
+ tb.writeJavaFiles(src, """
+ package p;
+ /** Class comment. */
+ public class C {
+ /** Dummy class. */
+ public static class BooleanProperty { }
+
+ /** The value property (field comment). */
+ private BooleanProperty value;
+
+ /**
+ * The value property (property method comment).
+ * @return the property object
+ */
+ public BooleanProperty valueProperty() {
+ return value;
+ }
+
+ // no comment
+ public boolean getValue() {
+ return true;
+ }
+ }
+ """);
+
+ javadoc("-d", base.resolve("api").toString(),
+ "--javafx",
+ "--disable-javafx-strict-checks",
+ "-sourcepath", src.toString(),
+ "p"
+ );
+ checkExit(Exit.OK);
+
+ // no warnings for any missing comments
+ checkOutput(Output.OUT, false,
+ "warning: no comment");
+
+ checkOutput("p/C.html", true,
+ """
+