@Override
  public CompilerMessage @NotNull [] getMessages(@NotNull CompilerMessageCategory category) {
    return myMessages.getMessages(category).toArray(CompilerMessage.EMPTY_ARRAY);
  }
@Override
  public CompilerMessage @NotNull [] getMessages(@NotNull CompilerMessageCategory category)