code: public void setModuleDirs(final Iterable<String> moduleDirs) {
          this.modulesDirs.clear();
          // Process each module directory
          for (String path : moduleDirs) {
              addModuleDir(path);
          }
          addDefaultModuleDir = false;
      }
docs: Replaces any previously set module directories with the collection of module directories.
  <p/>
  The default module directory will <i>NOT</i> be used if this method is invoked.
  
  @param moduleDirs the collection of module directories to use
  
  @throws java.lang.IllegalArgumentException if any of the module paths are invalid or {@code null}