private static SearchScope getExtendedUseScope(PsiMethod method) {
    return PsiSearchHelper.getInstance(method.getProject()).getUseScope(method);
  }
private static SearchScope getExtendedUseScope(PsiMethod method)