@NotNull
  static JComponent getInvalidEntityLabel(@NotNull RefEntity entity) {
    final String name = entity.getName();
    return createLabelForText(InspectionsBundle.message("inspections.view.invalid.label", name));
  }
@NotNull
  static JComponent getInvalidEntityLabel(@NotNull RefEntity entity)