Icon (MessageEvent.Kind kind) { return switch (kind) { case ERROR -> NODE_ICON_ERROR; case WARNING -> NODE_ICON_WARNING; case INFO -> NODE_ICON_INFO; case STATISTICS -> NODE_ICON_STATISTICS; case SIMPLE -> NODE_ICON_SIMPLE; }; }