Bug 400984

Summary: [quick fix] Add @SuppressWarnings("null") iterator quick fix
Product: [Eclipse Project] JDT Reporter: Ed Willink <ed>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, stephan.herrmann
Version: 3.8   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Ed Willink CLA 2013-02-16 07:01:17 EST
M5:

for (@NonNull EPackage ePackage : ePackages.keySet()) {

is now valid; thanks.

But the quickfix to give

for (@SuppressWarnings("null")@NonNull EPackage ePackage : ePackages.keySet()) {

is missing.
Comment 1 Stephan Herrmann CLA 2013-02-18 04:30:32 EST
I guess this could be generalized to other @SW tokens, too.