IType type= findType(method.getDeclaringClass(), scope); if (type == null) return null; return findMethod(method, type);
IMethod originalFindMethod= originalFindMethod(method, scope); if (CHECK_CORE_BINDING_GET_JAVA_ELEMENT) { IMethod iMethod= (IMethod) method.getJavaElement(); if (iMethod != null && ! iMethod.equals(originalFindMethod) || iMethod == null && originalFindMethod != null) { JavaPlugin.logRepeatedMessage("ITypeBinding#getJavaElement() is not correct element", "method == " + method.getKey() + ", project == " + scope.getElementName() + ", iMethod == " + iMethod + ", originalFindMethod == " + originalFindMethod); } } return originalFindMethod;
	public static IMethod findMethod(IMethodBinding method, IJavaProject scope) throws JavaModelException {		IType type= findType(method.getDeclaringClass(), scope);		if (type == null)			return null;		return findMethod(method, type);		}