@NotNull
    public SearchScope getEffectiveSearchScope () {
      return myScope.intersectWith(PsiSearchHelper.getInstance(myProject).getUseScope(myElementToSearch));
    }
@NotNull
    public SearchScope getEffectiveSearchScope ()