boolean (@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; }