public static JComponent getPreviewIsNotAvailable(@NotNull RefEntity entity) {
    final String name = entity.getQualifiedName();
    return createLabelForText(InspectionsBundle.message("inspections.view.no.preview.label", name));
  }
public static JComponent getPreviewIsNotAvailable(@NotNull RefEntity entity)