I'm trying to write a javadoc which displays the javadoc from another method, like:
private List<Object> list;
/**
* {@link list#indexOf(Object)}
*/
int getMyIndex(Object o) {
return list.indexOf(o);
}
This would give me a javadoc link when I use my getMyIndex()
method. But what I want is that eclipse just actually shows(!) the javadoc from the method that I referenced in @link
.
Of course that's not what link is for. Link does what is should do in this case.
But what do I have to use to somehow "import" a foreign javadoc there?