Javadoc @link references in Android Studio

前端 未结 3 1448
遇见更好的自我
遇见更好的自我 2021-02-02 09:08

I\'m trying to generate some Javadocs with Android Studio. I\'m referring with {@link #method()} a method in the same class as the link but I still get a refe

3条回答
  •  花落未央
    2021-02-02 10:13

    I don't know if anyone is still struggling with it but if you are and {@link is not working then make sure your comment block looks something like this

    /**
    * {@link 'your reference'
    */
    

    make sure that the comment block starts with two * and not one, apparently, this works for me in the android studio.

提交回复
热议问题