private void refreshAggregatedScopes() {
      myScopeNames = myKeyNames.stream()
          .map(keyName -> myInspectionProfile.getNonDefaultTools(keyName, myProject))
          .flatMap(Collection::stream)
          .map(state -> state.getScopeName())
          .distinct()
          .sorted(myScopeComparator)
          .toArray(String[]::new);
    }
private void refreshAggregatedScopes()