For documenting such simple getter-style methods you may write:
/** {@return foo} */
public Foo getFoo() {
return foo;
}
Note the curly braces in {@return ...}
compared to your example.
See also https://stackoverflow.com/a/66220601/1431016 and https://bugs.openjdk.java.net/browse/JDK-8075778