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
if (parent.getLocationInParent() == VariableDeclarationStatement.FRAGMENTS_PROPERTY) {
				proposals.add(getSuppressWarningsProposal(context.getCompilationUnit(), parent.getParent(), warningToken, -2));
				return;
			}
		} else if (node.getLocationInParent() == SingleVariableDeclaration.NAME_PROPERTY) {
			proposals.add(getSuppressWarningsProposal(context.getCompilationUnit(), node, warningToken, -2));
			return;
		}
		
		ASTNode target= ASTResolving.findParentBodyDeclaration(node);
		if (target != null) {
			proposals.add(getSuppressWarningsProposal(context.getCompilationUnit(), target, warningToken, -3));
		}
	}
	
	private static String getFirstFragmentName(List fragments) {
		if (fragments.size() > 0) {
			return ((VariableDeclarationFragment) fragments.get(0)).getName().getIdentifier();
		}
		return new String();
	}
	
	private static ASTRewriteCorrectionProposal getSuppressWarningsProposal(ICompilationUnit cu, ASTNode node, String warningToken, int relevance) {
		ChildListPropertyDescriptor property= null;
		String name;
		switch (node.getNodeType()) {
			case ASTNode.SINGLE_VARIABLE_DECLARATION:
				property= SingleVariableDeclaration.MODIFIERS2_PROPERTY;
				name= ((SingleVariableDeclaration) node).getName().getIdentifier();
				break;