ColumnInfo[] () { ArrayList<ColumnInfo> infos = new ArrayList<>(); infos.add(new ElementColumnInfo()); infos.add(new PercentageCoverageColumnInfo(1, JavaCoverageBundle.message("coverage.view.column.class"), mySuitesBundle, myStateBean)); infos.add(new PercentageCoverageColumnInfo(2, JavaCoverageBundle.message("coverage.view.column.method"), mySuitesBundle, myStateBean)); infos.add(new PercentageCoverageColumnInfo(3, JavaCoverageBundle.message("coverage.view.column.line"), mySuitesBundle, myStateBean)); RunConfigurationBase<?> runConfiguration = mySuitesBundle.getRunConfiguration(); if (runConfiguration != null) { JavaCoverageEnabledConfiguration coverageEnabledConfiguration = JavaCoverageEnabledConfiguration.getFrom(runConfiguration); if (coverageEnabledConfiguration != null) { tryAddBranches(infos, coverageEnabledConfiguration.getCoverageRunner(), coverageEnabledConfiguration.isBranchCoverageEnabled()); } } else { for (CoverageSuite suite : mySuitesBundle.getSuites()) { CoverageRunner runner = suite.getRunner(); if (tryAddBranches(infos, runner, false)) { break; } } } return infos.toArray(ColumnInfo.EMPTY_ARRAY); }