String (@NotNull String pathsValue, @NotNull PathMapper pathMapper, @NotNull String interpreterPath) { boolean isWin = RemoteFile.isWindowsPath(interpreterPath); List<String> paths = Lists.newArrayList(pathsValue.split(Pattern.quote("|"))); List<String> mappedPaths = new ArrayList<>(); for (String path : paths) { mappedPaths.add(new RemoteFile(pathMapper.convertToRemote(path), isWin).getPath()); } return Joiner.on('|').join(mappedPaths); }