void (@NotNull Path pythonHomePath, @NotNull Set<Path> candidates) { Path pythonBinaryPath = pythonHomePath.resolve(Path.of("bin", "python3")); if (Files.isRegularFile(pythonBinaryPath)) { candidates.add(pythonBinaryPath); } }