@NotNull
        @Override
        public ValidationResult check() {
          if (isModified()) {
            String text = ModificationOfImportedModelWarningComponent.getWarningText(
              JavaUiBundle.message("facet.banner.text", myContext.getFacetName()), externalSource);
            return new ValidationResult(text);
          }
          return ValidationResult.OK;
        }
@NotNull
        @Override
        public ValidationResult check()