void (@NotNull DataContext dataContext) { myDataContext = CustomizedDataContext.create(IdeUiService.getInstance().createAsyncDataContext(dataContext), dataId -> { if (PlatformCoreDataKeys.MODULE.is(dataId)) { Module module = null; if (myRunnerAndConfigurationSettings != null && myRunnerAndConfigurationSettings.getConfiguration() instanceof ModuleBasedConfiguration<?, ?>) { module = ((ModuleBasedConfiguration<?, ?>)myRunnerAndConfigurationSettings.getConfiguration()).getConfigurationModule().getModule(); } return module == null ? CustomizedDataContext.EXPLICIT_NULL : module; } return null; }); }