String (String path) { if (myImpl != null) { return myImpl.apply(path); } if (path.startsWith("/wsl$")) { Project project = findProjectByProjectPath(projectPath); myImpl = wslPathMapper(project != null ? findWSLDistribution(project) : null); return myImpl.apply(path); } return path; }