void (@NotNull TreeModelEvent event, @NotNull EventType type) { int testsCount = tree.getTestCount(); int classesCount = tree.getTestClassesCount(); popup.setCaption(JavaCompilerBundle.message("popup.title.affected.tests.counts", testsCount, testsCount == 1 ? 0 : 1, classesCount, classesCount == 1 ? 0 : 1, title)); }