code: public synchronized Set<Vulnerability> getSuppressedVulnerabilities(boolean sorted) {
          final Set<Vulnerability> vulnerabilitySet;
          if (sorted) {
              vulnerabilitySet = new TreeSet<>(suppressedVulnerabilities);
          } else {
              vulnerabilitySet = suppressedVulnerabilities;
          }
          return Collections.unmodifiableSet(vulnerabilitySet);
      }
docs: Get an unmodifiable, optionally sorted. set of suppressedVulnerabilities.
  
  @param sorted whether or not the set is sorted
  @return the unmodifiable sorted set of suppressedVulnerabilities