docs: private static List<BuiltInQProfile> reduceBuiltInQualityProfiles(Context context) throws SQLException {
      ListMultimap<String, BuiltInQProfile> builtInQPByLanguages = ArrayListMultimap.create();
  
      List<BuiltInQProfile> builtInQProfiles = context.prepareSelect("SELECT kee, language, name FROM rules_profiles WHERE is_built_in = ?")
        .setBoolean(1, true)
        .list(row -> new BuiltInQProfile(row.getString(1), row.getString(2), row.getString(3)));
  
      builtInQProfiles.forEach(builtInQProfile -> builtInQPByLanguages.put(builtInQProfile.language, builtInQProfile));
  
      // Filter all built in quality profiles to have only one by language
      // And prefer the one named "Sonar Way"
      builtInQPByLanguages.keySet().forEach(l -> {
        List<BuiltInQProfile> qps = builtInQPByLanguages.get(l);
        if (qps.size() > 1) {
          BuiltInQProfile sonarWay = qps.stream().filter(qp -> qp.name.equals("Sonar way"))
            .findFirst()
            .orElse(qps.get(0));
          qps.forEach(qp -> {
            if (qp.kee.equals(sonarWay.kee)) {
              return;
            }
            builtInQProfiles.remove(qp);
          });
        }
      });
  
      return builtInQProfiles;
    }