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 ) ; } }
Instruments all classes in a path recursively .