Last active
May 24, 2017 06:53
-
-
Save kalaiselvan369/a37d1a80e5cdc53268877370cb6fb759 to your computer and use it in GitHub Desktop.
Java comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Method in the same class: | |
/** See also {@link #myMethod(String)}. */ | |
void foo() { ... } | |
##Method in a different class, either in the same package or imported: | |
/** See also {@link MyOtherClass#myMethod(String)}. */ | |
void foo() { ... } | |
##Method in a different package and not imported: | |
/** See also {@link com.mypackage.YetAnotherClass#myMethod(String)}. */ | |
void foo() { ... } | |
##Label linked to method, in plain text rather than code font: | |
/** See also this {@linkplain #myMethod(String) implementation}. */ | |
##void foo() { ... } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment