boolean (Project project, MavenServerConnector connector, Sdk jdk, String multimoduleDirectory) { if (Registry.is("maven.server.per.idea.project")) return true; MavenDistributionsCache cache = MavenDistributionsCache.getInstance(project); MavenDistribution distribution = cache.getMavenDistribution(multimoduleDirectory); String vmOptions = cache.getVmOptions(multimoduleDirectory); return connector.isCompatibleWith(jdk, vmOptions, distribution); }