Hi,
Is there any documentation on how to write @see and @link tags that refer to generic classes or methods?
Here's an example:
public interface MyInterface<T>
{
public void doSomething(T param);
}
Now, when I write an implementation of this interface, e.g.:
public MyImplementation implements MyInterface<String>
{
/**
* Some comment.
* @param param antoher comment
* @see MyInterface#doSomething(T)
*/
public void doSomething(String param)
{
// ... whatever ...
}
}
The javadoc tool gives me a warning:
MyImplementation.java:xx: warning - Tag @see: can't find doSomething(T) in MyInterface
How should I write the reference so that it doesn't generate a warning?