private static @NotNull Collection<String> collectAdditionalRequires(Iterable<String> options) {
    // --add-reads module=other-module(,other-module)*
    // The option specifies additional modules to be considered as required by a given module.
    final Set<String> result = new SmartHashSet<>();
    for (Iterator<String> it = options.iterator(); it.hasNext(); ) {
      final String option = it.next();
      if ("--add-reads".equalsIgnoreCase(option) && it.hasNext()) {
        final String moduleNames = StringUtil.substringAfter(it.next(), "=");
        if (moduleNames != null) {
          result.addAll(StringUtil.split(moduleNames, ","));
        }
      }
    }
    return result;
  }
private static @NotNull Collection<String> collectAdditionalRequires(Iterable<String> options)