Summary: | [5.0] Add Javadoc compiler option to (not) report missing tags for method type parameters | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||||||
Component: | Core | Assignee: | Ayushman Jain <amj87.iitr> | ||||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||||
Severity: | enhancement | ||||||||||
Priority: | P3 | CC: | amj87.iitr, daniel_megert, rthakkar | ||||||||
Version: | 3.7 | Flags: | markus.kell.r:
review+
|
||||||||
Target Milestone: | 3.7 M3 | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows XP | ||||||||||
Whiteboard: | |||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 327022 | ||||||||||
Attachments: |
|
Description
Markus Keller
2010-08-12 15:48:12 EDT
(In reply to comment #0) > HEAD > > Add a Javadoc compiler option to (not) report missing tags for method type > parameters, e.g. COMPILER_PB_MISSING_JAVADOC_TAGS_METHOD_TYPE_PARAMETERS with > default: "disabled". > > In method declarations, type parameters are just placeholders and very rarely > have a better description than just "type parameter". I didn't find even a > single documented type parameter in the JDK. Markus, can you please attach a testcase with the new warning as it should be when the option is enabled? Thanks! And I believe this would be on the lines of COMPILER_PB_MISSING_JAVADOC_TAGS_OVERRIDING? Created attachment 176704 [details] test project Here's a test project with the required Javadoc compiler settings. Note that I don't request a new warning -- I want to disable the existing warning for method type parameters. > And I believe this would be on the lines of > COMPILER_PB_MISSING_JAVADOC_TAGS_OVERRIDING? Exactly. Created attachment 179869 [details]
proposed fix v1.0 + regression tests
Fix introducing the new option JavaCore.COMPILER_PB_MISSING_JAVADOC_TAGS_METHOD_TYPE_PARAMETERS.
Also updated the jdt doc.
Markus, please review. Thanks
Looks mostly good and works fine. The Javadoc of JavaCore#COMPILER_PB_MISSING_JAVADOC_TAGS_METHOD_TYPE_PARAMETERS needs 2 changes: - Javadoc should be capitalized - "for the type parameter" should be "for a type parameter" Typos in jdt_api_options.htm: - javadoc -> Javadoc - compliance is 1.6 or greater -> 1.5 Created attachment 180330 [details]
released patch
Released in HEAD for 3.7M3.
Fixed Verified for 3.7M3 in I20101025-1800 |