private String fx(String x) {
return x;
}
Next add a Javadoc comment /** */ and you will end up with something like this:
/**
*
* @param x
* @return
*/
private String fx(String x) {
return x;
}
This is a great start to your comments.
There is a plugin in the Netbeans Development Center called Javadoc Analyzer. Download and install this plugin. It will provide you with some cool additional functionality.
In this screenshot I have created a servlet using the Netbean defaults which include some default Javadoc comments. I then ran the Analyze Javadoc menu item under Source. You can see it found a number missing tags including some on the visible text.
I then instructed it to Fix Selected
This resulted in the comments being added and marked as completed.
0 comments :
Post a Comment