I have created a simple but very useful taglet. If this project is still alive, it could be added to the taglets here.
By placing the "{@rc.property}" inline tag in the getter, setter and holding-variable of a property, and then adding a @return tag to the getter, the text from the return tag is copied into the main body of the getter, setter etc, allowing a single copy of the text to document all occurrences.
Example:
/**
* {@rc.property}
* @return the property that I created.
*/
public int getMyProperty() {
return myProperty;
}
/** {@rc.property} */
public void setMyProperty(int newValue) {
this.myProperty = newValue;
}
/** {@rc.property} */
protected int myProperty;
taglet source