Javadoc return made by concat of strings

时间:2018-10-01 09:08:47

标签: java javadoc

I have a function which returns a string made by the concat of more strings. I'd like that Javadoc would automatically generate this information for this method, showing each part of the string. Example:

public String myMethod()
  {
     return MyUtils.id + MyUtils.name
  }

Javadoc just says that the return is a String, but I want to show the "fields" as well, in this case id and name.

This is doable by hand, but this is not what I want since I need to automatize since the code involved in this approach is large.

Could you please suggest an approach to do that?

0 个答案:

没有答案