@NotNull
  private static MessageEvent.Kind convertCategory(@NotNull CompilerMessageCategory category) {
    return switch (category) {
      case ERROR -> MessageEvent.Kind.ERROR;
      case WARNING -> MessageEvent.Kind.WARNING;
      case INFORMATION -> MessageEvent.Kind.INFO;
      case STATISTICS -> MessageEvent.Kind.STATISTICS;
    };
  }
@NotNull
  private static MessageEvent.Kind convertCategory(@NotNull CompilerMessageCategory category)