public static void removeImportStatementProposals(IAssistContext context, IProblemLocation problem, Collection proposals) throws CoreException {
public static void removeImportStatementProposals(IInvocationContext context, IProblemLocation problem, Collection proposals) throws CoreException {
	public static void removeImportStatementProposals(IAssistContext context, IProblemLocation problem, Collection proposals) throws CoreException {		final ICompilationUnit cu= context.getCompilationUnit();		ASTNode selectedNode= problem.getCoveringNode(context);		if (selectedNode != null) {			ASTNode node= ASTNodes.getParent(selectedNode, ASTNode.IMPORT_DECLARATION);			if (node instanceof ImportDeclaration) {				ASTRewrite rewrite= new ASTRewrite(node.getParent());				rewrite.markAsRemoved(node);							String label= CorrectionMessages.getString("ReorgCorrectionsSubProcessor.unusedimport.description"); //$NON-NLS-1$				Image image= JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_DELETE_IMPORT);				ASTRewriteCorrectionProposal proposal= new ASTRewriteCorrectionProposal(label, cu, rewrite, 6, image);				proposal.ensureNoModifications();				proposals.add(proposal);			}		}				String name= CorrectionMessages.getString("ReorgCorrectionsSubProcessor.organizeimports.description"); //$NON-NLS-1$		ChangeCorrectionProposal proposal= new ChangeCorrectionProposal(name, null, 5) {			public void apply(IDocument document) {				IEditorInput input= new FileEditorInput((IFile) JavaModelUtil.toOriginal(cu).getResource());				IWorkbenchPage p= JavaPlugin.getActivePage();				if (p == null) {					return;				}				IEditorPart part= p.findEditor(input);				if (part instanceof JavaEditor) {					OrganizeImportsAction action= new OrganizeImportsAction((JavaEditor) part);					action.run(cu);										}								}		};		proposals.add(proposal);	}