void (@NotNull WizardContext context) { DataNode<ProjectData> node = getExternalProjectNode(); if (node == null) { return; } DataNode<JavaProjectData> javaProjectNode = ExternalSystemApiUtil.find(node, JavaProjectData.KEY); if (javaProjectNode != null) { JavaProjectData data = javaProjectNode.getData(); context.setCompilerOutputDirectory(data.getCompileOutputPath()); JavaSdkVersion version = data.getJdkVersion(); Sdk jdk = JavaSdkVersionUtil.findJdkByVersion(version); if (jdk != null) { context.setProjectJdk(jdk); } } }