Navigatable (@NotNull Project project) { for (String directory : myMultimoduleDirectories) { Path extensions = Path.of(directory).resolve(".mvn").resolve("extensions.xml"); if (!extensions.toFile().isFile()) continue; if (MavenUtil.containsDeclaredExtension(extensions.toFile(), myUnresolvedExtensionId)) { return new FileNavigatable(project, new FilePosition(extensions.toFile(), 0, 0)); } } return null; }