@SuppressWarnings("SpellCheckingInspection")
  private static List<String> getExclusions(OS os) {
    List<String> exclusions = new ArrayList<>(2);
    if (os != OS.Windows) {
      exclusions.add("/sun.awt.windows");
    }
    if (os != OS.macOS) {
      exclusions.add("/sun.lwawt");
      exclusions.add("/com.apple");
    }
    if (os != OS.Linux && os != OS.FreeBSD) {
      exclusions.add("/sun.awt.X11");
      exclusions.add("/com.sun.java.swing.plaf.gtk");
    }
    return exclusions;
  }
@SuppressWarnings("SpellCheckingInspection")
  private static List<String> getExclusions(OS os)