code: public void addIncludesToChain(String chain, List<String> includes, boolean recursive, boolean setToReader,
              boolean setToWriter) {
          long startTime = System.currentTimeMillis();
          Exception exception = null;
          if (cfg.exists()) {
  
              userDir = new File(System.getProperty("user.dir")).getAbsolutePath();
              System.setProperty("user.dir", options.getExecutionDirectory().getAbsolutePath());
              try {
                  ConfigurationManager manager = new ConfigurationManager(cfg, false);
                  manager.getProjectConfigurationProvider().addIncludesToChain(chain, includes, recursive, setToReader,
                          setToWriter);
              } catch (Exception e) {
                  exception = e;
              } finally {
                  System.setProperty("user.dir", userDir);
                  updateMsg(startTime, exception);
              }
          }
      }
docs: Adds a list of includes rules into a chain
  
  @param chain
  Chain to apply the includes list
  @param includes
  List of includes
  @param recursive
  If it necessary to set the parameter to all the submodules.
  @param setToReader
  If it is added into the reader includes list
  @param setToWriter
  If it is added into the writer includes list