void (@NotNull Path binDirectory, @NotNull Collection<Path> candidates) { try (var entries = Files.list(binDirectory)) { entries.filter(UnixPythonSdkFlavor::looksLikePythonBinary).collect(Collectors.toCollection(() -> candidates)); } catch (IOException ignored) { } }