Filter (@NotNull Project project, @NotNull GlobalSearchScope searchScope) { return super.getFilter(project, searchScope).and(new Filter() { @Override public boolean shouldAccept(AbstractTestProxy test) { return test.isLeaf(); } }); }