code: protected final void instrumentPath(Log log, List<String> classpath, File path)
              throws MojoExecutionException {
          try {
              Instrumenter instrumenter = getInstrumenter(log, classpath);
              InstrumentationSettings settings = new InstrumentationSettings(markerType, debugMode, autoSerializable);
  
              PluginHelper.instrument(instrumenter, settings, path, path, log::info);
          } catch (Exception ex) {
              throw new MojoExecutionException("Unable to get compile classpath elements", ex);
          }
      }
docs: Instruments all classes in a path recursively.
  @param log maven logger
  @param classpath classpath for classes being instrumented
  @param path directory containing files to instrument
  @throws MojoExecutionException if any exception occurs