mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
[java-decompiler] cleanup DecompilerPresetChangedCollector: fix usages of deprecated FUS APIs
GitOrigin-RevId: 85d52e446bfc8dcd771e7a8d41057eafdb962bcf
This commit is contained in:
committed by
intellij-monorepo-bot
parent
10e30ff2cb
commit
25d65487b4
+7
-1
@@ -7,11 +7,17 @@ import com.intellij.internal.statistic.eventLog.events.EventId1
|
||||
import com.intellij.internal.statistic.service.fus.collectors.CounterUsagesCollector
|
||||
|
||||
internal object DecompilerPresetChangedCollector : CounterUsagesCollector() {
|
||||
private val GROUP: EventLogGroup = EventLogGroup("java.decompiler", 1)
|
||||
private val GROUP: EventLogGroup = EventLogGroup(
|
||||
id = "java.decompiler",
|
||||
version = 1,
|
||||
recorder = "FUS",
|
||||
description = "This group contains events originating from the Java Bytecode Decompiler plugin.",
|
||||
)
|
||||
|
||||
private val DECOMPILER_PRESET_CHANGED: EventId1<DecompilerPreset> = GROUP.registerEvent(
|
||||
eventId = "decompiler.preset.changed",
|
||||
eventField1 = EventFields.Enum("preset", DecompilerPreset::class.java),
|
||||
description = "This event is collected whenever the user manually changes the decompiler preset while viewing decompiled bytecode.",
|
||||
)
|
||||
|
||||
override fun getGroup(): EventLogGroup = GROUP
|
||||
|
||||
Reference in New Issue
Block a user