Bug 32902 No "delete" QF available for import of non-existing package [code manipulation]
I20030221 (RC1) - add import declaration to non-existing package to any java source (or remove a package from your project so that you have bogus imports) Observe: you don't get a "remove" QuickFix
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java
package org.eclipse.jdt.internal.ui.text.correction;
import java.util.List;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.core.compiler.IProblem;
/**
  */
public class QuickFixProcessor implements ICorrectionProcessor {
	public static boolean hasCorrections(int problemId) {
		switch (problemId) {
			case IProblem.UnterminatedString:
			case IProblem.UnusedImport:
			case IProblem.DuplicateImport:
			case IProblem.CannotImportPackage:
			case IProblem.ConflictingImport:			
			case IProblem.UndefinedMethod:
			case IProblem.UndefinedConstructor:
			case IProblem.ParameterMismatch: