static @NotNull JLabel createRatingLabel(@NotNull JPanel panel,
                                           @Nullable Object constraints,
                                           @NotNull @Nls String text,
                                           @Nullable Icon icon,
                                           @Nullable Color color,
                                           boolean tiny) {
    JLabel label = new JLabel(text, icon, SwingConstants.CENTER);
    label.setOpaque(false);
    label.setIconTextGap(2);
    if (color != null) {
      label.setForeground(color);
    }
    panel.add(tiny ? PluginManagerConfigurable.setTinyFont(label) : label, constraints);
    return label;
  }
static @NotNull JLabel createRatingLabel(@NotNull JPanel panel,
                                           @Nullable Object constraints,
                                           @NotNull @Nls String text,
                                           @Nullable Icon icon,
                                           @Nullable Color color,
                                           boolean tiny)