@NotNull
      private static Icon getIcon(@NotNull ErrorTreeElementKind kind) {
        return switch (kind) {
          case INFO -> AllIcons.General.Information;
          case ERROR -> AllIcons.General.Error;
          case WARNING -> AllIcons.General.Warning;
          case NOTE -> AllIcons.General.Tip;
          case GENERIC -> ICON_16;
        };
      }
@NotNull
      private static Icon getIcon(@NotNull ErrorTreeElementKind kind)