如何使用@link
标签链接到方法?
我想改变:
/*** Returns the Baz object owned by the Bar object owned by Foo owned by this.* A convenience method, equivalent to getFoo().getBar().getBaz()* @return baz*/public Baz fooBarBaz()
到:
/*** Returns the Baz object owned by the Bar object owned by Foo owned by this.* A convenience method, equivalent to {@link getFoo()}.{@link getBar()}.{@link getBaz()}* @return baz*/public Baz fooBarBaz()
但是我不知道如何正确格式化@link
标签。