private static @InspectionMessage String[] getMessages(final List<? extends DomElementProblemDescriptor> problems) {
    String[] messages = new String[problems.size()];
    for (int i = 0; i < problems.size(); i++) {
      messages[i] = problems.get(i).getDescriptionTemplate();
    }
    return messages;
  }
private static @InspectionMessage String[] getMessages(final List<? extends DomElementProblemDescriptor> problems)