Bug 338809 - [quick fix] for bogus Javadoc errors (incorrect reference to nested type)
Summary: [quick fix] for bogus Javadoc errors (incorrect reference to nested type)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.7 M6   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 08:37 EST by Markus Keller CLA
Modified: 2011-03-03 09:19 EST (History)
0 users

See Also:


Attachments
Fix & tests (7.12 KB, patch)
2011-03-03 09:17 EST, Markus Keller CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2011-03-03 08:37:10 EST
HEAD, follow-up to bug 222188

Add quick fix to fully-qualify references to nested types (to work around implementation bugs in Javadoc.exe).


package pack2;

import pack.Test;
import pack.Test.Inner;

public class X {
//    Test t;
//    Inner i;
    
    /**
     * {@link pack.Test.Inner}.
     */
    public Object a;
    /**
     * {@link Test.Inner}.
     */
    public Object b;
    /**
     * {@link Inner}.
     */
    public Object c;
    /**
     * {@link pack.Test.Inner#foo()}.
     */
    public Object d;
    /**
     * {@link Test.Inner#foo()}.
     */
    public Object e;
    /**
     * {@link Inner#foo()}.
     */
    public Object f;
    /**
     * {@link pack.Test#bar(pack.Test.Inner)}.
     */
    public Object g;
    /**
     * {@link pack.Test#bar(Test.Inner)}}.
     */
    public Object h;
    /**
     * {@link pack.Test#bar(Inner)}}.
     */
    public Object i;
}

package pack;
public class Test {

    public interface Inner {
        void foo();
    }
    
    public void bar(Inner i) {
        
    }
}
Comment 1 Markus Keller CLA 2011-03-03 09:17:57 EST
Created attachment 190271 [details]
Fix & tests
Comment 2 Markus Keller CLA 2011-03-03 09:19:02 EST
Fixed in HEAD.
Comment 3 Markus Keller CLA 2011-03-03 09:19:15 EST
.