docs: public static <T> Set<T> setOf(T... objects) {
          if (objects == null || objects.length == 0) {
              return Collections.emptySet();
          }
          return new HashSet<>(Arrays.asList(objects));
      }