I know that there is @inheritDoc
, but it's only for methods which override others.
I have several classes with many delegate methods (which do not override others).
Can their Javadoc be "inherited" (more exactly: copied)?
/** here I need the copy of wrappedMethod's Javadoc */
public void delegateMethod(Object param){
innerSomething.wrappedMethod(param);
}
A @link or @see tag would be appropriate here. If you're wrapping the method, it must provide distinctive behavior which makes it unsuitable for overloading or otherwise.