public JacocoMavenInitializer(JaCoCoMavenPluginHandler handler) {
this.handler = handler;
}
@Override
public boolean shouldExecuteOnProject(Project project) {
<BUG>return project.getAnalysisType().equals(Project.AnalysisType.DYNAMIC) && project.getFileSystem().hasTestFiles(Java.INSTANCE);
}</BUG>
@Override
public void execute(Project project) {
}

public JacocoMavenInitializer(JaCoCoMavenPluginHandler handler) {
this.handler = handler;
}
@Override
public boolean shouldExecuteOnProject(Project project) {
return project.getAnalysisType().equals(Project.AnalysisType.DYNAMIC)
&& !project.getFileSystem().testFiles(Java.KEY).isEmpty();
}
@Override
public void execute(Project project) {
}
