// Instrument both the main sources and the test sources if the user has configured it
final MainInstrumenter mainInstrumenter = new MainInstrumenter(this, cloverOutputSourceDirectory);
final TestInstrumenter testInstrumenter = new TestInstrumenter(this, cloverOutputTestSourceDirectory);
if (isJavaProject()) {
mainInstrumenter.instrument();
if (this.includesTestSourceRoots) {
testInstrumenter.instrument();
}
}