From 12c8510643cce756e39e884f7d2c286ae3de63ec Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Sat, 5 Jul 2025 22:11:22 +0200 Subject: [PATCH] [ByteCodeViewer] change some service classes' visibility to internal GitOrigin-RevId: bc3ffb2571821de7442b1beebe4a62629c205016 --- .../com/intellij/byteCodeViewer/BytecodeEditorSynchronizer.kt | 2 +- .../com/intellij/byteCodeViewer/BytecodeToolWindowService.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/ByteCodeViewer/src/com/intellij/byteCodeViewer/BytecodeEditorSynchronizer.kt b/plugins/ByteCodeViewer/src/com/intellij/byteCodeViewer/BytecodeEditorSynchronizer.kt index c4badb5419af..bc80f09b642e 100644 --- a/plugins/ByteCodeViewer/src/com/intellij/byteCodeViewer/BytecodeEditorSynchronizer.kt +++ b/plugins/ByteCodeViewer/src/com/intellij/byteCodeViewer/BytecodeEditorSynchronizer.kt @@ -17,7 +17,7 @@ import com.intellij.ui.content.Content * automatically switch to the corresponding bytecode in the bytecode viewer. */ @Service(Service.Level.PROJECT) -class BytecodeEditorSynchronizer(private val project: Project) : FileEditorManagerListener { +internal class BytecodeEditorSynchronizer(private val project: Project) : FileEditorManagerListener { /** * Called when the selected editor changes. diff --git a/plugins/ByteCodeViewer/src/com/intellij/byteCodeViewer/BytecodeToolWindowService.kt b/plugins/ByteCodeViewer/src/com/intellij/byteCodeViewer/BytecodeToolWindowService.kt index d60c342532e5..89d2d98b55f5 100644 --- a/plugins/ByteCodeViewer/src/com/intellij/byteCodeViewer/BytecodeToolWindowService.kt +++ b/plugins/ByteCodeViewer/src/com/intellij/byteCodeViewer/BytecodeToolWindowService.kt @@ -19,7 +19,7 @@ import java.util.concurrent.ConcurrentHashMap * and properly unregistered when the project is disposed. */ @Service(Service.Level.PROJECT) -class BytecodeToolWindowService(private val project: Project) { +internal class BytecodeToolWindowService(private val project: Project) { private val registeredListeners = ConcurrentHashMap() /**