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 (declaringNode instanceof BodyDeclaration) {
			BodyDeclaration declaration= (BodyDeclaration) declaringNode;
			AST ast= declaration.getAST();
			ASTRewrite rewrite= ASTRewrite.create(ast);
			ListRewrite listRewrite= rewrite.getListRewrite(declaration, declaration.getModifiersProperty());
			Annotation newAnnotation= ast.newMarkerAnnotation();
			newAnnotation.setTypeName(ast.newSimpleName(annotationName));
			listRewrite.insertFirst(newAnnotation, null);
			
			return new ASTRewriteCorrectionProposal("", cu, rewrite, 5, null); 
		}
		return null;
	}
	private static final String KEY_MODIFIER= "modifier"; 
	
	private static class ModifierLinkedModeProposal implements ILinkedModeProposal, ICompletionProposalExtension2 {
		private LinkedPositionGroup fLinkedPositionGroup;
		private final int fModifier;
		public ModifierLinkedModeProposal(int modifier) {
			fModifier= modifier;
		}
		
		public void setLinkedPositionGroup(LinkedPositionGroup group) {
			fLinkedPositionGroup= group;
		}
		public String getAdditionalProposalInfo() {
			return getDisplayString();
		}