Bug 87500 - [1.5][javadoc][options] Add a 'Consider enum values' option to warn/error on 'Missing javadoc comments'.
Summary: [1.5][javadoc][options] Add a 'Consider enum values' option to warn/error on ...
Status: RESOLVED DUPLICATE of bug 86769
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.4   Edit
Assignee: Eric Jodet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-09 10:04 EST by Reinier Zwitserloot CLA
Modified: 2007-08-29 06:17 EDT (History)
1 user (show)

See Also:


Attachments
patch + test case (also fixes b86769) (42.27 KB, patch)
2007-08-28 15:11 EDT, Eric Jodet CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Reinier Zwitserloot CLA 2005-03-09 10:04:38 EST
See bug #86769.

There is no option to specify if enum values should count as public 
declarations; Right now all enumeration values in an enum are considered public 
fields and hence always generate a warning/error if the 'Missing javadoc 
comments' option is set to cause warnings or errors. I'd like to see a new 
checkbox under 'Missing Javadoc comments': 'Consider enum values'. If turned 
off, all values within an enum are not flagged as requiring a javadoc comment.

Regardless of this feature, enums suffer the same bug as listed in #86769. 
Tested in 3.1M5.
Comment 1 Frederic Fusier CLA 2005-03-09 10:19:33 EST
As said in bug 86769, good idea but only if time permit for 3.1.
Comment 2 Frederic Fusier CLA 2005-03-14 11:46:29 EST
API freeze will be on 3.1 M6.
Unfortunately we will not have time to fix this until this dead line
=> defer to next release
Comment 3 Jason Bennett CLA 2007-04-12 18:14:22 EDT
Since it's been a few years since this bug has been addressed, I'd ask that it be reevaluated (and thus de-resolved).
Comment 4 Frederic Fusier CLA 2007-06-21 11:04:51 EDT
Reopen as LATER is deprecated...
Comment 5 Eric Jodet CLA 2007-08-28 15:11:02 EDT
Created attachment 77165 [details]
patch + test case (also fixes b86769)
Comment 6 Eric Jodet CLA 2007-08-29 06:17:42 EDT

*** This bug has been marked as a duplicate of bug 86769 ***