docs: @SuppressWarnings("unchecked")
      @NonNull
      public static Set<String> nonNullSet(@Nullable Collection<String> collection) {
          return collection == null || collection.isEmpty()
                  ? Collections.<String>emptySet()
                  : new HashSet<String>(collection);
      }