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
}
		return true;
	}
	
	
	private static Expression findValue(List keyValues) {
		for (int i= 0, len= keyValues.size(); i < len; i++) {
			MemberValuePair curr= (MemberValuePair) keyValues.get(i);
			if ("value".equals(curr.getName().getIdentifier())) { 
				return curr.getValue();
			}
		}
		return null;
	}
	
	private static Annotation findExistingAnnotation(List modifiers) {
		for (int i= 0, len= modifiers.size(); i < len; i++) {
			Object curr= modifiers.get(i);
			if (curr instanceof NormalAnnotation || curr instanceof SingleMemberAnnotation) {
				Annotation annotation= (Annotation) curr;
				String fullyQualifiedName= annotation.getTypeName().getFullyQualifiedName();
				if ("SuppressWarnings".equals(fullyQualifiedName) || "java.lang.SuppressWarnings".equals(fullyQualifiedName)) { 
					return annotation;
				}
			}
		}
		return null;
	}
}