public static @NlsContexts.Tooltip String getTooltipText(List<? extends DomElementProblemDescriptor> annotations,
                                                           @InspectionMessage String[] messages) {
    return getTooltipText(ArrayUtil.mergeArrays(getMessages(annotations), messages));
  }
public static @NlsContexts.Tooltip String getTooltipText(List<? extends DomElementProblemDescriptor> annotations,
                                                           @InspectionMessage String[] messages)