void (@NotNull IdeaModule ideaModule, @NotNull DataNode<? extends ModuleData> mainModuleNode) { try { File buildScriptSource = ideaModule.getGradleProject().getBuildScript().getSourceFile(); GradleProjectBuildScriptData buildProjectData = new GradleProjectBuildScriptData(buildScriptSource); mainModuleNode.createChild(GradleProjectBuildScriptData.KEY, buildProjectData); } catch (UnsupportedMethodException ignore) { } }