Sdk (@NotNull MavenProjectsManager mavenProjectsManager, @NotNull MavenProject mavenProject) { Module module = mavenProjectsManager.findModule(mavenProject); if (module == null) return null; return ModuleRootManager.getInstance(module).getSdk(); }