public static void getWrongPackageDeclNameProposals(IAssistContext context, IProblemLocation problem, Collection proposals) throws CoreException {
public static void getWrongPackageDeclNameProposals(IInvocationContext context, IProblemLocation problem, Collection proposals) throws CoreException {
	public static void getWrongPackageDeclNameProposals(IAssistContext context, IProblemLocation problem, Collection proposals) throws CoreException {		String[] args= problem.getProblemArguments();		if (args.length == 1) {			ICompilationUnit cu= context.getCompilationUnit();			boolean isLinked= JavaModelUtil.toOriginal(cu).getResource().isLinked();						// correct pack decl			proposals.add(new CorrectPackageDeclarationProposal(cu, problem, 5));			// move to pack			IPackageDeclaration[] packDecls= cu.getPackageDeclarations();			String newPackName= packDecls.length > 0 ? packDecls[0].getElementName() : ""; //$NON-NLS-1$						IPackageFragmentRoot root= JavaModelUtil.getPackageFragmentRoot(cu);			IPackageFragment newPack= root.getPackageFragment(newPackName);						ICompilationUnit newCU= newPack.getCompilationUnit(cu.getElementName());			if (!newCU.exists() && !isLinked) {				String label;				if (newPack.isDefaultPackage()) {					label= CorrectionMessages.getFormattedString("ReorgCorrectionsSubProcessor.movecu.default.description", cu.getElementName()); //$NON-NLS-1$				} else {					label= CorrectionMessages.getFormattedString("ReorgCorrectionsSubProcessor.movecu.description", new Object[] { cu.getElementName(), newPack.getElementName() }); //$NON-NLS-1$				}				CompositeChange composite= new CompositeChange(label);				composite.add(new CreatePackageChange(newPack));				composite.add(new MoveCompilationUnitChange(cu, newPack));					proposals.add(new ChangeCorrectionProposal(label, composite, 6, JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_MOVE)));			}		}	}