I have Java wrappers for some C++ code in which I am simulating default arguments by manually overloading the relevant method(s). [Example is as in Does Java support default parameter values? .] In one case the C++ fn has 3 optional arguments, so I have had to write 8 methods in Java.
Now I want to write JavaDocs for said method. Is there any way to avoid writing essentially the same text 8 times? As well as being verbose, that would be a maintenance nightmare...
EDit: here is a toy example illustrating the signatures for the methods:
void foo(int i, String s, double d);
void foo(int i, String s);
void foo(int i, double d);
void foo(int i);
void foo(String s, double d);
void foo(String s);
void foo(double d);
void foo();