Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367858

Summary: [preferences] UI for bug 365437
Product: [Eclipse Project] JDT Reporter: Ayushman Jain <amj87.iitr>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, deepakazad
Version: 3.8   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 365437    
Bug Blocks:    

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