From: http://download.oracle.com/javase/7/docs/technotes/tools/solaris/javadoc.html#javadoctags (same for windows):
If any method or constructor is entered as a name with no
parentheses, such as getValue, and if there is no field with the
same name, the Javadoc tool will correctly create a link to it, but
will print a warning message reminding you to add the parentheses
and arguments.
I didn't get such a warning message. Either the doc needs updating, or the javadoc isn't throwing the warning. Filing in tools first, may need to transfer to tooldocs.
/**
* This is Bar class.
*/
public class Bar {
/**
* Hello world.
*
* @see Foo#hello
*/
public static void hello() {
}
}
/**
* This is Foo class.
*/
public class Foo {
/**
* Hello world.
*/
public static void hello() {
}
}
If any method or constructor is entered as a name with no
parentheses, such as getValue, and if there is no field with the
same name, the Javadoc tool will correctly create a link to it, but
will print a warning message reminding you to add the parentheses
and arguments.
I didn't get such a warning message. Either the doc needs updating, or the javadoc isn't throwing the warning. Filing in tools first, may need to transfer to tooldocs.
/**
* This is Bar class.
*/
public class Bar {
/**
* Hello world.
*
* @see Foo#hello
*/
public static void hello() {
}
}
/**
* This is Foo class.
*/
public class Foo {
/**
* Hello world.
*/
public static void hello() {
}
}