void (@NotNull Project project, @NotNull Set<? super String> patterns, @NotNull String classFQName, @NotNull String methodName, byte frameworkId) { List<Couple<String>> classesAndMethods = new SmartList<>(Couple.of(classFQName, methodName)); TestDiscoveryProducer.consumeDiscoveredTests(project, classesAndMethods, frameworkId, Collections.emptyList(), (c, m, p) -> { patterns.add(c + "," + m); return true; }); }