pm.subTask(NO_NAME);
	public RefactoringStatus checkInput(IProgressMonitor pm) throws JavaModelException {		try {			RefactoringStatus result= new RefactoringStatus();			fChangeManager.clear();			pm.beginTask(NO_NAME, 11);			pm.setTaskName(RefactoringCoreMessages.getString("SelfEncapsulateField.checking_preconditions")); //$NON-NLS-1$			pm.subTask(NO_NAME);	// XXX: http://bugs.eclipse.org/bugs/show_bug.cgi?id=6794			result.merge(checkMethodNames());			pm.worked(1);			if (result.hasFatalError())				return result;			pm.setTaskName(RefactoringCoreMessages.getString("SelfEncapsulateField.searching_for_cunits")); //$NON-NLS-1$			pm.subTask(NO_NAME); 	// XXX: http://bugs.eclipse.org/bugs/show_bug.cgi?id=6794			ICompilationUnit[] affectedCUs= RefactoringSearchEngine.findAffectedCompilationUnits(				new SubProgressMonitor(pm, 5), SearchEngine.createWorkspaceScope(),				SearchEngine.createSearchPattern(fField, IJavaSearchConstants.REFERENCES));			pm.setTaskName(RefactoringCoreMessages.getString("SelfEncapsulateField.analyzing"));	 //$NON-NLS-1$			IProgressMonitor sub= new SubProgressMonitor(pm, 5);			sub.beginTask(NO_NAME, affectedCUs.length);			BindingIdentifier fieldIdentifier= new BindingIdentifier(fFieldDeclaration.resolveBinding());			BindingIdentifier declaringClass= new BindingIdentifier(				((TypeDeclaration)ASTNodes.getParent(fFieldDeclaration, TypeDeclaration.class)).resolveBinding());			for (int i= 0; i < affectedCUs.length; i++) {				ICompilationUnit unit= affectedCUs[i];				sub.subTask(unit.getElementName());				CompilationUnit root= AST.parseCompilationUnit(unit, true);				if (isProcessable(result, root, unit)) {					TextChange change= fChangeManager.get(unit);					AccessAnalyzer analyzer= new AccessAnalyzer(this, unit, fieldIdentifier, declaringClass, change);					root.accept(analyzer);					result.merge(analyzer.getStatus());					if (!fSetterMustReturnValue) 						fSetterMustReturnValue= analyzer.getSetterMustReturnValue();				}				if (result.hasFatalError())					break;				sub.worked(1);			}			sub.done();			return result;		} catch (CoreException e) {			throw new JavaModelException(e);		}	}