How can a method's Javadoc be copied into other method's Javadoc?

前端 未结 2 362
情书的邮戳
情书的邮戳 2021-01-01 10:28

I know that there is @inheritDoc, but it\'s only for methods which override others.

I have several classes with many delegate methods (

2条回答
  •  梦毁少年i
    2021-01-01 11:26

    A @link or @see tag would be appropriate here. If you're wrapping the method, it must provide distinctive behavior which makes it unsuitable for overloading or otherwise.

提交回复
热议问题