private static boolean getExtractLocalProposal(IInvocationContext context, ASTNode covering, ArrayList proposals) throws CoreException {
private static boolean getExtractLocalProposal(IInvocationContext context, ASTNode covering, Collection proposals) throws CoreException {
	private static boolean getExtractLocalProposal(IInvocationContext context, ASTNode covering, ArrayList proposals) throws CoreException {		ASTNode node= context.getCoveredNode();				if (!(node instanceof Expression)) {			return false;		}		final Expression expression= (Expression) node;				ITypeBinding binding= expression.resolveTypeBinding();		if (binding == null || Bindings.isVoidType(binding)) {			return false;		}		if (proposals == null) {			return true;		}		final ICompilationUnit cu= context.getCompilationUnit();		final ExtractTempRefactoring refactoring= new ExtractTempRefactoring(cu, expression.getStartPosition(), expression.getLength());		if (refactoring.checkActivationBasics(context.getASTRoot(), new NullProgressMonitor()).isOK()) {			String label= CorrectionMessages.QuickAssistProcessor_extract_to_local_description;			Image image= JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_LOCAL);			CUCorrectionProposal proposal= new CUCorrectionProposal(label, cu, 5, image) {				protected TextChange createTextChange() throws CoreException {					refactoring.setTempName(refactoring.guessTempName());					if (!refactoring.checkFinalConditions(new NullProgressMonitor()).hasFatalError()) {						final CompositeChange change= (CompositeChange) refactoring.createChange(new NullProgressMonitor());						return (TextChange) change.getChildren()[0];					} else {						Document document= new Document(""); //$NON-NLS-1$						document.setInitialLineDelimiter(StubUtility.getLineDelimiterUsed(cu));						return new DocumentChange(getDisplayString(), document);					}				}			};			proposals.add(proposal);		}		return false;	}