docs: public List<Set<T>> getCycles() {
          return scc.stream().filter(cc ->
                  cc.size() > 1
                          || graph.get(Iterables.getOnlyElement(cc)).contains(Iterables.getOnlyElement(cc))
          )
                  .collect(Collectors.toList());
      }