extract intellij.platform.ide.observable (required to extract UI DSL)

GitOrigin-RevId: cf1e7fc1e73a9a6cfb29041d48dfd6f3286ef890
This commit is contained in:
Vladimir Krivosheev
2024-12-16 19:34:14 +00:00
committed by intellij-monorepo-bot
parent ad2ba1dd29
commit 87671ad22c
141 changed files with 522 additions and 441 deletions
+3 -2
View File
@@ -698,6 +698,7 @@
<module fileurl="file://$PROJECT_DIR$/platform/platform-impl/internal/intellij.platform.ide.internal.iml" filepath="$PROJECT_DIR$/platform/platform-impl/internal/intellij.platform.ide.internal.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/new-ui-onboarding/intellij.platform.ide.newUiOnboarding.iml" filepath="$PROJECT_DIR$/platform/new-ui-onboarding/intellij.platform.ide.newUiOnboarding.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/new-users-onboarding/intellij.platform.ide.newUsersOnboarding.iml" filepath="$PROJECT_DIR$/platform/new-users-onboarding/intellij.platform.ide.newUsersOnboarding.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/observable/intellij.platform.ide.observable.iml" filepath="$PROJECT_DIR$/platform/observable/intellij.platform.ide.observable.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/progress/shared/intellij.platform.ide.progress.iml" filepath="$PROJECT_DIR$/platform/progress/shared/intellij.platform.ide.progress.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/platform-impl/remote/intellij.platform.ide.remote.iml" filepath="$PROJECT_DIR$/platform/platform-impl/remote/intellij.platform.ide.remote.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/platform-impl/rpc/intellij.platform.ide.rpc.iml" filepath="$PROJECT_DIR$/platform/platform-impl/rpc/intellij.platform.ide.rpc.iml" />
@@ -949,12 +950,12 @@
<module fileurl="file://$PROJECT_DIR$/plugins/settings-sync/jba/intellij.settingsSync.jba.iml" filepath="$PROJECT_DIR$/plugins/settings-sync/jba/intellij.settingsSync.jba.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/sh/intellij.sh.iml" filepath="$PROJECT_DIR$/plugins/sh/intellij.sh.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/sh/copyright/intellij.sh.copyright.iml" filepath="$PROJECT_DIR$/plugins/sh/copyright/intellij.sh.copyright.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/sh/copyright/tests/intellij.sh.copyright.tests.iml" filepath="$PROJECT_DIR$/plugins/sh/copyright/tests/intellij.sh.copyright.tests.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/sh/copyright/intellij.sh.copyright.tests.iml" filepath="$PROJECT_DIR$/plugins/sh/copyright/intellij.sh.copyright.tests.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/sh/core/intellij.sh.core.iml" filepath="$PROJECT_DIR$/plugins/sh/core/intellij.sh.core.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/sh/markdown/intellij.sh.markdown.iml" filepath="$PROJECT_DIR$/plugins/sh/markdown/intellij.sh.markdown.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/sh/python/intellij.sh.python.iml" filepath="$PROJECT_DIR$/plugins/sh/python/intellij.sh.python.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/sh/terminal/intellij.sh.terminal.iml" filepath="$PROJECT_DIR$/plugins/sh/terminal/intellij.sh.terminal.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/sh/core/tests/intellij.sh.tests.iml" filepath="$PROJECT_DIR$/plugins/sh/core/tests/intellij.sh.tests.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/sh/core/intellij.sh.tests.iml" filepath="$PROJECT_DIR$/plugins/sh/core/intellij.sh.tests.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/smart-update/intellij.smart.update.iml" filepath="$PROJECT_DIR$/platform/smart-update/intellij.smart.update.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/space/jps-plugin/intellij.space.java.jps.iml" filepath="$PROJECT_DIR$/plugins/space/jps-plugin/intellij.space.java.jps.iml" />
<module fileurl="file://$PROJECT_DIR$/spellchecker/intellij.spellchecker.iml" filepath="$PROJECT_DIR$/spellchecker/intellij.spellchecker.iml" />
@@ -48,6 +48,7 @@
<orderEntry type="module" module-name="intellij.platform.diagnostic.telemetry" />
<orderEntry type="module" module-name="intellij.platform.diagnostic.telemetry.exporters" />
<orderEntry type="library" scope="RUNTIME" name="slf4j-api" level="project" />
<orderEntry type="module" module-name="intellij.platform.util.ex" />
<orderEntry type="library" scope="RUNTIME" name="slf4j-jdk14" level="project" />
<orderEntry type="library" scope="RUNTIME" name="bouncy-castle-provider" level="project" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
+1
View File
@@ -17,6 +17,7 @@
<orderEntry type="module" module-name="intellij.java.impl.refactorings" />
<orderEntry type="module" module-name="intellij.java.aetherDependencyResolver" />
<orderEntry type="module" module-name="intellij.platform.vcs.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="library" name="jna" level="project" />
<orderEntry type="module" module-name="intellij.platform.externalSystem" />
@@ -12,6 +12,7 @@
<orderEntry type="module" module-name="intellij.platform.jps.model.tests" exported="" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testExtensions" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" />
<orderEntry type="module" module-name="intellij.platform.workspace.jps" scope="RUNTIME" />
</component>
</module>
+1
View File
@@ -11,6 +11,7 @@
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.json" scope="TEST" />
<orderEntry type="module" module-name="intellij.spellchecker" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testExtensions" scope="TEST" />
<orderEntry type="library" scope="TEST" name="kotlin-stdlib" level="project" />
<orderEntry type="module" module-name="intellij.platform.langInjection" scope="TEST" />
@@ -38,6 +38,7 @@
<orderEntry type="module" module-name="intellij.platform.codeStyle" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.ide.util.io" />
<orderEntry type="module" module-name="intellij.notebooks.ui" />
<orderEntry type="library" scope="TEST" name="assertJ" level="project" />
@@ -26,6 +26,7 @@
<orderEntry type="library" scope="TEST" name="kotlinx-coroutines-core" level="project" />
<orderEntry type="module" module-name="intellij.platform.util.zip" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.util.ex" scope="TEST" />
<orderEntry type="module" module-name="intellij.idea.community.build.zip" scope="TEST" />
</component>
</module>
@@ -11,6 +11,7 @@
<orderEntry type="module" module-name="intellij.platform.projectModel" />
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.debugger" />
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="library" name="gson" level="project" />
@@ -167,7 +167,7 @@ internal class BuiltInWebServerAbsolutePathTest : BuiltInServerTestCase() {
val host = "http://localhost:${BuiltInServerManager.getInstance().port}"
val builder = HttpRequest.newBuilder(URI("$host/script.js"))
builder.header(TOKEN_HEADER_NAME, acquireToken())
builder.header(TOKEN_HEADER_NAME, service<BuiltInWebServerAuth>().acquireToken())
builder.header(HttpHeaderNames.REFERER.toString(), "${host}/${project.name}/index.html")
val client = HttpClient.newBuilder().followRedirects(HttpClient.Redirect.ALWAYS).build()
@@ -14,6 +14,7 @@
<orderEntry type="module" module-name="intellij.platform.vcs.log.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.core" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.editor.ex" />
@@ -21,6 +21,7 @@
<orderEntry type="module" module-name="intellij.platform.ide.core.plugins" />
<orderEntry type="library" name="StreamEx" level="project" />
<orderEntry type="module" module-name="intellij.platform.concurrency" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.util.ex" />
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" />
<orderEntry type="library" name="fastutil-min" level="project" />
@@ -10,6 +10,8 @@
<orderEntry type="module" module-name="intellij.platform.ide.util.io" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.execution.impl" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.execution" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.concurrency" scope="TEST" />
<orderEntry type="library" scope="TEST" name="assertJ" level="project" />
</component>
</module>
@@ -1,6 +1,16 @@
package com.intellij.execution.multilaunch.design.columns.impl
import com.intellij.execution.ExecutionBundle
import com.intellij.execution.multilaunch.design.ExecutableRow
import com.intellij.execution.multilaunch.design.MultiLaunchConfigurationViewModel
import com.intellij.execution.multilaunch.design.columns.ExecutableTableColumn
import com.intellij.execution.multilaunch.design.components.DropDownDecorator
import com.intellij.execution.multilaunch.design.components.UnknownItemLabel
import com.intellij.execution.multilaunch.design.popups.SelectorPopupProvider
import com.intellij.execution.multilaunch.design.popups.SelectorPopupsContainer
import com.intellij.execution.multilaunch.execution.conditions.Condition
import com.intellij.execution.multilaunch.execution.conditions.ConditionFactory
import com.intellij.execution.multilaunch.execution.conditions.ConditionTemplate
import com.intellij.ide.ui.laf.darcula.ui.DarculaButtonUI
import com.intellij.openapi.observable.properties.AtomicProperty
import com.intellij.openapi.ui.DialogPanel
@@ -15,16 +25,6 @@ import com.intellij.ui.dsl.builder.*
import com.intellij.util.ui.AbstractTableCellEditor
import com.intellij.util.ui.JBUI
import com.intellij.util.ui.UIUtil
import com.intellij.execution.multilaunch.design.ExecutableRow
import com.intellij.execution.multilaunch.design.MultiLaunchConfigurationViewModel
import com.intellij.execution.multilaunch.design.columns.ExecutableTableColumn
import com.intellij.execution.multilaunch.design.components.DropDownDecorator
import com.intellij.execution.multilaunch.design.components.UnknownItemLabel
import com.intellij.execution.multilaunch.design.popups.SelectorPopupProvider
import com.intellij.execution.multilaunch.design.popups.SelectorPopupsContainer
import com.intellij.execution.multilaunch.execution.conditions.Condition
import com.intellij.execution.multilaunch.execution.conditions.ConditionFactory
import com.intellij.execution.multilaunch.execution.conditions.ConditionTemplate
import java.awt.Component
import java.awt.Dimension
import java.awt.event.ActionEvent
@@ -32,7 +32,7 @@ import javax.swing.JLabel
import javax.swing.JTable
import javax.swing.table.DefaultTableCellRenderer
class ConditionColumn(
internal class ConditionColumn(
private val viewModel: MultiLaunchConfigurationViewModel
) : ExecutableTableColumn<Condition>(
ExecutionBundle.message("run.configurations.multilaunch.table.column.condition")) {
@@ -15,6 +15,7 @@
<orderEntry type="module" module-name="intellij.platform.lang" />
<orderEntry type="module" module-name="intellij.platform.externalSystem.rt" exported="" />
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
<orderEntry type="module" module-name="intellij.platform.objectSerializer" />
<orderEntry type="module" module-name="intellij.platform.objectSerializer.annotations" />
@@ -36,6 +36,7 @@
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.execution.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.testRunner" />
<orderEntry type="module" module-name="intellij.platform.configurationStore.impl" />
<orderEntry type="library" name="kotlin-reflect" level="project" />
@@ -15,6 +15,7 @@
<orderEntry type="module" module-name="intellij.platform.objectSerializer" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testExtensions" scope="TEST" />
<orderEntry type="module" module-name="intellij.java.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.configurationStore.tests" scope="TEST" />
<orderEntry type="module" module-name="intellij.java.compiler.tests" scope="TEST" />
<orderEntry type="module" module-name="intellij.java.compiler.impl" scope="TEST" />
@@ -161,7 +161,7 @@ class MockProjectAware(
}
}
val LOG = Logger.getInstance(MockProjectAware::class.java)
private val LOG = Logger.getInstance(MockProjectAware::class.java)
fun <R> waitForAllProjectActivities(action: () -> R): R {
return project.trackActivityBlocking(MockProjectReloadActivityKey, action)
@@ -35,6 +35,7 @@
<orderEntry type="module" module-name="intellij.platform.core.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="library" name="kotlinx-serialization-core" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="library" name="kotlinx-serialization-json" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="library" name="kotlinx-datetime-jvm" level="project" />
@@ -27,7 +27,7 @@ import javax.swing.Action
import javax.swing.JComponent
import javax.swing.SwingUtilities
class LocalizationFeedbackDialog(
internal class LocalizationFeedbackDialog(
private val myProject: Project?,
private val forTest: Boolean
) : DialogWrapper(myProject) {
@@ -2,4 +2,4 @@ kotlin/jvm/internal/DefaultConstructorMarker
kotlinx/serialization/descriptors/SerialDescriptor
kotlinx/serialization/encoding/Decoder
kotlinx/serialization/encoding/Encoder
kotlinx/serialization/internal/GeneratedSerializer
kotlinx/serialization/internal/GeneratedSerializer
@@ -7,6 +7,7 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
</component>
</module>
@@ -32,6 +32,7 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.core" exported="" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.extensions" exported="" />
<orderEntry type="module" module-name="intellij.platform.analysis" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
@@ -65,6 +65,7 @@
<orderEntry type="library" name="jackson-databind" level="project" />
<orderEntry type="library" name="jackson-module-kotlin" level="project" />
<orderEntry type="library" name="xz" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="library" name="StreamEx" level="project" />
<orderEntry type="module" module-name="intellij.platform.statistics" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
@@ -13,6 +13,7 @@
<orderEntry type="library" name="OroMatcher" level="project" />
<orderEntry type="library" scope="TEST" name="JUnit4" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" exported="" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.usageView" />
<orderEntry type="library" name="cli-parser" level="project" />
<orderEntry type="module" module-name="intellij.platform.indexing" />
@@ -13,6 +13,7 @@
<orderEntry type="module" module-name="intellij.platform.testExtensions" scope="TEST" />
<orderEntry type="library" scope="TEST" name="assertJ" level="project" />
<orderEntry type="module" module-name="intellij.platform.objectSerializer" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.util.ex" />
<orderEntry type="module" module-name="intellij.platform.objectSerializer.annotations" scope="TEST" />
<orderEntry type="library" name="ion" level="project" />
<orderEntry type="library" name="fastutil-min" level="project" />
@@ -0,0 +1,54 @@
*:com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- *sf:Companion:com.intellij.openapi.observable.dispatcher.SingleEventDispatcher$Companion
- s:create():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher$Multicaster
- s:create():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0$Multicaster
- s:create2():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2$Multicaster
- a:filterEvents(kotlin.jvm.functions.Function1):com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:ignoreParameters():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- a:mapParameters(kotlin.jvm.functions.Function1):com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:onceWhenEventHappened(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1):V
- onceWhenEventHappened(kotlin.jvm.functions.Function1):V
- a:whenEventHappened(I,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1):V
- whenEventHappened(I,kotlin.jvm.functions.Function1):V
- a:whenEventHappened(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1):V
- whenEventHappened(kotlin.jvm.functions.Function1):V
*f:com.intellij.openapi.observable.dispatcher.SingleEventDispatcher$Companion
- f:create():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher$Multicaster
- f:create():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0$Multicaster
- f:create2():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2$Multicaster
*:com.intellij.openapi.observable.dispatcher.SingleEventDispatcher$Multicaster
- com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:fireEvent(java.lang.Object):V
*Fa:com.intellij.openapi.observable.operation.core.AbstractObservableOperationTrace
- com.intellij.openapi.observable.operation.core.ObservableTaskOperationTrace
- <init>():V
- getDetachTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- getFinishObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- getFinishTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2
- getScheduleObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- getScheduleTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- getStartObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- getStartTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
*f:com.intellij.openapi.observable.operation.core.AtomicOperationTrace
- com.intellij.openapi.observable.operation.core.AbstractObservableOperationTrace
- com.intellij.openapi.observable.operation.core.MutableOperationTrace
- *sf:Companion:com.intellij.openapi.observable.operation.core.AtomicOperationTrace$Companion
- <init>():V
- <init>(java.lang.String):V
- <init>(java.lang.String,Z):V
- <init>(Z):V
- detach(com.intellij.openapi.observable.operation.OperationExecutionId):V
- detachAll():V
- getName():java.lang.String
- getState():com.intellij.openapi.observable.operation.core.ObservableOperationState
- getStatus():com.intellij.openapi.observable.operation.core.ObservableOperationStatus
- traceFinish(com.intellij.openapi.observable.operation.OperationExecutionId,com.intellij.openapi.observable.operation.OperationExecutionStatus):V
- traceSchedule(com.intellij.openapi.observable.operation.OperationExecutionId):V
- traceStart(com.intellij.openapi.observable.operation.OperationExecutionId):V
*f:com.intellij.openapi.observable.operation.core.AtomicOperationTrace$Companion
*:com.intellij.openapi.observable.operation.core.ObservableOperationTrace
- a:getFinishObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- a:getName():java.lang.String
- a:getScheduleObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- a:getStartObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- a:getStatus():com.intellij.openapi.observable.operation.core.ObservableOperationStatus
+263
View File
@@ -0,0 +1,263 @@
com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- a:getDelegateDispatcher():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:onceWhenEventHappened(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- onceWhenEventHappened(kotlin.jvm.functions.Function0):V
- a:whenEventHappened(I,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- whenEventHappened(I,kotlin.jvm.functions.Function0):V
- a:whenEventHappened(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- whenEventHappened(kotlin.jvm.functions.Function0):V
com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0$Multicaster
- com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- a:fireEvent():V
com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2
- a:filterEvents(kotlin.jvm.functions.Function2):com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2
- a:getDelegateDispatcher():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:ignoreParameters():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- a:mapParameters(kotlin.jvm.functions.Function2):com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2
- a:mapParameters(kotlin.jvm.functions.Function2):com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:onceWhenEventHappened(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function2):V
- onceWhenEventHappened(kotlin.jvm.functions.Function2):V
- a:whenEventHappened(I,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function2):V
- whenEventHappened(I,kotlin.jvm.functions.Function2):V
- a:whenEventHappened(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function2):V
- whenEventHappened(kotlin.jvm.functions.Function2):V
com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2$Multicaster
- com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2
- a:fireEvent(java.lang.Object,java.lang.Object):V
com.intellij.openapi.observable.operation.OperationExecutionContext
- sf:Companion:com.intellij.openapi.observable.operation.OperationExecutionContext$Companion
- a:findData(com.intellij.openapi.observable.operation.OperationExecutionContext$ContextKey):java.lang.Object
- a:getData(com.intellij.openapi.observable.operation.OperationExecutionContext$ContextKey):java.lang.Object
com.intellij.openapi.observable.operation.OperationExecutionContext$Builder
- com.intellij.openapi.observable.operation.OperationExecutionContext
- putData(com.intellij.openapi.observable.operation.OperationExecutionContext$ContextKey,java.lang.Object):V
- a:putData(com.intellij.openapi.observable.operation.OperationExecutionContext$ContextKey,java.lang.Object,com.intellij.openapi.Disposable):V
f:com.intellij.openapi.observable.operation.OperationExecutionContext$Companion
- f:create(kotlin.jvm.functions.Function1):com.intellij.openapi.observable.operation.OperationExecutionContext
- f:createKey(java.lang.String):com.intellij.openapi.observable.operation.OperationExecutionContext$ContextKey
- bs:createKey$default(com.intellij.openapi.observable.operation.OperationExecutionContext$Companion,java.lang.String,I,java.lang.Object):com.intellij.openapi.observable.operation.OperationExecutionContext$ContextKey
com.intellij.openapi.observable.operation.OperationExecutionContext$ContextKey
com.intellij.openapi.observable.operation.OperationExecutionId
- sf:Companion:com.intellij.openapi.observable.operation.OperationExecutionId$Companion
- a:getExecutionContext():com.intellij.openapi.observable.operation.OperationExecutionContext
f:com.intellij.openapi.observable.operation.OperationExecutionId$Companion
- f:createId(java.lang.String,com.intellij.openapi.observable.operation.OperationExecutionContext):com.intellij.openapi.observable.operation.OperationExecutionId
- f:createId(java.lang.String,kotlin.jvm.functions.Function1):com.intellij.openapi.observable.operation.OperationExecutionId
- bs:createId$default(com.intellij.openapi.observable.operation.OperationExecutionId$Companion,java.lang.String,com.intellij.openapi.observable.operation.OperationExecutionContext,I,java.lang.Object):com.intellij.openapi.observable.operation.OperationExecutionId
- bs:createId$default(com.intellij.openapi.observable.operation.OperationExecutionId$Companion,java.lang.String,kotlin.jvm.functions.Function1,I,java.lang.Object):com.intellij.openapi.observable.operation.OperationExecutionId
- f:getNONE():com.intellij.openapi.observable.operation.OperationExecutionId
com.intellij.openapi.observable.operation.OperationExecutionStatus
- sf:Companion:com.intellij.openapi.observable.operation.OperationExecutionStatus$Companion
f:com.intellij.openapi.observable.operation.OperationExecutionStatus$Cancel
- com.intellij.openapi.observable.operation.OperationExecutionStatus
- sf:INSTANCE:com.intellij.openapi.observable.operation.OperationExecutionStatus$Cancel
f:com.intellij.openapi.observable.operation.OperationExecutionStatus$Companion
- f:getKEY():com.intellij.openapi.actionSystem.DataKey
f:com.intellij.openapi.observable.operation.OperationExecutionStatus$Failure
- com.intellij.openapi.observable.operation.OperationExecutionStatus
- <init>():V
- <init>(java.lang.String):V
- <init>(java.lang.Throwable):V
- f:getCause():java.lang.Throwable
- f:getMessage():java.lang.String
f:com.intellij.openapi.observable.operation.OperationExecutionStatus$Success
- com.intellij.openapi.observable.operation.OperationExecutionStatus
- sf:INSTANCE:com.intellij.openapi.observable.operation.OperationExecutionStatus$Success
com.intellij.openapi.observable.operation.core.MutableOperationTrace
- com.intellij.openapi.observable.operation.core.ObservableTaskOperationTrace
- a:detach(com.intellij.openapi.observable.operation.OperationExecutionId):V
- bs:detach$default(com.intellij.openapi.observable.operation.core.MutableOperationTrace,com.intellij.openapi.observable.operation.OperationExecutionId,I,java.lang.Object):V
- a:detachAll():V
- a:traceFinish(com.intellij.openapi.observable.operation.OperationExecutionId,com.intellij.openapi.observable.operation.OperationExecutionStatus):V
- bs:traceFinish$default(com.intellij.openapi.observable.operation.core.MutableOperationTrace,com.intellij.openapi.observable.operation.OperationExecutionId,com.intellij.openapi.observable.operation.OperationExecutionStatus,I,java.lang.Object):V
- a:traceSchedule(com.intellij.openapi.observable.operation.OperationExecutionId):V
- bs:traceSchedule$default(com.intellij.openapi.observable.operation.core.MutableOperationTrace,com.intellij.openapi.observable.operation.OperationExecutionId,I,java.lang.Object):V
- a:traceStart(com.intellij.openapi.observable.operation.OperationExecutionId):V
- bs:traceStart$default(com.intellij.openapi.observable.operation.core.MutableOperationTrace,com.intellij.openapi.observable.operation.OperationExecutionId,I,java.lang.Object):V
com.intellij.openapi.observable.operation.core.ObservableOperationState
- a:component1():com.intellij.openapi.observable.operation.core.ObservableOperationStatus
- a:component2():java.util.Map
- a:component3():java.util.Map
- a:getScheduled():java.util.Map
- a:getStarted():java.util.Map
- a:getStatus():com.intellij.openapi.observable.operation.core.ObservableOperationStatus
e:com.intellij.openapi.observable.operation.core.ObservableOperationStatus
- java.lang.Enum
- sf:COMPLETED:com.intellij.openapi.observable.operation.core.ObservableOperationStatus
- sf:IN_PROGRESS:com.intellij.openapi.observable.operation.core.ObservableOperationStatus
- sf:SCHEDULED:com.intellij.openapi.observable.operation.core.ObservableOperationStatus
- s:getEntries():kotlin.enums.EnumEntries
- s:valueOf(java.lang.String):com.intellij.openapi.observable.operation.core.ObservableOperationStatus
- s:values():com.intellij.openapi.observable.operation.core.ObservableOperationStatus[]
f:com.intellij.openapi.observable.operation.core.ObservableOperationTraceUtil
- sf:onceWhenOperationFinished(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:onceWhenOperationFinished(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:onceWhenOperationScheduled(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:onceWhenOperationScheduled(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:onceWhenOperationStarted(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:onceWhenOperationStarted(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:whenOperationFinished(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,I,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenOperationFinished(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,I,kotlin.jvm.functions.Function0):V
- sf:whenOperationFinished(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenOperationFinished(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:whenOperationScheduled(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,I,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenOperationScheduled(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,I,kotlin.jvm.functions.Function0):V
- sf:whenOperationScheduled(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenOperationScheduled(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:whenOperationStarted(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,I,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenOperationStarted(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,I,kotlin.jvm.functions.Function0):V
- sf:whenOperationStarted(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenOperationStarted(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:withCompletedOperation(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:withCompletedOperation(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:withScheduledOperation(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:withScheduledOperation(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:withStartedOperation(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:withStartedOperation(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
com.intellij.openapi.observable.operation.core.ObservableTaskOperationTrace
- com.intellij.openapi.observable.operation.core.ObservableOperationTrace
- a:getDetachTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:getFinishTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2
- a:getScheduleTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:getStartTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:getState():com.intellij.openapi.observable.operation.core.ObservableOperationState
f:com.intellij.openapi.observable.operation.core.OperationUtilKt
- sf:getOperationInProgressProperty(com.intellij.openapi.observable.operation.core.ObservableOperationTrace):com.intellij.openapi.observable.properties.ObservableBooleanProperty
- sf:isOperationCompleted(com.intellij.openapi.observable.operation.core.ObservableOperationTrace):Z
- sf:isOperationInProgress(com.intellij.openapi.observable.operation.core.ObservableOperationTrace):Z
- sf:isOperationScheduled(com.intellij.openapi.observable.operation.core.ObservableOperationTrace):Z
- sf:traceRun(com.intellij.openapi.observable.operation.core.MutableOperationTrace,com.intellij.openapi.observable.operation.OperationExecutionId,kotlin.jvm.functions.Function0):java.lang.Object
- bs:traceRun$default(com.intellij.openapi.observable.operation.core.MutableOperationTrace,com.intellij.openapi.observable.operation.OperationExecutionId,kotlin.jvm.functions.Function0,I,java.lang.Object):java.lang.Object
f:com.intellij.openapi.observable.operation.core.PromiseUtilKt
- sf:awaitOperation-jKevqZI(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,J,J,kotlin.jvm.functions.Function1,kotlin.coroutines.Continuation):java.lang.Object
- sf:awaitOperationCompletion-8Mi8wO0(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,J,kotlin.coroutines.Continuation):java.lang.Object
- sf:getOperationCompletionPromise(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable):org.jetbrains.concurrency.Promise
- sf:getOperationFinishPromise(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable):org.jetbrains.concurrency.Promise
- sf:getOperationSchedulePromise(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable):org.jetbrains.concurrency.Promise
- sf:getOperationStartPromise(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable):org.jetbrains.concurrency.Promise
- sf:waitForOperation-vLdBGDU(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,J,J,com.intellij.openapi.util.ThrowableComputable):java.lang.Object
- sf:waitForOperationCompletion-HG0u8IE(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,J):V
f:com.intellij.openapi.observable.operation.core.ResultUtilKt
- sf:onFailureCatching(java.lang.Object,kotlin.jvm.functions.Function1):java.lang.Object
Fa:com.intellij.openapi.observable.properties.AbstractObservableBooleanProperty
- com.intellij.openapi.observable.properties.AbstractObservableProperty
- com.intellij.openapi.observable.properties.ObservableBooleanProperty
- <init>():V
- afterReset(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- afterSet(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
a:com.intellij.openapi.observable.properties.AbstractObservableClearableProperty
- com.intellij.openapi.observable.properties.AbstractObservableProperty
- com.intellij.openapi.observable.properties.ObservableClearableProperty
- <init>():V
- afterReset(kotlin.jvm.functions.Function0):V
- afterReset(kotlin.jvm.functions.Function0,com.intellij.openapi.Disposable):V
- pf:fireResetEvent():V
Fa:com.intellij.openapi.observable.properties.AbstractObservableProperty
- com.intellij.openapi.observable.properties.ObservableProperty
- <init>():V
- afterChange(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1):V
f:com.intellij.openapi.observable.properties.AtomicBooleanProperty
- com.intellij.openapi.observable.properties.AbstractObservableBooleanProperty
- com.intellij.openapi.observable.properties.AtomicMutableBooleanProperty
- com.intellij.openapi.observable.properties.BooleanProperty
- <init>(Z):V
- afterReset(kotlin.jvm.functions.Function0):V
- afterReset(kotlin.jvm.functions.Function0,com.intellij.openapi.Disposable):V
- afterSet(kotlin.jvm.functions.Function0):V
- afterSet(kotlin.jvm.functions.Function0,com.intellij.openapi.Disposable):V
- f:compareAndSet(Z,Z):Z
- get():java.lang.Boolean
- getAndSet(Z):Z
- reset():V
- set():V
- set(Z):V
- updateAndGet(kotlin.jvm.functions.Function1):java.lang.Boolean
Fc:com.intellij.openapi.observable.properties.AtomicLazyProperty
- com.intellij.openapi.observable.properties.AbstractObservableClearableProperty
- com.intellij.openapi.observable.properties.ObservableMutableProperty
- sf:Companion:com.intellij.openapi.observable.properties.AtomicLazyProperty$Companion
- <init>(kotlin.jvm.functions.Function0):V
- get():java.lang.Object
- reset():V
- set(java.lang.Object):V
- updateAndGet(kotlin.jvm.functions.Function1):java.lang.Object
f:com.intellij.openapi.observable.properties.AtomicLazyProperty$Companion
com.intellij.openapi.observable.properties.AtomicMutableBooleanProperty
- com.intellij.openapi.observable.properties.MutableBooleanProperty
- com.intellij.openapi.observable.properties.ObservableMutableProperty
- a:getAndSet(Z):Z
f:com.intellij.openapi.observable.properties.AtomicProperty
- com.intellij.openapi.observable.properties.AbstractObservableClearableProperty
- com.intellij.openapi.observable.properties.ObservableMutableProperty
- <init>(java.lang.Object):V
- get():java.lang.Object
- reset():V
- set(java.lang.Object):V
- updateAndGet(kotlin.jvm.functions.Function1):java.lang.Object
com.intellij.openapi.observable.properties.BooleanProperty
- com.intellij.openapi.observable.properties.ObservableClearableProperty
- a:afterReset(kotlin.jvm.functions.Function0):V
- a:afterReset(kotlin.jvm.functions.Function0,com.intellij.openapi.Disposable):V
- a:afterSet(kotlin.jvm.functions.Function0):V
- a:afterSet(kotlin.jvm.functions.Function0,com.intellij.openapi.Disposable):V
- a:reset():V
- a:set():V
com.intellij.openapi.observable.properties.GraphProperty
- com.intellij.openapi.observable.properties.ObservableClearableProperty
- afterPropagation(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- a:afterPropagation(kotlin.jvm.functions.Function0):V
- afterReset(kotlin.jvm.functions.Function0):V
- afterReset(kotlin.jvm.functions.Function0,com.intellij.openapi.Disposable):V
- dependsOn(com.intellij.openapi.observable.properties.ObservableClearableProperty):V
- b:dependsOn(com.intellij.openapi.observable.properties.ObservableClearableProperty,kotlin.jvm.functions.Function0):V
- dependsOn(com.intellij.openapi.observable.properties.ObservableProperty,kotlin.jvm.functions.Function0):V
- dependsOn(com.intellij.openapi.observable.properties.ObservableProperty,Z,kotlin.jvm.functions.Function0):V
- reset():V
f:com.intellij.openapi.observable.properties.ListenerUtilKt
- sf:whenPropertyChanged(com.intellij.openapi.observable.properties.ObservableProperty,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1):V
- sf:whenPropertyChanged(com.intellij.openapi.observable.properties.ObservableProperty,kotlin.jvm.functions.Function1):V
- sf:whenPropertyReset(com.intellij.openapi.observable.properties.ObservableBooleanProperty,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenPropertyReset(com.intellij.openapi.observable.properties.ObservableBooleanProperty,kotlin.jvm.functions.Function0):V
- sf:whenPropertySet(com.intellij.openapi.observable.properties.ObservableBooleanProperty,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenPropertySet(com.intellij.openapi.observable.properties.ObservableBooleanProperty,kotlin.jvm.functions.Function0):V
com.intellij.openapi.observable.properties.MutableBooleanProperty
- com.intellij.openapi.observable.properties.ObservableBooleanProperty
- com.intellij.openapi.observable.properties.ObservableMutableProperty
- a:reset():V
- a:set():V
com.intellij.openapi.observable.properties.ObservableBooleanProperty
- com.intellij.openapi.observable.properties.ObservableProperty
- a:afterReset(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- afterReset(kotlin.jvm.functions.Function0):V
- a:afterSet(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- afterSet(kotlin.jvm.functions.Function0):V
com.intellij.openapi.observable.properties.ObservableClearableProperty
- com.intellij.openapi.observable.properties.ObservableMutableProperty
- afterReset(kotlin.jvm.functions.Function0):V
- afterReset(kotlin.jvm.functions.Function0,com.intellij.openapi.Disposable):V
- reset():V
com.intellij.openapi.observable.properties.ObservableMutableProperty
- com.intellij.openapi.observable.properties.ObservableProperty
- kotlin.properties.ReadWriteProperty
- getValue(java.lang.Object,kotlin.reflect.KProperty):java.lang.Object
- a:set(java.lang.Object):V
- setValue(java.lang.Object,kotlin.reflect.KProperty,java.lang.Object):V
com.intellij.openapi.observable.properties.ObservableProperty
- kotlin.properties.ReadOnlyProperty
- afterChange(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1):V
- afterChange(kotlin.jvm.functions.Function1):V
- afterChange(kotlin.jvm.functions.Function1,com.intellij.openapi.Disposable):V
- bs:afterChange$default(com.intellij.openapi.observable.properties.ObservableProperty,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1,I,java.lang.Object):V
- a:get():java.lang.Object
- getValue(java.lang.Object,kotlin.reflect.KProperty):java.lang.Object
f:com.intellij.openapi.observable.properties.PropertyGraph
- <init>():V
- <init>(java.lang.String,Z):V
- b:<init>(java.lang.String,Z,I,kotlin.jvm.internal.DefaultConstructorMarker):V
- f:afterPropagation(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- f:afterPropagation(kotlin.jvm.functions.Function0):V
- f:dependsOn(com.intellij.openapi.observable.properties.ObservableMutableProperty,com.intellij.openapi.observable.properties.ObservableProperty,Z,kotlin.jvm.functions.Function0):V
- bs:dependsOn$default(com.intellij.openapi.observable.properties.PropertyGraph,com.intellij.openapi.observable.properties.ObservableMutableProperty,com.intellij.openapi.observable.properties.ObservableProperty,Z,kotlin.jvm.functions.Function0,I,java.lang.Object):V
- f:lateinitProperty():com.intellij.openapi.observable.properties.GraphProperty
- f:lazyProperty(kotlin.jvm.functions.Function0):com.intellij.openapi.observable.properties.GraphProperty
- f:property(java.lang.Object):com.intellij.openapi.observable.properties.GraphProperty
@@ -0,0 +1,2 @@
kotlin/jvm/internal/DefaultConstructorMarker
kotlin/reflect/KProperty
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.util.ex" />
<orderEntry type="module" module-name="intellij.platform.util.ui" />
<orderEntry type="module" module-name="intellij.platform.util" />
<orderEntry type="module" module-name="intellij.platform.core" />
<orderEntry type="module" module-name="intellij.platform.concurrency" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="library" name="kotlin-stdlib" level="project" />
</component>
</module>
@@ -1,4 +1,4 @@
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.observable.dispatcher
import com.intellij.openapi.Disposable
@@ -1,4 +1,4 @@
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.observable.dispatcher
import com.intellij.openapi.Disposable
@@ -1,4 +1,4 @@
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.observable.dispatcher
import com.intellij.openapi.Disposable
@@ -1,4 +1,4 @@
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.observable.dispatcher
import com.intellij.openapi.Disposable
@@ -1,15 +1,16 @@
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.observable.dispatcher
import com.intellij.openapi.Disposable
import com.intellij.openapi.observable.util.getPromise
import org.jetbrains.annotations.ApiStatus
import org.jetbrains.concurrency.Promise
/**
* @see SingleEventDispatcher
*/
@ApiStatus.NonExtendable
interface SingleEventDispatcher0 {
fun whenEventHappened(parentDisposable: Disposable?, listener: () -> Unit)
fun whenEventHappened(listener: () -> Unit): Unit = whenEventHappened(null, listener)
@@ -29,4 +30,12 @@ interface SingleEventDispatcher0 {
fun fireEvent()
}
}
internal fun SingleEventDispatcher0.getPromise(parentDisposable: Disposable): Promise<Nothing?> {
return getDelegateDispatcher().getPromise(parentDisposable)
}
internal fun <T> SingleEventDispatcher<T>.getPromise(parentDisposable: Disposable): Promise<T> {
return getPromise(parentDisposable, ::onceWhenEventHappened)
}
@@ -1,4 +1,4 @@
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.observable.dispatcher
import com.intellij.openapi.Disposable
@@ -1,4 +1,4 @@
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.observable.operation.core
import com.intellij.openapi.Disposable
@@ -16,7 +16,6 @@ import java.util.concurrent.TimeoutException
import kotlin.coroutines.cancellation.CancellationException
import kotlin.time.Duration
fun ObservableOperationTrace.getOperationSchedulePromise(parentDisposable: Disposable): Promise<Nothing?> =
scheduleObservable.getPromise(parentDisposable)
@@ -4,7 +4,7 @@ package com.intellij.openapi.observable.operation.impl
import com.intellij.openapi.Disposable
import com.intellij.openapi.observable.operation.OperationExecutionContext
import com.intellij.openapi.observable.operation.OperationExecutionContext.ContextKey
import com.intellij.openapi.observable.util.whenDisposed
import com.intellij.openapi.util.Disposer.register
import org.jetbrains.annotations.ApiStatus
import java.util.Optional
@@ -26,8 +26,8 @@ class OperationExecutionContextBuilder : OperationExecutionContext.Builder {
override fun <T> putData(key: ContextKey<T>, data: T, parentDisposable: Disposable?) {
this.data[key] = Optional.ofNullable(data)
parentDisposable?.whenDisposed {
this.data.remove(key)
if (parentDisposable != null) {
register(parentDisposable, Disposable { this.data.remove(key) })
}
}
@@ -1,4 +1,4 @@
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.observable.properties
import com.intellij.openapi.Disposable
@@ -1,4 +1,4 @@
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.observable.properties
import com.intellij.openapi.Disposable
@@ -1,4 +1,4 @@
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.observable.properties
import com.intellij.openapi.Disposable
@@ -7,10 +7,9 @@ import kotlin.properties.ReadOnlyProperty
import kotlin.reflect.KProperty
/**
* Read only interface for observable property.
* Read-only interface for observable property.
*/
interface ObservableProperty<T> : ReadOnlyProperty<Any?, T> {
/**
* @return value of property
*/
@@ -1,12 +1,13 @@
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.observable.util
import com.intellij.openapi.Disposable
import com.intellij.openapi.util.Disposer.register
import org.jetbrains.concurrency.AsyncPromise
import org.jetbrains.concurrency.CancellablePromise
import org.jetbrains.concurrency.Promise
fun <T> getPromise(parentDisposable: Disposable, subscribe: (Disposable, (T) -> Unit) -> Unit): Promise<T> {
internal fun <T> getPromise(parentDisposable: Disposable, subscribe: (Disposable, (T) -> Unit) -> Unit): Promise<T> {
val promise = AsyncPromise<T>()
.cancelWhenDisposed(parentDisposable)
subscribe(parentDisposable) {
@@ -15,9 +16,11 @@ fun <T> getPromise(parentDisposable: Disposable, subscribe: (Disposable, (T) ->
return promise
}
fun <P : CancellablePromise<*>> P.cancelWhenDisposed(parentDisposable: Disposable?): P {
parentDisposable?.whenDisposed {
cancel()
private fun <P : CancellablePromise<*>> P.cancelWhenDisposed(parentDisposable: Disposable?): P {
if (parentDisposable != null) {
register(parentDisposable, Disposable {
this.cancel()
})
}
return this
}
@@ -164,60 +164,6 @@ com.intellij.openapi.fileEditor.AsyncFileEditorProvider
- com.intellij.openapi.project.DumbAware
- *:createFileEditor(com.intellij.openapi.project.Project,com.intellij.openapi.vfs.VirtualFile,com.intellij.openapi.editor.Document,kotlinx.coroutines.CoroutineScope,kotlin.coroutines.Continuation):java.lang.Object
- *bs:createFileEditor$suspendImpl(com.intellij.openapi.fileEditor.AsyncFileEditorProvider,com.intellij.openapi.project.Project,com.intellij.openapi.vfs.VirtualFile,com.intellij.openapi.editor.Document,kotlinx.coroutines.CoroutineScope,kotlin.coroutines.Continuation):java.lang.Object
*:com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- *sf:Companion:com.intellij.openapi.observable.dispatcher.SingleEventDispatcher$Companion
- s:create():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher$Multicaster
- s:create():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0$Multicaster
- s:create2():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2$Multicaster
- a:filterEvents(kotlin.jvm.functions.Function1):com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:ignoreParameters():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- a:mapParameters(kotlin.jvm.functions.Function1):com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:onceWhenEventHappened(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1):V
- onceWhenEventHappened(kotlin.jvm.functions.Function1):V
- a:whenEventHappened(I,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1):V
- whenEventHappened(I,kotlin.jvm.functions.Function1):V
- a:whenEventHappened(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1):V
- whenEventHappened(kotlin.jvm.functions.Function1):V
*f:com.intellij.openapi.observable.dispatcher.SingleEventDispatcher$Companion
- f:create():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher$Multicaster
- f:create():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0$Multicaster
- f:create2():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2$Multicaster
*:com.intellij.openapi.observable.dispatcher.SingleEventDispatcher$Multicaster
- com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:fireEvent(java.lang.Object):V
*Fa:com.intellij.openapi.observable.operation.core.AbstractObservableOperationTrace
- com.intellij.openapi.observable.operation.core.ObservableTaskOperationTrace
- <init>():V
- getDetachTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- getFinishObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- getFinishTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2
- getScheduleObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- getScheduleTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- getStartObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- getStartTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
*f:com.intellij.openapi.observable.operation.core.AtomicOperationTrace
- com.intellij.openapi.observable.operation.core.AbstractObservableOperationTrace
- com.intellij.openapi.observable.operation.core.MutableOperationTrace
- *sf:Companion:com.intellij.openapi.observable.operation.core.AtomicOperationTrace$Companion
- <init>():V
- <init>(java.lang.String):V
- <init>(java.lang.String,Z):V
- <init>(Z):V
- detach(com.intellij.openapi.observable.operation.OperationExecutionId):V
- detachAll():V
- getName():java.lang.String
- getState():com.intellij.openapi.observable.operation.core.ObservableOperationState
- getStatus():com.intellij.openapi.observable.operation.core.ObservableOperationStatus
- traceFinish(com.intellij.openapi.observable.operation.OperationExecutionId,com.intellij.openapi.observable.operation.OperationExecutionStatus):V
- traceSchedule(com.intellij.openapi.observable.operation.OperationExecutionId):V
- traceStart(com.intellij.openapi.observable.operation.OperationExecutionId):V
*f:com.intellij.openapi.observable.operation.core.AtomicOperationTrace$Companion
*:com.intellij.openapi.observable.operation.core.ObservableOperationTrace
- a:getFinishObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- a:getName():java.lang.String
- a:getScheduleObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- a:getStartObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- a:getStatus():com.intellij.openapi.observable.operation.core.ObservableOperationStatus
f:com.intellij.openapi.observable.util.ListenerUiUtil
- *sf:whenItemSelectedFromUi(javax.swing.JComboBox,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1):V
- *bs:whenItemSelectedFromUi$default(javax.swing.JComboBox,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1,I,java.lang.Object):V
@@ -1918,9 +1918,6 @@ a:com.intellij.openapi.components.AbstractProjectComponent
- p:<init>(com.intellij.openapi.project.Project):V
com.intellij.openapi.components.SettingsSavingComponent
- a:save():V
f:com.intellij.openapi.concurrency.PromiseUtilKt
- sf:awaitPromise-8Mi8wO0(org.jetbrains.concurrency.Promise,J,kotlin.coroutines.Continuation):java.lang.Object
- sf:waitForPromise-HG0u8IE(org.jetbrains.concurrency.Promise,J):java.lang.Object
a:com.intellij.openapi.diagnostic.ErrorReportSubmitter
- com.intellij.openapi.extensions.PluginAware
- <init>():V
@@ -2507,273 +2504,6 @@ f:com.intellij.openapi.keymap.NationalKeyboardSupport
f:com.intellij.openapi.keymap.NationalKeyboardSupport$OptionSet
- enabled:Z
- <init>():V
f:com.intellij.openapi.observable.dispatcher.PromiseUtilKt
- sf:getPromise(com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0,com.intellij.openapi.Disposable):org.jetbrains.concurrency.Promise
- sf:getPromise(com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2,com.intellij.openapi.Disposable):org.jetbrains.concurrency.Promise
- sf:getPromise(com.intellij.openapi.observable.dispatcher.SingleEventDispatcher,com.intellij.openapi.Disposable):org.jetbrains.concurrency.Promise
com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- a:getDelegateDispatcher():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:onceWhenEventHappened(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- onceWhenEventHappened(kotlin.jvm.functions.Function0):V
- a:whenEventHappened(I,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- whenEventHappened(I,kotlin.jvm.functions.Function0):V
- a:whenEventHappened(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- whenEventHappened(kotlin.jvm.functions.Function0):V
com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0$Multicaster
- com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- a:fireEvent():V
com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2
- a:filterEvents(kotlin.jvm.functions.Function2):com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2
- a:getDelegateDispatcher():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:ignoreParameters():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher0
- a:mapParameters(kotlin.jvm.functions.Function2):com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2
- a:mapParameters(kotlin.jvm.functions.Function2):com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:onceWhenEventHappened(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function2):V
- onceWhenEventHappened(kotlin.jvm.functions.Function2):V
- a:whenEventHappened(I,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function2):V
- whenEventHappened(I,kotlin.jvm.functions.Function2):V
- a:whenEventHappened(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function2):V
- whenEventHappened(kotlin.jvm.functions.Function2):V
com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2$Multicaster
- com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2
- a:fireEvent(java.lang.Object,java.lang.Object):V
com.intellij.openapi.observable.operation.OperationExecutionContext
- sf:Companion:com.intellij.openapi.observable.operation.OperationExecutionContext$Companion
- a:findData(com.intellij.openapi.observable.operation.OperationExecutionContext$ContextKey):java.lang.Object
- a:getData(com.intellij.openapi.observable.operation.OperationExecutionContext$ContextKey):java.lang.Object
com.intellij.openapi.observable.operation.OperationExecutionContext$Builder
- com.intellij.openapi.observable.operation.OperationExecutionContext
- putData(com.intellij.openapi.observable.operation.OperationExecutionContext$ContextKey,java.lang.Object):V
- a:putData(com.intellij.openapi.observable.operation.OperationExecutionContext$ContextKey,java.lang.Object,com.intellij.openapi.Disposable):V
f:com.intellij.openapi.observable.operation.OperationExecutionContext$Companion
- f:create(kotlin.jvm.functions.Function1):com.intellij.openapi.observable.operation.OperationExecutionContext
- f:createKey(java.lang.String):com.intellij.openapi.observable.operation.OperationExecutionContext$ContextKey
- bs:createKey$default(com.intellij.openapi.observable.operation.OperationExecutionContext$Companion,java.lang.String,I,java.lang.Object):com.intellij.openapi.observable.operation.OperationExecutionContext$ContextKey
com.intellij.openapi.observable.operation.OperationExecutionContext$ContextKey
com.intellij.openapi.observable.operation.OperationExecutionId
- sf:Companion:com.intellij.openapi.observable.operation.OperationExecutionId$Companion
- a:getExecutionContext():com.intellij.openapi.observable.operation.OperationExecutionContext
f:com.intellij.openapi.observable.operation.OperationExecutionId$Companion
- f:createId(java.lang.String,com.intellij.openapi.observable.operation.OperationExecutionContext):com.intellij.openapi.observable.operation.OperationExecutionId
- f:createId(java.lang.String,kotlin.jvm.functions.Function1):com.intellij.openapi.observable.operation.OperationExecutionId
- bs:createId$default(com.intellij.openapi.observable.operation.OperationExecutionId$Companion,java.lang.String,com.intellij.openapi.observable.operation.OperationExecutionContext,I,java.lang.Object):com.intellij.openapi.observable.operation.OperationExecutionId
- bs:createId$default(com.intellij.openapi.observable.operation.OperationExecutionId$Companion,java.lang.String,kotlin.jvm.functions.Function1,I,java.lang.Object):com.intellij.openapi.observable.operation.OperationExecutionId
- f:getNONE():com.intellij.openapi.observable.operation.OperationExecutionId
com.intellij.openapi.observable.operation.OperationExecutionStatus
- sf:Companion:com.intellij.openapi.observable.operation.OperationExecutionStatus$Companion
f:com.intellij.openapi.observable.operation.OperationExecutionStatus$Cancel
- com.intellij.openapi.observable.operation.OperationExecutionStatus
- sf:INSTANCE:com.intellij.openapi.observable.operation.OperationExecutionStatus$Cancel
f:com.intellij.openapi.observable.operation.OperationExecutionStatus$Companion
- f:getKEY():com.intellij.openapi.actionSystem.DataKey
f:com.intellij.openapi.observable.operation.OperationExecutionStatus$Failure
- com.intellij.openapi.observable.operation.OperationExecutionStatus
- <init>():V
- <init>(java.lang.String):V
- <init>(java.lang.Throwable):V
- f:getCause():java.lang.Throwable
- f:getMessage():java.lang.String
f:com.intellij.openapi.observable.operation.OperationExecutionStatus$Success
- com.intellij.openapi.observable.operation.OperationExecutionStatus
- sf:INSTANCE:com.intellij.openapi.observable.operation.OperationExecutionStatus$Success
com.intellij.openapi.observable.operation.core.MutableOperationTrace
- com.intellij.openapi.observable.operation.core.ObservableTaskOperationTrace
- a:detach(com.intellij.openapi.observable.operation.OperationExecutionId):V
- bs:detach$default(com.intellij.openapi.observable.operation.core.MutableOperationTrace,com.intellij.openapi.observable.operation.OperationExecutionId,I,java.lang.Object):V
- a:detachAll():V
- a:traceFinish(com.intellij.openapi.observable.operation.OperationExecutionId,com.intellij.openapi.observable.operation.OperationExecutionStatus):V
- bs:traceFinish$default(com.intellij.openapi.observable.operation.core.MutableOperationTrace,com.intellij.openapi.observable.operation.OperationExecutionId,com.intellij.openapi.observable.operation.OperationExecutionStatus,I,java.lang.Object):V
- a:traceSchedule(com.intellij.openapi.observable.operation.OperationExecutionId):V
- bs:traceSchedule$default(com.intellij.openapi.observable.operation.core.MutableOperationTrace,com.intellij.openapi.observable.operation.OperationExecutionId,I,java.lang.Object):V
- a:traceStart(com.intellij.openapi.observable.operation.OperationExecutionId):V
- bs:traceStart$default(com.intellij.openapi.observable.operation.core.MutableOperationTrace,com.intellij.openapi.observable.operation.OperationExecutionId,I,java.lang.Object):V
com.intellij.openapi.observable.operation.core.ObservableOperationState
- a:component1():com.intellij.openapi.observable.operation.core.ObservableOperationStatus
- a:component2():java.util.Map
- a:component3():java.util.Map
- a:getScheduled():java.util.Map
- a:getStarted():java.util.Map
- a:getStatus():com.intellij.openapi.observable.operation.core.ObservableOperationStatus
e:com.intellij.openapi.observable.operation.core.ObservableOperationStatus
- java.lang.Enum
- sf:COMPLETED:com.intellij.openapi.observable.operation.core.ObservableOperationStatus
- sf:IN_PROGRESS:com.intellij.openapi.observable.operation.core.ObservableOperationStatus
- sf:SCHEDULED:com.intellij.openapi.observable.operation.core.ObservableOperationStatus
- s:getEntries():kotlin.enums.EnumEntries
- s:valueOf(java.lang.String):com.intellij.openapi.observable.operation.core.ObservableOperationStatus
- s:values():com.intellij.openapi.observable.operation.core.ObservableOperationStatus[]
f:com.intellij.openapi.observable.operation.core.ObservableOperationTraceUtil
- sf:onceWhenOperationFinished(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:onceWhenOperationFinished(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:onceWhenOperationScheduled(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:onceWhenOperationScheduled(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:onceWhenOperationStarted(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:onceWhenOperationStarted(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:whenOperationFinished(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,I,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenOperationFinished(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,I,kotlin.jvm.functions.Function0):V
- sf:whenOperationFinished(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenOperationFinished(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:whenOperationScheduled(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,I,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenOperationScheduled(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,I,kotlin.jvm.functions.Function0):V
- sf:whenOperationScheduled(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenOperationScheduled(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:whenOperationStarted(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,I,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenOperationStarted(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,I,kotlin.jvm.functions.Function0):V
- sf:whenOperationStarted(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenOperationStarted(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:withCompletedOperation(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:withCompletedOperation(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:withScheduledOperation(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:withScheduledOperation(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
- sf:withStartedOperation(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:withStartedOperation(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,kotlin.jvm.functions.Function0):V
com.intellij.openapi.observable.operation.core.ObservableTaskOperationTrace
- com.intellij.openapi.observable.operation.core.ObservableOperationTrace
- a:getDetachTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:getFinishTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher2
- a:getScheduleTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:getStartTaskObservable():com.intellij.openapi.observable.dispatcher.SingleEventDispatcher
- a:getState():com.intellij.openapi.observable.operation.core.ObservableOperationState
f:com.intellij.openapi.observable.operation.core.OperationUtilKt
- sf:getOperationInProgressProperty(com.intellij.openapi.observable.operation.core.ObservableOperationTrace):com.intellij.openapi.observable.properties.ObservableBooleanProperty
- sf:isOperationCompleted(com.intellij.openapi.observable.operation.core.ObservableOperationTrace):Z
- sf:isOperationInProgress(com.intellij.openapi.observable.operation.core.ObservableOperationTrace):Z
- sf:isOperationScheduled(com.intellij.openapi.observable.operation.core.ObservableOperationTrace):Z
- sf:traceRun(com.intellij.openapi.observable.operation.core.MutableOperationTrace,com.intellij.openapi.observable.operation.OperationExecutionId,kotlin.jvm.functions.Function0):java.lang.Object
- bs:traceRun$default(com.intellij.openapi.observable.operation.core.MutableOperationTrace,com.intellij.openapi.observable.operation.OperationExecutionId,kotlin.jvm.functions.Function0,I,java.lang.Object):java.lang.Object
f:com.intellij.openapi.observable.operation.core.PromiseUtilKt
- sf:awaitOperation-jKevqZI(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,J,J,kotlin.jvm.functions.Function1,kotlin.coroutines.Continuation):java.lang.Object
- sf:awaitOperationCompletion-8Mi8wO0(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,J,kotlin.coroutines.Continuation):java.lang.Object
- sf:getOperationCompletionPromise(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable):org.jetbrains.concurrency.Promise
- sf:getOperationFinishPromise(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable):org.jetbrains.concurrency.Promise
- sf:getOperationSchedulePromise(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable):org.jetbrains.concurrency.Promise
- sf:getOperationStartPromise(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,com.intellij.openapi.Disposable):org.jetbrains.concurrency.Promise
- sf:waitForOperation-vLdBGDU(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,J,J,com.intellij.openapi.util.ThrowableComputable):java.lang.Object
- sf:waitForOperationCompletion-HG0u8IE(com.intellij.openapi.observable.operation.core.ObservableOperationTrace,J):V
f:com.intellij.openapi.observable.operation.core.ResultUtilKt
- sf:onFailureCatching(java.lang.Object,kotlin.jvm.functions.Function1):java.lang.Object
Fa:com.intellij.openapi.observable.properties.AbstractObservableBooleanProperty
- com.intellij.openapi.observable.properties.AbstractObservableProperty
- com.intellij.openapi.observable.properties.ObservableBooleanProperty
- <init>():V
- afterReset(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- afterSet(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
a:com.intellij.openapi.observable.properties.AbstractObservableClearableProperty
- com.intellij.openapi.observable.properties.AbstractObservableProperty
- com.intellij.openapi.observable.properties.ObservableClearableProperty
- <init>():V
- afterReset(kotlin.jvm.functions.Function0):V
- afterReset(kotlin.jvm.functions.Function0,com.intellij.openapi.Disposable):V
- pf:fireResetEvent():V
Fa:com.intellij.openapi.observable.properties.AbstractObservableProperty
- com.intellij.openapi.observable.properties.ObservableProperty
- <init>():V
- afterChange(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1):V
f:com.intellij.openapi.observable.properties.AtomicBooleanProperty
- com.intellij.openapi.observable.properties.AbstractObservableBooleanProperty
- com.intellij.openapi.observable.properties.AtomicMutableBooleanProperty
- com.intellij.openapi.observable.properties.BooleanProperty
- <init>(Z):V
- afterReset(kotlin.jvm.functions.Function0):V
- afterReset(kotlin.jvm.functions.Function0,com.intellij.openapi.Disposable):V
- afterSet(kotlin.jvm.functions.Function0):V
- afterSet(kotlin.jvm.functions.Function0,com.intellij.openapi.Disposable):V
- f:compareAndSet(Z,Z):Z
- get():java.lang.Boolean
- getAndSet(Z):Z
- reset():V
- set():V
- set(Z):V
- updateAndGet(kotlin.jvm.functions.Function1):java.lang.Boolean
Fc:com.intellij.openapi.observable.properties.AtomicLazyProperty
- com.intellij.openapi.observable.properties.AbstractObservableClearableProperty
- com.intellij.openapi.observable.properties.ObservableMutableProperty
- sf:Companion:com.intellij.openapi.observable.properties.AtomicLazyProperty$Companion
- <init>(kotlin.jvm.functions.Function0):V
- get():java.lang.Object
- reset():V
- set(java.lang.Object):V
- updateAndGet(kotlin.jvm.functions.Function1):java.lang.Object
f:com.intellij.openapi.observable.properties.AtomicLazyProperty$Companion
com.intellij.openapi.observable.properties.AtomicMutableBooleanProperty
- com.intellij.openapi.observable.properties.MutableBooleanProperty
- com.intellij.openapi.observable.properties.ObservableMutableProperty
- a:getAndSet(Z):Z
f:com.intellij.openapi.observable.properties.AtomicProperty
- com.intellij.openapi.observable.properties.AbstractObservableClearableProperty
- com.intellij.openapi.observable.properties.ObservableMutableProperty
- <init>(java.lang.Object):V
- get():java.lang.Object
- reset():V
- set(java.lang.Object):V
- updateAndGet(kotlin.jvm.functions.Function1):java.lang.Object
com.intellij.openapi.observable.properties.BooleanProperty
- com.intellij.openapi.observable.properties.ObservableClearableProperty
- a:afterReset(kotlin.jvm.functions.Function0):V
- a:afterReset(kotlin.jvm.functions.Function0,com.intellij.openapi.Disposable):V
- a:afterSet(kotlin.jvm.functions.Function0):V
- a:afterSet(kotlin.jvm.functions.Function0,com.intellij.openapi.Disposable):V
- a:reset():V
- a:set():V
com.intellij.openapi.observable.properties.GraphProperty
- com.intellij.openapi.observable.properties.ObservableClearableProperty
- afterPropagation(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- a:afterPropagation(kotlin.jvm.functions.Function0):V
- afterReset(kotlin.jvm.functions.Function0):V
- afterReset(kotlin.jvm.functions.Function0,com.intellij.openapi.Disposable):V
- dependsOn(com.intellij.openapi.observable.properties.ObservableClearableProperty):V
- b:dependsOn(com.intellij.openapi.observable.properties.ObservableClearableProperty,kotlin.jvm.functions.Function0):V
- dependsOn(com.intellij.openapi.observable.properties.ObservableProperty,kotlin.jvm.functions.Function0):V
- dependsOn(com.intellij.openapi.observable.properties.ObservableProperty,Z,kotlin.jvm.functions.Function0):V
- reset():V
f:com.intellij.openapi.observable.properties.ListenerUtilKt
- sf:whenPropertyChanged(com.intellij.openapi.observable.properties.ObservableProperty,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1):V
- sf:whenPropertyChanged(com.intellij.openapi.observable.properties.ObservableProperty,kotlin.jvm.functions.Function1):V
- sf:whenPropertyReset(com.intellij.openapi.observable.properties.ObservableBooleanProperty,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenPropertyReset(com.intellij.openapi.observable.properties.ObservableBooleanProperty,kotlin.jvm.functions.Function0):V
- sf:whenPropertySet(com.intellij.openapi.observable.properties.ObservableBooleanProperty,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- sf:whenPropertySet(com.intellij.openapi.observable.properties.ObservableBooleanProperty,kotlin.jvm.functions.Function0):V
com.intellij.openapi.observable.properties.MutableBooleanProperty
- com.intellij.openapi.observable.properties.ObservableBooleanProperty
- com.intellij.openapi.observable.properties.ObservableMutableProperty
- a:reset():V
- a:set():V
com.intellij.openapi.observable.properties.ObservableBooleanProperty
- com.intellij.openapi.observable.properties.ObservableProperty
- a:afterReset(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- afterReset(kotlin.jvm.functions.Function0):V
- a:afterSet(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- afterSet(kotlin.jvm.functions.Function0):V
com.intellij.openapi.observable.properties.ObservableClearableProperty
- com.intellij.openapi.observable.properties.ObservableMutableProperty
- afterReset(kotlin.jvm.functions.Function0):V
- afterReset(kotlin.jvm.functions.Function0,com.intellij.openapi.Disposable):V
- reset():V
com.intellij.openapi.observable.properties.ObservableMutableProperty
- com.intellij.openapi.observable.properties.ObservableProperty
- kotlin.properties.ReadWriteProperty
- getValue(java.lang.Object,kotlin.reflect.KProperty):java.lang.Object
- a:set(java.lang.Object):V
- setValue(java.lang.Object,kotlin.reflect.KProperty,java.lang.Object):V
com.intellij.openapi.observable.properties.ObservableProperty
- kotlin.properties.ReadOnlyProperty
- afterChange(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1):V
- afterChange(kotlin.jvm.functions.Function1):V
- afterChange(kotlin.jvm.functions.Function1,com.intellij.openapi.Disposable):V
- bs:afterChange$default(com.intellij.openapi.observable.properties.ObservableProperty,com.intellij.openapi.Disposable,kotlin.jvm.functions.Function1,I,java.lang.Object):V
- a:get():java.lang.Object
- getValue(java.lang.Object,kotlin.reflect.KProperty):java.lang.Object
f:com.intellij.openapi.observable.properties.PropertyGraph
- <init>():V
- <init>(java.lang.String,Z):V
- b:<init>(java.lang.String,Z,I,kotlin.jvm.internal.DefaultConstructorMarker):V
- f:afterPropagation(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function0):V
- f:afterPropagation(kotlin.jvm.functions.Function0):V
- f:dependsOn(com.intellij.openapi.observable.properties.ObservableMutableProperty,com.intellij.openapi.observable.properties.ObservableProperty,Z,kotlin.jvm.functions.Function0):V
- bs:dependsOn$default(com.intellij.openapi.observable.properties.PropertyGraph,com.intellij.openapi.observable.properties.ObservableMutableProperty,com.intellij.openapi.observable.properties.ObservableProperty,Z,kotlin.jvm.functions.Function0,I,java.lang.Object):V
- f:lateinitProperty():com.intellij.openapi.observable.properties.GraphProperty
- f:lazyProperty(kotlin.jvm.functions.Function0):com.intellij.openapi.observable.properties.GraphProperty
- f:property(java.lang.Object):com.intellij.openapi.observable.properties.GraphProperty
f:com.intellij.openapi.observable.util.BindUtil
- sf:bind(com.intellij.openapi.observable.properties.ObservableMutableProperty,com.intellij.openapi.observable.properties.ObservableMutableProperty):V
- sf:bind(com.intellij.openapi.observable.properties.ObservableMutableProperty,com.intellij.openapi.observable.properties.ObservableProperty):V
@@ -2881,9 +2611,6 @@ f:com.intellij.openapi.observable.util.ModificationTrackerUtilKt
- sf:createTextModificationTracker(javax.swing.JTextField,com.intellij.openapi.Disposable):com.intellij.openapi.util.ModificationTracker
- bs:createTextModificationTracker$default(javax.swing.JTextField,com.intellij.openapi.Disposable,I,java.lang.Object):com.intellij.openapi.util.ModificationTracker
- sf:plus(com.intellij.openapi.util.ModificationTracker,com.intellij.openapi.util.ModificationTracker):com.intellij.openapi.util.ModificationTracker
f:com.intellij.openapi.observable.util.PromiseUtilKt
- sf:cancelWhenDisposed(org.jetbrains.concurrency.CancellablePromise,com.intellij.openapi.Disposable):org.jetbrains.concurrency.CancellablePromise
- sf:getPromise(com.intellij.openapi.Disposable,kotlin.jvm.functions.Function2):org.jetbrains.concurrency.Promise
f:com.intellij.openapi.observable.util.PropertyOperationUtil
- sf:and(com.intellij.openapi.observable.properties.ObservableProperty,com.intellij.openapi.observable.properties.ObservableProperty):com.intellij.openapi.observable.properties.ObservableProperty
- sf:div(com.intellij.openapi.observable.properties.ObservableProperty,com.intellij.openapi.observable.properties.ObservableProperty):com.intellij.openapi.observable.properties.ObservableProperty
@@ -1,4 +1,3 @@
javax/security/auth/x500/X500Principal
kotlin/jvm/internal/DefaultConstructorMarker
kotlin/reflect/KMutableProperty0
kotlin/reflect/KProperty
@@ -13,6 +13,7 @@
<orderEntry type="module" module-name="intellij.platform.core" exported="" />
<orderEntry type="module" module-name="intellij.java.guiForms.rt" exported="" />
<orderEntry type="module" module-name="intellij.platform.icons" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.projectModel" exported="" />
<orderEntry type="module" module-name="intellij.platform.analysis" exported="" />
<orderEntry type="module" module-name="intellij.platform.editor" exported="" />
@@ -1,15 +0,0 @@
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.observable.dispatcher
import com.intellij.openapi.Disposable
import com.intellij.openapi.observable.util.getPromise
import org.jetbrains.concurrency.Promise
fun SingleEventDispatcher0.getPromise(parentDisposable: Disposable): Promise<Nothing?> =
getDelegateDispatcher().getPromise(parentDisposable)
fun <T> SingleEventDispatcher<T>.getPromise(parentDisposable: Disposable): Promise<T> =
getPromise(parentDisposable, ::onceWhenEventHappened)
fun <T1, T2> SingleEventDispatcher2<T1, T2>.getPromise(parentDisposable: Disposable): Promise<Pair<T1, T2>> =
getDelegateDispatcher().getPromise(parentDisposable)
@@ -21,7 +21,6 @@ import javax.swing.*
import javax.swing.text.JTextComponent
import javax.swing.tree.DefaultMutableTreeNode
/**
* Skips [action] execution if this or other block is executing with [this] "atomic".
* Needs to break the recursion locally.
@@ -226,7 +225,6 @@ fun <C : JToggleButton> C.bind(property: ObservableProperty<Boolean>): C = apply
}
}
fun <C : JToggleButton> C.bind(property: ObservableMutableProperty<Boolean>): C = apply {
isSelected = property.get()
val mutex = AtomicBoolean()
@@ -53,6 +53,7 @@
<orderEntry type="module" module-name="intellij.platform.diff" />
<orderEntry type="library" name="imgscalr" level="project" />
<orderEntry type="module" module-name="intellij.platform.builtInServer" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="library" exported="" name="kotlin-stdlib" level="project" />
<orderEntry type="library" scope="RUNTIME" name="slf4j-api" level="project" />
<orderEntry type="library" scope="RUNTIME" name="slf4j-jdk14" level="project" />
@@ -14,6 +14,8 @@
<orderEntry type="library" scope="TEST" name="fastutil-min" level="project" />
<orderEntry type="module" module-name="intellij.platform.diagnostic.telemetry" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.util.io.storages" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.util.tests" scope="TEST" />
</component>
</module>
@@ -1,4 +1,4 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.vfs.newvfs.persistent;
import com.intellij.openapi.util.io.FileUtil;
@@ -7,6 +7,7 @@ import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.openapi.vfs.VirtualFileWithId;
import com.intellij.psi.impl.cache.impl.id.IdIndex;
import com.intellij.util.indexing.IndexingStamp;
import com.intellij.util.indexing.IndexingStampStorageOverRegularAttributes;
import com.intellij.util.indexing.TimestampsImmutable;
import org.jetbrains.annotations.NotNull;
import org.openjdk.jmh.annotations.*;
@@ -21,9 +22,6 @@ import java.io.IOException;
import java.util.Objects;
import java.util.concurrent.TimeUnit;
import static com.intellij.util.indexing.IndexingStampStorageOverRegularAttributes.PERSISTENCE;
import static java.util.concurrent.TimeUnit.SECONDS;
/**
* Benchmarks different approaches to access index timestamps (file attribute).
* New API allows raw access to the segment page ByteBuffer, while old API allows only access through InputStream
@@ -31,8 +29,8 @@ import static java.util.concurrent.TimeUnit.SECONDS;
*/
@BenchmarkMode({Mode.AverageTime, Mode.SampleTime})
@OutputTimeUnit(TimeUnit.NANOSECONDS)
@Warmup(iterations = 3, time = 2, timeUnit = SECONDS)
@Measurement(iterations = 5, time = 5, timeUnit = SECONDS)
@Warmup(iterations = 3, time = 2, timeUnit = TimeUnit.SECONDS)
@Measurement(iterations = 5, time = 5, timeUnit = TimeUnit.SECONDS)
@Fork(1)
public class IndexStampAccessBenchmark {
@@ -71,7 +69,7 @@ public class IndexStampAccessBenchmark {
final Context context) {
return FSRecords.readAttributeRawWithLock(
context.fileId,
PERSISTENCE,
IndexingStampStorageOverRegularAttributes.PERSISTENCE,
TimestampsImmutable::readTimestamps
);
}
@@ -79,7 +77,7 @@ public class IndexStampAccessBenchmark {
@Benchmark
public TimestampsImmutable readIndexStamps_ViaInputStream(final ApplicationContext application,
final Context context) throws IOException {
try (final DataInputStream stream = FSRecords.readAttributeWithLock(context.fileId, PERSISTENCE)) {
try (final DataInputStream stream = FSRecords.readAttributeWithLock(context.fileId, IndexingStampStorageOverRegularAttributes.PERSISTENCE)) {
return TimestampsImmutable.readTimestamps(stream);
}
}
@@ -12,6 +12,7 @@
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="library" scope="TEST" name="JUnit4" level="project" />
<orderEntry type="library" scope="TEST" name="jmock" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="library" scope="TEST" name="jmock.junit4" level="project" />
<orderEntry type="library" scope="TEST" name="jmock.legacy" level="project" />
<orderEntry type="module" module-name="intellij.platform.testFramework" />
@@ -8,6 +8,7 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.runtime.repository" />
<orderEntry type="module" module-name="intellij.platform.util.ex" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
</component>
</module>
@@ -1,11 +1,11 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.runtime.repository
import com.intellij.openapi.util.io.NioFiles.createParentDirectories
import com.intellij.platform.runtime.repository.impl.RuntimeModuleRepositoryImpl
import com.intellij.platform.runtime.repository.serialization.RawRuntimeModuleDescriptor
import com.intellij.platform.runtime.repository.serialization.RawRuntimeModuleRepositoryData
import com.intellij.util.io.DirectoryContentBuilder
import com.intellij.util.io.createParentDirectories
import org.intellij.lang.annotations.Language
import java.nio.file.Path
import kotlin.io.path.div
@@ -23,6 +23,6 @@ fun createRepository(basePath: Path, vararg descriptors: RawRuntimeModuleDescrip
fun writePluginXml(resourceRoot: Path, @Language("XM") content: String) {
val path = resourceRoot / "META-INF" / "plugin.xml"
path.createParentDirectories()
createParentDirectories(path)
path.writeText(content)
}
@@ -10,6 +10,9 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="module" module-name="intellij.platform.util" />
<orderEntry type="module" module-name="intellij.platform.util.ex" />
<orderEntry type="module" module-name="intellij.platform.execution" />
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" />
<orderEntry type="module" module-name="intellij.platform.testFramework" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
<orderEntry type="library" exported="" name="memoryfilesystem" level="project" />
@@ -10,8 +10,9 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.lang" exported="" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" exported="" />
<orderEntry type="module" module-name="intellij.platform.lang" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.execution.impl" exported="" />
<orderEntry type="module" module-name="intellij.platform.editor.ex" />
<orderEntry type="library" exported="" name="JUnit4" level="project" />
@@ -1,10 +1,10 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.concurrency
import kotlinx.coroutines.withTimeout
import org.jetbrains.annotations.ApiStatus
import org.jetbrains.concurrency.Promise
import org.jetbrains.concurrency.await
import kotlin.jvm.Throws
import kotlin.time.Duration
/**
@@ -13,6 +13,7 @@ import kotlin.time.Duration
* @see com.intellij.testFramework.concurrency.waitForPromiseAndPumpEdt
*/
@Throws(java.util.concurrent.TimeoutException::class)
@ApiStatus.Internal
fun <R> Promise<R>.waitForPromise(timeout: Duration): R? {
return blockingGet(timeout.inWholeMilliseconds.toInt())
}
@@ -22,6 +23,7 @@ fun <R> Promise<R>.waitForPromise(timeout: Duration): R? {
* @see org.jetbrains.concurrency.await
*/
@Throws(java.util.concurrent.TimeoutException::class)
@ApiStatus.Internal
suspend fun <R> Promise<R>.awaitPromise(timeout: Duration): R {
return withTimeout(timeout) {
await()
@@ -16,6 +16,8 @@
<orderEntry type="library" scope="TEST" name="JUnit4" level="project" />
<orderEntry type="library" scope="TEST" name="jna" level="project" />
<orderEntry type="module" module-name="intellij.platform.core" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.lang" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" scope="TEST" />
<orderEntry type="library" scope="TEST" name="jetCheck" level="project" />
<orderEntry type="library" scope="TEST" name="commons-compress" level="project" />
@@ -3,7 +3,6 @@ package com.intellij.util.indexing;
import com.intellij.util.indexing.impl.storage.DefaultIndexStorageLayoutProvider;
public class DefaultIndexStorageLayoutProviderTest extends IndexStorageLayoutProviderTestBase {
public static final int INPUTS_COUNT_TO_TEST_WITH = 10_000;
@@ -11,5 +10,4 @@ public class DefaultIndexStorageLayoutProviderTest extends IndexStorageLayoutPro
public DefaultIndexStorageLayoutProviderTest() {
super(new DefaultIndexStorageLayoutProvider(), INPUTS_COUNT_TO_TEST_WITH);
}
}
@@ -10,6 +10,7 @@
<orderEntry type="module" module-name="intellij.platform.testFramework" />
<orderEntry type="module" module-name="intellij.platform.vcs" />
<orderEntry type="module" module-name="intellij.platform.vcs.impl" />
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.ide.util.io" />
@@ -10,6 +10,7 @@
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="module" module-name="intellij.platform.vcs.testFramework" exported="" />
<orderEntry type="module" module-name="intellij.platform.vcs.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.vcs.core" />
<orderEntry type="module" module-name="intellij.platform.core" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
@@ -28,7 +28,6 @@ import com.intellij.util.ThrowableRunnable
import com.intellij.vfs.AsyncVfsEventsPostProcessorImpl
import java.io.File
import java.nio.file.Path
import java.util.*
import java.util.concurrent.Future
import java.util.concurrent.TimeUnit
import kotlin.reflect.KMutableProperty0
@@ -36,6 +36,7 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.debugger" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.execution.impl" />
<orderEntry type="module" module-name="intellij.platform.diff" />
@@ -12,6 +12,7 @@
<orderEntry type="module" module-name="intellij.platform.debugger" />
<orderEntry type="module" module-name="intellij.platform.testExtensions" />
<orderEntry type="library" name="StreamEx" level="project" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
</component>
</module>
@@ -8,6 +8,7 @@ import com.intellij.openapi.application.WriteAction;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Disposer;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.util.Predicates;
import com.intellij.openapi.util.Ref;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.util.ExceptionUtil;
@@ -31,14 +32,12 @@ import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.annotations.TestOnly;
import org.jetbrains.concurrency.Promise;
import org.junit.Assert;
import java.util.*;
import java.util.concurrent.*;
import java.util.stream.Collectors;
import static com.intellij.openapi.util.Predicates.nonNull;
import static org.junit.Assert.assertNotNull;
@TestOnly
public class XDebuggerTestUtil {
public static final int TIMEOUT_MS = 25_000;
@@ -91,9 +90,9 @@ public class XDebuggerTestUtil {
WriteAction.runAndWait(() -> {
XLineBreakpoint<?> breakpoint = Arrays.stream(XDebuggerUtil.getInstance().getLineBreakpointTypes())
.map(t -> breakpointManager.findBreakpointAtLine(t, file, line))
.filter(nonNull())
.filter(Predicates.nonNull())
.findFirst().orElse(null);
assertNotNull(breakpoint);
Assert.assertNotNull(breakpoint);
breakpointManager.removeBreakpoint(breakpoint);
});
}
@@ -191,9 +190,9 @@ public class XDebuggerTestUtil {
private static Pair<XValue, String> evaluate(XDebugSession session, XExpression expression, long timeout) {
XStackFrame frame = session.getCurrentStackFrame();
assertNotNull(frame);
Assert.assertNotNull(frame);
XDebuggerEvaluator evaluator = frame.getEvaluator();
assertNotNull(evaluator);
Assert.assertNotNull(evaluator);
XTestEvaluationCallback callback = new XTestEvaluationCallback();
evaluator.evaluate(expression, callback, session.getCurrentPosition());
return callback.waitFor(timeout);
@@ -9,6 +9,7 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.ant.jps" />
<orderEntry type="module" module-name="intellij.platform.jps.model.serialization.tests" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.jps.model.serialization" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.jps.build.tests" scope="TEST" />
</component>
</module>
@@ -12,5 +12,6 @@
<orderEntry type="library" scope="TEST" name="kotlin-stdlib" level="project" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
<orderEntry type="library" scope="TEST" name="assertJ" level="project" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
</component>
</module>
@@ -44,6 +44,7 @@
<orderEntry type="module" module-name="intellij.java" />
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="library" name="Xerces" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.spellchecker" />
<orderEntry type="module" module-name="intellij.properties.psi" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
+1
View File
@@ -34,6 +34,7 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.vcs" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.vcs.impl" />
@@ -11,10 +11,12 @@ import org.jetbrains.annotations.ApiStatus
@ApiStatus.Internal
class GitShallowCloneViewModel {
val shallowClone = AtomicBooleanProperty(false)
val depth = AtomicProperty("1")
val shallowClone: AtomicBooleanProperty = AtomicBooleanProperty(false)
val depth: AtomicProperty<String> = AtomicProperty("1")
fun getShallowCloneOptions() = if (shallowClone.get()) GitShallowCloneOptions(depth.get().toIntOrNull() ?: 1) else null
fun getShallowCloneOptions(): GitShallowCloneOptions? {
return if (shallowClone.get()) GitShallowCloneOptions(depth.get().toIntOrNull() ?: 1) else null
}
}
@ApiStatus.Internal
+1
View File
@@ -12,6 +12,7 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.externalSystem" exported="" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.externalSystem.impl" exported="" />
<orderEntry type="module" module-name="intellij.gradle.toolingExtension" exported="" />
<orderEntry type="module" module-name="intellij.gradle.toolingExtension.impl" />
+1
View File
@@ -17,6 +17,7 @@
<orderEntry type="library" scope="TEST" name="JUnit4" level="project" />
<orderEntry type="module" module-name="intellij.gradle" scope="TEST" />
<orderEntry type="module" module-name="intellij.gradle.common" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.gradle.java" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testFramework.junit5" scope="TEST" />

Some files were not shown because too many files have changed in this diff Show More