JLabel (@NotNull LanguageHighlightLevel level, @NotNull @Nls String prefix, @NotNull @Nls String msg) { JLabel label = new JLabel(prefix + level.getLevel()); new HelpTooltip().setDescription(msg).installOn(label); return label; }