private void populateModuleSdkModel(@NotNull IdeaModule ideaModule, @NotNull DataNode<? extends ModuleData> moduleNode,
                                      @Nullable ExternalSourceSet sourceSet) {
    try {
      Sdk sdk = lookupModuleSdk(ideaModule, sourceSet);
      String sdkName = ObjectUtils.doIfNotNull(sdk, it -> it.getName());
      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) {
    }
  }
private void populateModuleSdkModel(@NotNull IdeaModule ideaModule, @NotNull DataNode<? extends ModuleData> moduleNode,
                                      @Nullable ExternalSourceSet sourceSet)