For example, I have two methods: public Tree<T> addChild(final T data) {}
and public Tree<T> addChild(final T... data) {}
, their JavaDocs are identical. How to put /** method description */
in one of them and use the tag to link to another JavaDoc to the previous one?
Just like in concept:
public Tree<T> addChild(final T data) { ... } public Tree<T> addChild(final T... data) { ... }
If I remember it correctly, I accidentally stumbled upon a tag that imports a description of the entire API-based Java-API method. Therefore, it should be possible.
What is @theTag
? Many thanks!
source share