void (@NotNull IdeaModule ideaModule, @NotNull DataNode<? extends ModuleData> moduleNode, @Nullable ExternalSourceSet sourceSet) { try { String jdkName = ideaModule.getJdkName(); String sdkName; if (jdkName != null || sourceSet == null || sourceSet.getJdkInstallationPath() == null) { sdkName = resolveSdkName(jdkName); } else { sdkName = lookupSdkByPath(sourceSet.getJdkInstallationPath()); } ModuleSdkData moduleSdkData = new ModuleSdkData(sdkName); moduleNode.createChild(ModuleSdkData.KEY, moduleSdkData); } // todo[nskvortsov] the catch can be omitted when the support of the Gradle < 3.4 will be dropped catch (UnsupportedMethodException ignore) { } }