Changing java-doc parameter name

97 views Asked by At

In eclipse: Is there a way to change java-doc's parameter name into something other than the name of the used parameter.

/**
  * @param random
  */
 public void doStuff(Random r){ 
 }

In the code above I didn't want to use the word "random" as a parameter(for some reason) But I prefer java-doc to show it as random instead of r. When I add change the word in java doc this is the result

Parameters:
           random  
           r

How can I make java doc omit the original parameter name "r"?

Note: I'm aware that using "r" instead of "random" in method is not a good idea. But this is just an example.

0

There are 0 answers