docs: public List<String> list() throws SecurityException {
          if (collectorsToList == null) {
              throw new IllegalArgumentException("Could not call Collectors.toList()");
          }
          final Object /* Stream<String> */ resourcesStream = ReflectionUtils.invokeMethod(moduleReader, "list",
                  /* throwException = */ true);
          if (resourcesStream == null) {
              throw new IllegalArgumentException("Could not call moduleReader.list()");
          }
          final Object resourcesList = ReflectionUtils.invokeMethod(resourcesStream, "collect", collectorClass,
                  collectorsToList, /* throwException = */ true);
          if (resourcesList == null) {
              throw new IllegalArgumentException("Could not call moduleReader.list().collect(Collectors.toList())");
          }
          @SuppressWarnings("unchecked")
          final List<String> resourcesListTyped = (List<String>) resourcesList;
          return resourcesListTyped;
      }