Bug 108453 [quick fix] @SuppressWarnings("nls") on static initializer causes error
If you have static block with non-externalised strings and you add "SuppressWarning" quick fix to the block, jdt compiler reports error on the static key word saying "Syntax error, insert "enum Identifier" to complete EnumHeader" Cheers
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ModifierCorrectionSubProcessor.java
IDocument document= viewer.getDocument();
				int documentLen= document.getLength();
				if (fModifier == 0) {
					int end= currentPosition.offset + currentPosition.length; 
					int k= end;
					while (k < documentLen && Strings.isIndentChar(document.getChar(k))) {
						k++;
					}
					
					document.replace(end, k - end, new String()); 
					document.replace(currentPosition.offset, currentPosition.length, new String());
				} else {
					
					document.replace(currentPosition.offset, currentPosition.length, ModifierKeyword.fromFlagValue(fModifier).toString());
					int end= currentPosition.offset + currentPosition.length; 
					if (end < documentLen && !Character.isWhitespace(document.getChar(end))) {
						document.replace(end, 0, String.valueOf(' ')); 
					}
				}
				
			} catch (BadLocationException e) {
				JavaPlugin.log(e);
			}
		}
		public int getRelevance() { return 0; 	}
		public IContextInformation getContextInformation() { return null; }
		public void apply(IDocument document) {} 
		public Point getSelection(IDocument document) { return null; }
		public void selected(ITextViewer viewer, boolean smartToggle) {}
		public void unselected(ITextViewer viewer) { }