Suppose I have a class with bean’s property sum, which is implemented with setter void setSum(double value) and getter double getSum().
Is it possible to refer this by single link in javadoc? Suppose I wish to describe some properties in class’ preamble. For example, something like this:
/**
* A Value class is a bunch of aggregation values
*
* {@beanlink #sum} - sum of all values (hypothetic way)
*
* {@link #getSum()} - sum of all values (conventional way)
*
*/
There isn’t any
@beanlinkkind of tag in javadoc comments. See a full list of allowed tag javadoc of javadoc 😉There is a
-tagoption that can be used to create custom tags. But that won’t perfectly fit for your solution, i.e. creating links.