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
name= ((AnnotationTypeMemberDeclaration) node).getName().getIdentifier() + "()"; 
				break;
			case ASTNode.ENUM_CONSTANT_DECLARATION:
				property= EnumConstantDeclaration.MODIFIERS2_PROPERTY;
				name= ((EnumConstantDeclaration) node).getName().getIdentifier();
				break;
			default:
				name= "Unknown"; 
		}
		
		AST ast= node.getAST();
		ASTRewrite rewrite= ASTRewrite.create(ast);
		
		StringLiteral newStringLiteral= ast.newStringLiteral();
		newStringLiteral.setLiteralValue(warningToken);
		
		Annotation existing= findExistingAnnotation((List) node.getStructuralProperty(property));
		if (existing == null) {
			ListRewrite listRewrite= rewrite.getListRewrite(node, property);
			
			SingleMemberAnnotation newAnnot= ast.newSingleMemberAnnotation();
			newAnnot.setTypeName(ast.newSimpleName("SuppressWarnings")); 
			newAnnot.setValue(newStringLiteral);
			
			listRewrite.insertFirst(newAnnot, null);
		} else if (existing instanceof SingleMemberAnnotation) {
			SingleMemberAnnotation annotation= (SingleMemberAnnotation) existing;
			Expression value= annotation.getValue();
			if (!addSuppressArgument(rewrite, value, newStringLiteral)) {
				rewrite.set(existing, SingleMemberAnnotation.VALUE_PROPERTY, newStringLiteral, null);