Bug 400984 - [quick fix] Add @SuppressWarnings("null") iterator quick fix
Summary: [quick fix] Add @SuppressWarnings("null") iterator quick fix
Status: ASSIGNED
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:
Blocks:
 
Reported: 2013-02-16 07:01 EST by Ed Willink CLA
Modified: 2013-02-18 04:30 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 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.