public static @NlsContexts.Tooltip String getTooltipText(List<? extends DomElementProblemDescriptor> annotations) {
    if (annotations.size() == 0) return null;

    return getTooltipText(getMessages(annotations));
  }
public static @NlsContexts.Tooltip String getTooltipText(List<? extends DomElementProblemDescriptor> annotations)