mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] IJPL-224518 Cleanup private modifier usages with extensions/services in intellij.devkit.*
GitOrigin-RevId: 60ba9178c04c6b288b7cd405d393f6bedc1fca4f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
79d56857c1
commit
6a3b36b5a4
@@ -45,7 +45,7 @@ import javax.swing.JComponent
|
||||
|
||||
private val LOG = fileLogger()
|
||||
|
||||
private class NewRemoteDevModuleAction : DumbAwareAction() {
|
||||
internal class NewRemoteDevModuleAction : DumbAwareAction() {
|
||||
|
||||
override fun getActionUpdateThread(): ActionUpdateThread {
|
||||
return ActionUpdateThread.BGT
|
||||
|
||||
@@ -8,7 +8,7 @@ import com.intellij.openapi.roots.GeneratedSourceFilterNotification
|
||||
import com.intellij.openapi.roots.GeneratedSourcesFilter
|
||||
import com.intellij.openapi.vfs.VirtualFile
|
||||
|
||||
private class ContentReportGeneratedSourcesFilter : GeneratedSourcesFilter() {
|
||||
internal class ContentReportGeneratedSourcesFilter : GeneratedSourcesFilter() {
|
||||
override fun isGeneratedSource(file: VirtualFile, project: Project): Boolean {
|
||||
return IntelliJProjectUtil.isIntelliJPlatformProject(project) && file.name == "plugin-content.yaml"
|
||||
}
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ import org.jetbrains.idea.devkit.projectRoots.IdeaJdk
|
||||
/**
|
||||
* Startup activity that updates external annotations of IDEA JDKs configured in the project.
|
||||
*/
|
||||
private class IntelliJSdkExternalAnnotationsUpdateStartupActivity : ProjectActivity {
|
||||
internal class IntelliJSdkExternalAnnotationsUpdateStartupActivity : ProjectActivity {
|
||||
init {
|
||||
val application = ApplicationManager.getApplication()
|
||||
if (application.isUnitTestMode) {
|
||||
|
||||
@@ -19,7 +19,7 @@ private fun createComposeShowcaseComponent(): JComponent {
|
||||
}
|
||||
}
|
||||
|
||||
private class ComposeShowcaseAction : DumbAwareAction() {
|
||||
internal class ComposeShowcaseAction : DumbAwareAction() {
|
||||
override fun getActionUpdateThread(): ActionUpdateThread = ActionUpdateThread.BGT
|
||||
|
||||
override fun update(e: AnActionEvent) {
|
||||
|
||||
+3
-2
@@ -2,14 +2,15 @@
|
||||
package org.jetbrains.idea.devkit.debugger.settings
|
||||
|
||||
import com.intellij.openapi.options.BoundSearchableConfigurable
|
||||
import com.intellij.openapi.options.Configurable
|
||||
import com.intellij.openapi.options.ConfigurableProvider
|
||||
import com.intellij.openapi.ui.DialogPanel
|
||||
import com.intellij.ui.dsl.builder.bindSelected
|
||||
import com.intellij.ui.dsl.builder.panel
|
||||
import org.jetbrains.idea.devkit.debugger.DevKitDebuggerBundle
|
||||
|
||||
private class DevKitDebuggerConfigurableProvider : ConfigurableProvider() {
|
||||
override fun createConfigurable() = DevKitDebuggerConfigurable()
|
||||
internal class DevKitDebuggerConfigurableProvider : ConfigurableProvider() {
|
||||
override fun createConfigurable(): Configurable = DevKitDebuggerConfigurable()
|
||||
}
|
||||
|
||||
private class DevKitDebuggerConfigurable : BoundSearchableConfigurable(DevKitDebuggerBundle.message("configurable.name.ide.debugger"), "", "devkit.debugger") {
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ import com.intellij.xdebugger.impl.ui.tree.XDebuggerTree
|
||||
import com.intellij.xdebugger.impl.ui.tree.nodes.XValueNodeImpl
|
||||
import org.jetbrains.idea.devkit.debugger.DevKitDebuggerBundle
|
||||
|
||||
private class DisableIDEStateAction : AnAction() {
|
||||
internal class DisableIDEStateAction : AnAction() {
|
||||
override fun getActionUpdateThread() = ActionUpdateThread.EDT
|
||||
override fun update(e: AnActionEvent) {
|
||||
if (!DevKitDebuggerSettings.getInstance().showIdeState) {
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ private object PauseListener : DebuggerManagerListener {
|
||||
fun getSessionData(session: DebuggerSession): SessionThreadsData? = sessions[session]
|
||||
}
|
||||
|
||||
private class ResumeListener : SteppingListener {
|
||||
internal class ResumeListener : SteppingListener {
|
||||
override fun beforeResume(suspendContext: SuspendContextImpl) {
|
||||
val sessionData = PauseListener.getSessionData(suspendContext.debugProcess.session) ?: return
|
||||
sessionData.resetNonCancellableSection(suspendContext)
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ internal suspend fun getFreezeRunDescriptor(text: String, project: Project): Run
|
||||
}
|
||||
}
|
||||
|
||||
private class FreezeTabContentProvider : StacktraceTabContentProvider {
|
||||
internal class FreezeTabContentProvider : StacktraceTabContentProvider {
|
||||
override suspend fun createRunTabDescriptor(project: Project, text: String): RunContentDescriptor? {
|
||||
return getFreezeRunDescriptor(text, project)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user