@SuppressWarnings({"UnusedReturnValue", "SameParameterValue"})
  private boolean updateScopeIf(@NotNull Class<? extends NamedScope> type) {
    NamedScopeFilter filter = getFilter();
    if (filter == null || !type.isInstance(filter.getScope())) {
      return false;
    }
    LOG.debug("update filter", filter);
    model.setFilter(filter);
    return true;
  }
@SuppressWarnings({"UnusedReturnValue", "SameParameterValue"})
  private boolean updateScopeIf(@NotNull Class<? extends NamedScope> type)