Bug 367858 - [preferences] UI for bug 365437
Summary: [preferences] UI for bug 365437
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.8   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 365437
Blocks:
  Show dependency tree
 
Reported: 2012-01-04 10:28 EST by Ayushman Jain CLA
Modified: 2012-01-09 05:58 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ayushman Jain CLA 2012-01-04 10:28:02 EST
Patch in bug 365437 introduces an auxilliary option to go along with reporting "unused private members" option.
This option takes a comma separated list of all annotation names (fully
qualified) that, when applied to a private method, will suppress the unused
warning even if the method is not used. 
The API is:
JavaCore.COMPILER_ANNOTATIONS_TO_EXEMPT_UNUSED_PRIVATE_METHOD

Two defaults are also provided: javax.annotation.PreDestroy and javax.annotation.PostConstruct
Comment 1 Ayushman Jain CLA 2012-01-09 05:58:23 EST
Closing this bug in light of the recent conversations on bug 365437