Project: JDT
Bug 110589 [quick fix] 'Remove invalid modifiers' does not appear for enums and annotations
Reported: 2005-09-26 10:02:24 | Status: resolved fixed

M20050923-1430 The 'Remove invalid modifiers' quick fix does not appear for enums and annotations. In the example below, no quick fix is offered. abstract enum E1 { public BLUE; } final @interface Annot { public final String value(); } When I use class or interface instead of enum and annotation, then it works.

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/ModifierCorrectionsQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ModifierCorrectionSubProcessor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java