[analyzer] Fix IOOBE in setTrace notification

GitOrigin-RevId: d571258269284664d678c66c87e581a83f0acf83
This commit is contained in:
Gregory.Shrago
2025-07-15 11:36:13 +00:00
committed by intellij-monorepo-bot
parent 02caa4ea03
commit 2748e23311
@@ -15,8 +15,16 @@ data class LogTraceParams(
val verbose: String?
)
@Serializable
data class SetTraceParams(
/**
* The new value that should be assigned to the trace setting.
*/
val value: TraceValue,
)
val LogTraceNotificationType: NotificationType<LogTraceParams> =
NotificationType("\$/logTrace", LogTraceParams.serializer())
val SetTraceNotificationType: NotificationType<TraceValue> =
NotificationType("\$/setTrace", TraceValue.serializer())
val SetTraceNotificationType: NotificationType<SetTraceParams> =
NotificationType("\$/setTrace", SetTraceParams.serializer())