private boolean relatedTypeDeclaresMethodName(IProgressMonitor pm, IMethod method, String newName) throws JavaModelException{
private IMethod relatedTypeDeclaresMethodName(IProgressMonitor pm, IMethod method, String newName) throws JavaModelException{
	private boolean relatedTypeDeclaresMethodName(IProgressMonitor pm, IMethod method, String newName) throws JavaModelException{		try{			pm.beginTask("", 2); //$NON-NLS-1$			Set types= getRelatedTypes(new SubProgressMonitor(pm, 1));			for (Iterator iter= types.iterator(); iter.hasNext(); ) {				IMethod m= Checks.findMethod(method, (IType)iter.next());				if (hierarchyDeclaresMethodName(new SubProgressMonitor(pm, 1), m, newName))					return true;			}			return false;		} finally {			pm.done();		}		}