result.addError("Cannot rename this method - it is a special case (see the spec. 9.2)");
result.addError("Cannot rename this method because it is a special case (see the language specification section 9.2 for details)");
	public RefactoringStatus checkInput(IProgressMonitor pm) throws JavaModelException{		pm.beginTask("", 10);		pm.subTask("checking preconditions");		RefactoringStatus result= new RefactoringStatus();		result.merge(super.checkInput(new SubProgressMonitor(pm, 6)));		pm.subTask("analyzing hierarchy");		if (isSpecialCase())			result.addError("Cannot rename this method - it is a special case (see the spec. 9.2)");		pm.worked(1);		pm.subTask("analyzing hierarchy");		if (relatedTypeDeclaresMethodName(new SubProgressMonitor(pm, 3), getMethod(), getNewName()))			result.addError("A related type declares a method with the new name (and same number of parameters)");		pm.done();		return result;	}