Bug 99644 [quick fix] Unused parameter quick fixes have disappeared (regression?)
In RC2, with warnings enabled for unused parameters: public void foo(int x) { } A quick fix on the warning on x gives "No suggestions available". In N20050608-0010, it gives three options: add @SuppressWarnings to the parameter, add @SuppressWarnings to the method, and remove the parameter. These are all gone. Is this intentional?
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;
	}
}