I've seen some notation or style like Region#layoutInArea()
for example. How does this act on a method? Is it related to the dot ( .
) accessor?
That notation Region#layoutInArea()
is not code - it's the way you refer to a method in javadoc.
Using it will create a hyperlink in the rendered documentation that links to the specified method's javadoc.
An example of its use:
/**
* Does something.
* @see Region#layoutInArea()
*/
public void doSomething() {
//
}
It could used in other tags too, like @link
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.