CoverageSuite (@NotNull final CoverageRunner covRunner, @NotNull final String name, @NotNull final CoverageFileProvider coverageDataFileProvider, @NotNull final CoverageEnabledConfiguration config) { if (config instanceof JavaCoverageEnabledConfiguration javaConfig) { return createSuite(covRunner, name, coverageDataFileProvider, javaConfig.getPatterns(), javaConfig.getExcludePatterns(), new Date().getTime(), javaConfig.isTrackPerTestCoverage() && javaConfig.isBranchCoverageEnabled(), javaConfig.isBranchCoverageEnabled(), javaConfig.isTrackTestFolders(), config.getConfiguration().getProject()); } return null; }