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