void () { if (!myEditorsInitialized) return; ProjectModelExternalSource externalSource = ModuleRootManager.getInstance(myModule).getExternalSource(); if (externalSource != null && isModified()) { myModificationOfImportedModelWarningComponent.showWarning( JavaUiBundle.message("project.roots.module.banner.text", myModule.getName()), externalSource); } else { myModificationOfImportedModelWarningComponent.hideWarning(); } }