I'm searching the best way to make documentations with overloaded methods.
I have two methods:
/** * does something * @param A * @return result */ public String methodA(Type1 A); /** * does something * @param A * @return result */ public String methodA(Type2 A); Since both methods render the same thing, is it possible to centralize the doc on a method which would take Object arguments? Or is there a better way to do so?
@linktag to link one of the methods to the other. This avoids redundancy of the actual documentation ("does something").