void (@NotNull Project project, PsiMethod @NotNull [] methods, @NotNull List<String> filePaths, @NotNull TestDiscoveryProducer.PsiTestProcessor processor) { List<Couple<String>> classesAndMethods = ReadAction.nonBlocking(() -> Arrays.stream(methods) .map(method -> getMethodKey(method)).filter(Objects::nonNull).collect(Collectors.toList())).executeSynchronously(); processTestDiscovery(project, processor, classesAndMethods, filePaths); }