Bug 81250 [quick fix] make static quick fix does not change anything
20041215 Quick fix on 'foo' doesn't do anything public abstract class VarArgTest { public static String print12(String key, String... args) { foo(args); return key; } protected abstract <A, B> List foo(String[] args); }
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ModifierCorrectionSubProcessor.java
public static void addRemoveInvalidModfiersProposal(IInvocationContext context, IProblemLocation problem, Collection proposals, int relevance) {
		ICompilationUnit cu= context.getCompilationUnit();
		ASTNode selectedNode= problem.getCoveringNode(context.getASTRoot());
		if (selectedNode instanceof MethodDeclaration) {
			selectedNode= ((MethodDeclaration) selectedNode).getName();
		}
		
		if (!(selectedNode instanceof SimpleName)) {
			return;
		}
		IBinding binding= ((SimpleName) selectedNode).resolveBinding();
		if (binding != null) {
			String methodName= binding.getName();
			String label;
			if (problem.getProblemId() == IProblem.CannotHideAnInstanceMethodWithAStaticMethod) {
				label= CorrectionMessages.getFormattedString("ModifierCorrectionSubProcessor.changemethodtononstatic.description", methodName); 
			} else {
				label= CorrectionMessages.getFormattedString("ModifierCorrectionSubProcessor.removeinvalidmodifiers.description", methodName); 				
			}
			
			int excludedModifiers= 0;
			int includedModifiers= 0;	
			
			switch (problem.getProblemId()) {
			case IProblem.CannotHideAnInstanceMethodWithAStaticMethod:
					excludedModifiers= Modifier.STATIC;
					break;
				case IProblem.IllegalModifierForInterfaceMethod: