docs: private static List<String> getFilesSafeForUninstall(AddOn addOn, Set<AddOn> installedAddOns) {
          if (addOn.getFiles() == null || addOn.getFiles().isEmpty()) {
              return Collections.emptyList();
          }
  
          List<String> files = new ArrayList<>(addOn.getFiles());
          installedAddOns.forEach(installedAddOn -> {
              if (installedAddOn == addOn) {
                  return;
              }
  
              List<String> addOnFiles = installedAddOn.getFiles();
              if (addOnFiles == null || addOnFiles.isEmpty()) {
                  return;
              }
  
              files.removeAll(addOnFiles);
          });
          return files;
      }