boolean (@NotNull JavaParameters res) { Sdk jdk = res.getJdk(); if (jdk == null) { return false; } String rootPath = jdk.getHomePath(); if (rootPath == null) { return false; } return JdkUtil.isModularRuntime(rootPath); }