Bug 126326

Summary: [api] all supported SuppressWarning tokens
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Maxime Daniel <maxime_daniel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.2 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 126317    
Attachments:
Description Flags
Patch plus test case none

Description Martin Aeschlimann CLA 2006-02-03 06:09:36 EST
20060204

Bug 126317 suggests to add a quick fix that can correct mispelled tokens in SuppressWarning.

For that I would need to know all existing SuppressWarning tokens.

e.g. CorrectionEngine.getAllWarningTokens()
Comment 1 Maxime Daniel CLA 2006-02-08 05:11:25 EST
Created attachment 34331 [details]
Patch plus test case

Tentative implementation for the suggested API.
Also fixes a bug into CompilerOptions#warningTokenFromIrritant.
Comment 2 Maxime Daniel CLA 2006-02-08 05:49:38 EST
Released in HEAD after check with David (uses of CorrectionEngine).

Verification: check CorrectionEngine#getAllWarningTokens.
See also new regression test class CompilerInvocationTests, test #1.
Comment 3 Jerome Lanneluc CLA 2006-02-14 08:53:46 EST
Verified for 3.2 M5 using build I20060214-0010