Bug 82538 - [javadoc] Missing javadoc in method declaration
Summary: [javadoc] Missing javadoc in method declaration
Status: VERIFIED DUPLICATE of bug 80221
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.1 M6   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-11 05:42 EST by Tobias Widmer CLA
Modified: 2005-04-01 10:21 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Widmer CLA 2005-01-11 05:42:51 EST
20050104:

Steps to reproduce:

public class Test<T> {
    /**
     * This is a method
     * @param f
     * @return a t
     * @throws RuntimeException
     */
    public T getT(int f) throws RuntimeException {
       return null;
    }
}

- Enable mark occurrences
- Click on RuntimeException in the throws clause
-> No highlighting in javadoc
-> Same behavior with no return type and non-generic class
-> Debugging ASTConverter shows that the internal MethodDeclaration node 
contains no javadoc node
Comment 1 Frederic Fusier CLA 2005-01-11 06:34:56 EST
Cannot reproduce using same build.
With your test case, I can see Javadoc on method declaration using ASTView.
Also, if you remove f in line @param f, I can see javadoc warning...
Are you sure you've activated javadoc option?
In case yes, perhaps your test case is slightly different and this could be a
duplicate of bug 80221: if you remove T from method declaration (ie. have a
compiler error) then no javadoc is set on method declaration...
Note that the fact that reference is not highlighted in Javadoc seems to be a
JDT/UI issue as searching for RuntimeException in project found correctly the
reference in Javadoc...
Comment 2 Tobias Widmer CLA 2005-01-11 06:45:45 EST
Its indeed a dup of bug 80221

*** This bug has been marked as a duplicate of 80221 ***
Comment 3 Frederic Fusier CLA 2005-04-01 10:21:50 EST
Verified for 3.1 M6 using build I20050330-0500.