void (@NotNull ModifiableRootModel rootModel) { // todo this should be moved to generic ModuleBuilder var projectSdk = ProjectRootManager.getInstance(rootModel.getProject()).getProjectSdk(); if (myJdk == null || equalSdks(myJdk, projectSdk)) { rootModel.inheritSdk(); } else { rootModel.setSdk(myJdk); } }