code: private String getLinkIncremental(final CommandLineLinkerConfiguration linkerConfig) {
      String incremental = "0";
      final String[] args = linkerConfig.getPreArguments();
      for (final String arg : args) {
        if ("/INCREMENTAL:NO".equals(arg)) {
          incremental = "1";
        }
        if ("/INCREMENTAL:YES".equals(arg)) {
          incremental = "2";
        }
      }
      return incremental;
    }
docs: Get value of LinkIncremental property.
  
  @param linkerConfig
  linker configuration.
  @return value of LinkIncremental property