public static void addUninitializedLocalVariableProposal(IAssistContext context, IProblemLocation problem, Collection proposals) throws CoreException {
public static void addUninitializedLocalVariableProposal(IInvocationContext context, IProblemLocation problem, Collection proposals) throws CoreException {
	public static void addUninitializedLocalVariableProposal(IAssistContext context, IProblemLocation problem, Collection proposals) throws CoreException {		ICompilationUnit cu= context.getCompilationUnit();		ASTNode selectedNode= problem.getCoveringNode(context);		if (!(selectedNode instanceof Name)) {			return;		}		Name name= (Name) selectedNode;		IBinding binding= name.resolveBinding();		if (!(binding instanceof IVariableBinding)) {			return;		}		IVariableBinding varBinding= (IVariableBinding) binding;				CompilationUnit astRoot= context.getASTRoot();		ASTNode node= astRoot.findDeclaringNode(binding);		if (node instanceof VariableDeclarationFragment) {			ASTRewrite rewrite= new ASTRewrite(node.getParent());						VariableDeclarationFragment fragment= (VariableDeclarationFragment) node;			if (fragment.getInitializer() != null) {				return;			}			Expression expression= ASTNodeFactory.newDefaultExpression(astRoot.getAST(), varBinding.getType());			if (expression == null) {				return;			}			fragment.setInitializer(expression);			rewrite.markAsInserted(expression);			String label= CorrectionMessages.getString("LocalCorrectionsSubProcessor.uninitializedvariable.description"); //$NON-NLS-1$			Image image= JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_CHANGE);						LinkedCorrectionProposal proposal= new LinkedCorrectionProposal(label, cu, rewrite, 6, image);			proposal.markAsLinked(rewrite, expression, false, "initializer"); //$NON-NLS-1$						proposal.ensureNoModifications();			proposals.add(proposal);					}	}