Community
Participate
Working Groups
Build 2.1 Extend Java Model to know about content of Javadoc (@see @link @param, <code></code> <tt></tt> o referenced Java elements should be in index o Javadoc node in AST has information about the referenced Java elements.
*** Bug 22110 has been marked as a duplicate of this bug. ***
Suggestion is to do it similar to the Doclet API 'grammar' of a Javadoc comment is: [top-tag-text] {@tag tag-text} A tag starts with a @-character. It has a name (@tag) and a text. The comment contains all characters until the next tag. The top-tag is a nameless tag. It contains all characters from the start of the comment until the first tag (@xx) . The format of the tag comment is specific to the tag. There are some defined tags (@param, @see, ect), but users can define their own tags. There are special constructs (tags in curly backets) which are belonging to the tag-texts (inline tags) This means there is no structure needed for things like <code></code> or <tt></tt>.
Assuming this is completed, the next natural addition is to keep the javadoc tags up to date with the method params. For example renaming a method variable should rename the @param name, and adding/removing a parameter should add/remove an @param. Similarly with @return and @throws.
Closing, support got added to DOM AST, search and compiler. *** This bug has been marked as a duplicate of 38091 ***