With Java8 the javadoc checks became stricter. The common solution is to disable the strict javadoc checking. Nevertheless, I started trying to fix the errors in some projects.
But there is one error I don't get fixed.
The corresponding class:
package foo;
import com.google.gwt.user.client.ui.TextArea;
[...]
public class MyClass {
[...]
/**
* @see TextArea#getValue()
*/
public String getValue() {
[...]
}
/**
* @see TextArea#setValue(String value)
*/
public void setValue(String value) {
[...]
}
/**
* @see TextArea#setValue(String, boolean)
*/
public void setValue(String value, boolean fireEvents) {
[...]
}
}
And the error message:
[ERROR] ...\MyClass.java:44: error: reference not found
[ERROR] * @see TextArea#setValue(String value)
[ERROR] ^
[ERROR] ...\MyClass.java:51: error: reference not found
[ERROR] * @see TextArea#setValue(String, boolean)
The error message states that it cannot find TextArea
in the Javadoc of the setValue
-Methods - but on the other hand has no problems to find TextArea
on the getValue
-Method.
As far as I can say, I followed How to specify a name as well as @see reference.
Any clues? Thanks a lot!