IJ-CR-146078 do not export intellij.platform.ide.impl

GitOrigin-RevId: 16a29b914bf81d4d5e3cdb43c64b088113a2fcd4
This commit is contained in:
Vladimir Krivosheev
2024-12-29 10:16:06 +01:00
committed by intellij-monorepo-bot
parent 493add99ec
commit cc667842f7
139 changed files with 166 additions and 76 deletions

View File

@@ -11,6 +11,7 @@
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
<orderEntry type="module" module-name="intellij.platform.util" />
<orderEntry type="module" module-name="intellij.java" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.java.rt" />
<orderEntry type="module" module-name="intellij.platform.ide.core.plugins" />
<orderEntry type="module" module-name="intellij.java.compiler.instrumentationUtil" />

View File

@@ -9,6 +9,7 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.java" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.java.execution" exported="" />
<orderEntry type="module" module-name="intellij.java.rt" />
<orderEntry type="module" module-name="intellij.java.debugger.impl" />

View File

@@ -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.execution.codeInspection
import com.intellij.codeInsight.TestFrameworks
@@ -36,7 +36,7 @@ import org.jetbrains.annotations.Nls
import org.jetbrains.uast.*
import javax.swing.Icon
class TestFailedLineManagerImpl(project: Project) : TestFailedLineManager, FileEditorManagerListener {
private class TestFailedLineManagerImpl(project: Project) : TestFailedLineManager, FileEditorManagerListener {
private val testStorage = TestStateStorage.getInstance(project)
private val cache = FactoryMap.create<VirtualFile, MutableMap<String, TestInfoCache>> { hashMapOf() }

View File

@@ -12,6 +12,7 @@
<orderEntry type="module" module-name="intellij.java" />
<orderEntry type="module" module-name="intellij.java.compiler" />
<orderEntry type="module" module-name="intellij.java.compiler.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.java.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="module" module-name="intellij.java.impl.refactorings" />

View File

@@ -11,6 +11,7 @@
<orderEntry type="module" module-name="intellij.java.analysis.impl" />
<orderEntry type="library" name="StreamEx" level="project" />
<orderEntry type="module" module-name="intellij.java.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="library" name="fastutil-min" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="module" module-name="intellij.java.compiler" />

View File

@@ -11,6 +11,7 @@
<orderEntry type="module" module-name="intellij.java.psi" />
<orderEntry type="module" module-name="intellij.platform.core.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.statistics" />
<orderEntry type="module" module-name="intellij.java" />
<orderEntry type="module" module-name="intellij.java.psi.impl" />

View File

@@ -11,6 +11,7 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.util" />
<orderEntry type="module" module-name="intellij.platform.core" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.analysis" />
<orderEntry type="module" module-name="intellij.platform.ide" />
<orderEntry type="module" module-name="intellij.platform.lang" />

View File

@@ -14,6 +14,7 @@
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.java.compiler" />
<orderEntry type="library" name="opentelemetry" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="library" name="opentelemetry-semconv" level="project" />
<orderEntry type="module" module-name="intellij.java.ui" />
<orderEntry type="module" module-name="intellij.platform.diagnostic.telemetry" />

View File

@@ -1,14 +1,14 @@
// 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.java.performancePlugin
import com.intellij.jarRepository.loadDependenciesSync
import com.intellij.openapi.ui.playback.PlaybackContext
import com.intellij.openapi.ui.playback.commands.AbstractCommand
import org.jetbrains.concurrency.Promise
import com.intellij.jarRepository.loadDependenciesSync
import org.jetbrains.concurrency.rejectedPromise
import org.jetbrains.concurrency.resolvedPromise
class SyncJpsLibrariesCommand(text: String, line: Int) : AbstractCommand(text, line) {
internal class SyncJpsLibrariesCommand(text: String, line: Int) : AbstractCommand(text, line) {
companion object {
const val PREFIX: String = "${CMD_PREFIX}syncJpsLibraries"
}

View File

@@ -9,6 +9,7 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.java.remoteServers" />
<orderEntry type="module" module-name="intellij.java.compiler.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.java.debugger.impl" />
<orderEntry type="module" module-name="intellij.java.execution" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />

View File

@@ -13,6 +13,7 @@
<orderEntry type="module" module-name="intellij.platform.ide" />
<orderEntry type="module" module-name="intellij.java" />
<orderEntry type="module" module-name="intellij.platform.vcs.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.vcs" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />

View File

@@ -12,6 +12,7 @@
<orderEntry type="module" module-name="intellij.java" />
<orderEntry type="library" name="StreamEx" level="project" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.java.impl" />
<orderEntry type="module" module-name="intellij.java.impl.refactorings" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" />

View File

@@ -36,6 +36,7 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="module" module-name="intellij.platform.bookmarks" exported="" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.lang" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.kernel.backend" />

View File

@@ -38,6 +38,7 @@
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<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.impl" />
<orderEntry type="module" module-name="intellij.platform.bookmarks" exported="" />
<orderEntry type="module" module-name="intellij.platform.kernel" />
<orderEntry type="module" module-name="intellij.platform.project" />

View File

@@ -12,6 +12,7 @@
<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.statistics" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="library" name="fastutil-min" level="project" />
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />

View File

@@ -35,7 +35,7 @@
<orderEntry type="module" module-name="intellij.platform.lang" exported="" />
<orderEntry type="library" name="OroMatcher" level="project" />
<orderEntry type="library" name="Velocity" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" exported="" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.usageView" exported="" />
<orderEntry type="module" module-name="intellij.platform.usageView.impl" exported="" />
<orderEntry type="library" name="cli-parser" level="project" />

View File

@@ -14,6 +14,7 @@
<orderEntry type="library" name="org.codehaus.groovy:groovy" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide" />
<orderEntry type="module" module-name="intellij.platform.lang" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.duplicates.analysis" exported="" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />

View File

@@ -15,6 +15,7 @@
<orderEntry type="module" module-name="intellij.platform.vcs" />
<orderEntry type="module" module-name="intellij.platform.vcs.impl" />
<orderEntry type="module" module-name="intellij.platform.diff.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.util.progress" />
<orderEntry type="library" name="StreamEx" level="project" />
<orderEntry type="module" module-name="intellij.platform.diagnostic" />

View File

@@ -12,6 +12,7 @@
<orderEntry type="module" module-name="intellij.platform.util" />
<orderEntry type="module" module-name="intellij.platform.indexing" />
<orderEntry type="module" module-name="intellij.platform.ide.core.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.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.ide" />

View File

@@ -40,6 +40,7 @@
<orderEntry type="module" module-name="intellij.platform.util.ui" />
<orderEntry type="module" module-name="intellij.platform.kernel" />
<orderEntry type="module" module-name="intellij.platform.debugger.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.debugger" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.rpc" />

View File

@@ -11,6 +11,7 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.java.impl" />
<orderEntry type="module" module-name="intellij.platform.diff.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.java.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.java.guiForms.designer" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />

View File

@@ -13,8 +13,7 @@ import java.util.Collections;
/**
* @author Eugene Zhuravlev
*/
public class TopLevelNode extends AbstractTreeNode {
public final class TopLevelNode extends AbstractTreeNode {
public TopLevelNode(Project project, @NotNull Object value) {
super(project, value);
myName = "[ .. ]";

View File

@@ -10,6 +10,7 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.xml" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.lang" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="library" name="Velocity" level="project" />

View File

@@ -1,11 +1,11 @@
// Copyright 2000-2021 JetBrains s.r.o. and contributors. 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.maddyhome.idea.copyright.actions
import com.intellij.copyright.CopyrightBundle
import com.intellij.ui.dsl.builder.panel
import javax.swing.JCheckBox
class UpdateCopyrightAdditionalUi {
internal class UpdateCopyrightAdditionalUi {
lateinit var updateExistingCopyrightsCb: JCheckBox
val panel = panel {
row {

View File

@@ -13,6 +13,7 @@
<orderEntry type="module" module-name="intellij.platform.ide" />
<orderEntry type="module" module-name="intellij.platform.lang" />
<orderEntry type="module" module-name="intellij.platform.util" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.extensions" />
<orderEntry type="module" module-name="intellij.platform.testRunner" />
<orderEntry type="module" module-name="intellij.platform.diff" />

View File

@@ -103,6 +103,7 @@
</library>
</orderEntry>
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="library" name="fastutil-min" level="project" />
</component>
</module>

View File

@@ -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.coverage
import com.intellij.codeInsight.AnnotationsPanel
@@ -16,8 +16,7 @@ import com.intellij.ui.layout.selectedValueMatches
import com.intellij.util.ArrayUtil
import javax.swing.JComponent
class JavaCoverageOptions(private val project: Project) : CoverageOptions() {
private class JavaCoverageOptions(private val project: Project) : CoverageOptions() {
private val coverageOptionsProvider = JavaCoverageOptionsProvider.getInstance(project)
private var panel: DialogPanel? = null

View File

@@ -17,6 +17,7 @@
<orderEntry type="module" module-name="intellij.properties.psi.impl" />
<orderEntry type="module" module-name="intellij.java.i18n" />
<orderEntry type="module" module-name="intellij.jvm.analysis" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.xml.dom" />
<orderEntry type="module" module-name="intellij.xml.psi" />
<orderEntry type="module" module-name="intellij.xml.psi.impl" />

View File

@@ -14,6 +14,7 @@
<orderEntry type="module" module-name="intellij.platform.editor" />
<orderEntry type="module" module-name="intellij.platform.ide.core" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.execution" />
<orderEntry type="module" module-name="intellij.java" />
<orderEntry type="module" module-name="intellij.java.impl" />

View File

@@ -11,6 +11,7 @@
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide" />
<orderEntry type="module" module-name="intellij.java.guiForms.designer" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.devkit.core" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.util.text.matching" />

View File

@@ -33,6 +33,7 @@
<orderEntry type="module" module-name="intellij.platform.analysis" />
<orderEntry type="module" module-name="intellij.java.psi.impl" />
<orderEntry type="library" name="kotlinx-collections-immutable" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.ide" />
<orderEntry type="module" module-name="intellij.platform.lang.core" />
<orderEntry type="module" module-name="intellij.platform.indexing" />

View File

@@ -41,6 +41,7 @@
<orderEntry type="module" module-name="intellij.platform.editor" />
<orderEntry type="module" module-name="kotlin.base.code-insight" />
<orderEntry type="module" module-name="kotlin.refactorings.common" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.analysis-api.utils" />
<orderEntry type="module" module-name="kotlin.idea" />
<orderEntry type="module" module-name="kotlin.code-insight.api" />

View File

@@ -13,6 +13,7 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
<orderEntry type="module" module-name="intellij.java" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
<orderEntry type="library" scope="TEST" name="JUnit4" level="project" />
<orderEntry type="module" module-name="intellij.java.testFramework" scope="TEST" />

View File

@@ -54,7 +54,7 @@ import kotlin.io.path.exists
/**
* Implements loading and saving module configuration from workspace model in '.classpath' file
*/
class EclipseModuleRootsSerializer : CustomModuleRootsSerializer, StorageManagerFileWriteRequestor {
internal class EclipseModuleRootsSerializer : CustomModuleRootsSerializer, StorageManagerFileWriteRequestor {
override val id: String
get() = JpsEclipseClasspathSerializer.CLASSPATH_STORAGE_ID

View File

@@ -11,6 +11,7 @@
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="module" module-name="intellij.platform.externalSystem.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.python.community.impl" />
<orderEntry type="module" module-name="intellij.evaluationPlugin.languages" />
<orderEntry type="module" module-name="intellij.evaluationPlugin.core" />

View File

@@ -3,9 +3,8 @@ package com.intellij.cce.python.execution.coverage
import org.jetbrains.io.JsonReaderEx
import org.jetbrains.io.JsonUtil
import java.io.File
import kotlin.collections.get
class PythonTestCoverageProcessor(
internal class PythonTestCoverageProcessor(
coverageFilePath: String,
) {
private val coverageInfo: Map<String, Number>

View File

@@ -12,6 +12,7 @@
<orderEntry type="module" module-name="intellij.gradle.java" />
<orderEntry type="module" module-name="intellij.maven" />
<orderEntry type="module" module-name="intellij.groovy" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.repository.search" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />

View File

@@ -24,7 +24,7 @@ import static java.util.Optional.ofNullable;
/**
* @author Vladislav.Soroka
*/
public class AddGradleDslDependencyAction extends CodeInsightAction {
public final class AddGradleDslDependencyAction extends CodeInsightAction {
static final ThreadLocal<List<MavenId>> TEST_THREAD_LOCAL = new ThreadLocal<>();
public AddGradleDslDependencyAction() {

View File

@@ -16,6 +16,7 @@
<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" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.lang" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.smRunner" />

View File

@@ -13,6 +13,7 @@
<orderEntry type="module" module-name="intellij.gradle.common" exported="" />
<orderEntry type="module" module-name="intellij.java.coverage" />
<orderEntry type="module" module-name="intellij.gradle.jps" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.java.ui" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.lang" />

View File

@@ -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 org.jetbrains.plugins.gradle.service.resolve
import com.intellij.icons.AllIcons
@@ -19,7 +19,7 @@ import org.jetbrains.plugins.groovy.lang.resolve.processors.inference.type
import org.jetbrains.plugins.groovy.lang.resolve.shouldProcessProperties
import javax.swing.Icon
class GradleExtensionsContributor : NonCodeMembersContributor() {
internal class GradleExtensionsContributor : NonCodeMembersContributor() {
override fun getClassNames(): Collection<String> {
return listOf(GradleCommonClassNames.GRADLE_API_EXTRA_PROPERTIES_EXTENSION, GRADLE_API_PROJECT)

View File

@@ -14,6 +14,7 @@
<orderEntry type="module" module-name="intellij.java" />
<orderEntry type="module" module-name="intellij.junit" scope="TEST" />
<orderEntry type="module" module-name="intellij.java.indexing" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.java.psi.impl" />
<orderEntry type="module" module-name="intellij.java.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />

View File

@@ -14,6 +14,7 @@
<orderEntry type="module" module-name="intellij.java.debugger" />
<orderEntry type="module" module-name="intellij.groovy.rt" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.groovy.spock.rt" />
<orderEntry type="module" module-name="intellij.platform.smRunner" />
<orderEntry type="module" module-name="intellij.java.compiler.impl" />

View File

@@ -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 org.jetbrains.plugins.groovy.config.wizard
import com.intellij.ide.wizard.BuildSystemNewProjectWizardData
@@ -14,8 +14,7 @@ interface BuildSystemGroovyNewProjectWizardData: BuildSystemNewProjectWizardData
var groovySdk : DistributionInfo?
companion object {
val KEY = Key.create<BuildSystemGroovyNewProjectWizardData>(BuildSystemGroovyNewProjectWizardData::class.java.name)
val KEY: Key<BuildSystemGroovyNewProjectWizardData> = Key.create(BuildSystemGroovyNewProjectWizardData::class.java.name)
@JvmStatic
val NewProjectWizardStep.groovyBuildSystemData: BuildSystemGroovyNewProjectWizardData?

View File

@@ -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 org.jetbrains.plugins.groovy.config.wizard
import com.intellij.facet.impl.ui.libraries.LibraryCompositionSettings
@@ -37,7 +37,7 @@ import java.awt.KeyboardFocusManager
import java.nio.file.Path
import java.nio.file.Paths
class IntelliJGroovyNewProjectWizard : BuildSystemGroovyNewProjectWizard {
private class IntelliJGroovyNewProjectWizard : BuildSystemGroovyNewProjectWizard {
override val name = INTELLIJ

View File

@@ -12,6 +12,7 @@
<orderEntry type="module" module-name="intellij.platform.webSymbols" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.images" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
</component>

View File

@@ -13,6 +13,7 @@
<orderEntry type="module" module-name="intellij.java.execution" />
<orderEntry type="module" module-name="intellij.java.execution.impl" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
<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.lang.impl" />
<orderEntry type="module" module-name="intellij.java.psi" />

View File

@@ -8,7 +8,7 @@ import com.intellij.ui.dsl.builder.COLUMNS_LARGE
import com.intellij.ui.dsl.builder.columns
import com.intellij.ui.dsl.builder.panel
class JavaFxSettingsConfigurableUi {
internal class JavaFxSettingsConfigurableUi {
lateinit var pathField: TextFieldWithBrowseButton
var panel = panel {
row(JavaFXBundle.message("javafx.settings.configurable.path.to.scenebuilder")) {

View File

@@ -14,6 +14,7 @@
<orderEntry type="library" name="jsonpath" level="project" />
<orderEntry type="module" module-name="intellij.platform.core" />
<orderEntry type="module" module-name="intellij.platform.analysis" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.json" />
<orderEntry type="module" module-name="intellij.platform.ide" />
<orderEntry type="module" module-name="intellij.platform.util.ui" />

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2021 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.jsonpath.ui
import com.intellij.icons.AllIcons
@@ -25,7 +25,7 @@ import java.util.function.Supplier
@Service(Service.Level.PROJECT)
@ApiStatus.Experimental
class JsonPathEvaluateManager internal constructor(private val project: Project) {
internal class JsonPathEvaluateManager internal constructor(private val project: Project) {
fun evaluateExpression(jsonPathExpr: String? = null) {
val toolWindow = initToolwindow()
val cm = toolWindow.contentManager

View File

@@ -17,6 +17,7 @@
<orderEntry type="library" name="JUnit4" level="project" />
<orderEntry type="module" module-name="intellij.junit.rt" />
<orderEntry type="module" module-name="intellij.java.compiler" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.java.impl" />
<orderEntry type="module" module-name="intellij.java.indexing" />
<orderEntry type="module" module-name="intellij.platform.smRunner" />

View File

@@ -27,6 +27,7 @@
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="library" name="kotlinc.kotlin-compiler-common" level="project" />
<orderEntry type="library" name="kotlinc.analysis-api" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="library" name="kotlinc.kotlin-scripting-common" level="project" />
<orderEntry type="library" name="kotlinc.kotlin-scripting-jvm" level="project" />
<orderEntry type="library" name="kotlinc.kotlin-scripting-compiler-impl" level="project" />

View File

@@ -38,6 +38,7 @@
<orderEntry type="module" module-name="kotlin.base.plugin" />
<orderEntry type="module" module-name="kotlin.base.facet" />
<orderEntry type="module" module-name="kotlin.base.project-structure" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.indices" />
<orderEntry type="module" module-name="kotlin.base.platforms" />
<orderEntry type="module" module-name="kotlin.base.resources" />

View File

@@ -11,6 +11,7 @@
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="library" name="kotlinc.kotlin-compiler-common" level="project" />
<orderEntry type="module" module-name="intellij.java.frontback.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.frontend-agnostic" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.editor.ex" />

View File

@@ -35,6 +35,7 @@
<orderEntry type="library" name="vavr" level="project" />
<orderEntry type="library" name="javax-inject" level="project" />
<orderEntry type="module" module-name="kotlin.base.util" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.psi" />
<orderEntry type="module" module-name="kotlin.base.facet" />
<orderEntry type="module" module-name="kotlin.base.indices" />

View File

@@ -11,6 +11,7 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="jetbrains-annotations" level="project" />
<orderEntry type="library" scope="TEST" name="commons-compress" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="library" name="kotlinc.kotlin-compiler-common" level="project" />
<orderEntry type="library" name="kotlinc.kotlin-jps-common" level="project" />

View File

@@ -28,6 +28,7 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="library" name="kotlinc.kotlin-compiler-common" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="library" name="kotlinc.kotlin-compiler-fe10" level="project" />
<orderEntry type="library" name="kotlinc.kotlin-jps-common" level="project" />
<orderEntry type="library" name="kotlinc.analysis-api" level="project" />

View File

@@ -42,6 +42,7 @@
<orderEntry type="module" module-name="kotlin.base.frontend-agnostic" />
<orderEntry type="module" module-name="kotlin.base.util" />
<orderEntry type="module" module-name="kotlin.base.psi" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.plugin" />
<orderEntry type="module" module-name="kotlin.base.resources" />
<orderEntry type="module" module-name="kotlin.base.platforms" />

View File

@@ -30,6 +30,7 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="library" name="kotlinc.kotlin-compiler-common" level="project" />
<orderEntry type="library" name="kotlinc.kotlin-jps-common" level="project" />
<orderEntry type="module" module-name="kotlin.base.frontend-agnostic" />

View File

@@ -37,6 +37,7 @@
<orderEntry type="module" module-name="kotlin.base.resources" />
<orderEntry type="module" module-name="kotlin.base.code-insight" />
<orderEntry type="module" module-name="kotlin.base.analysis-api.utils" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.project-structure" />
<orderEntry type="module" module-name="kotlin.formatter" />
<orderEntry type="module" module-name="kotlin.code-insight.api" />

View File

@@ -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 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 org.jetbrains.kotlin.idea.codeInsight
import com.intellij.application.options.editor.AutoImportOptionsProvider
@@ -7,7 +7,7 @@ import com.intellij.openapi.options.BeanConfigurable
import com.intellij.openapi.project.Project
import org.jetbrains.kotlin.idea.base.resources.KotlinBundle
class KotlinCodeInsightWorkspaceSettingsProvider(project: Project) : BeanConfigurable<KotlinCodeInsightWorkspaceSettings>(
private class KotlinCodeInsightWorkspaceSettingsProvider(project: Project) : BeanConfigurable<KotlinCodeInsightWorkspaceSettings>(
KotlinCodeInsightWorkspaceSettings.getInstance(project), KotlinBundle.message("code.insight.workspace.settings.title")
), AutoImportOptionsProvider {

View File

@@ -43,6 +43,7 @@
<orderEntry type="module" module-name="kotlin.code-insight.inspections.shared" />
<orderEntry type="module" module-name="kotlin.code-insight.descriptions" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.editor" />
<orderEntry type="module" module-name="intellij.java.psi" />
<orderEntry type="library" name="Guava" level="project" />

View File

@@ -47,6 +47,7 @@
<orderEntry type="module" module-name="intellij.java.analysis.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.refactorings.common" />
<orderEntry type="module" module-name="intellij.java.impl" />
<orderEntry type="module" module-name="kotlin.project-configuration" />

View File

@@ -1,3 +1,4 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.idea.codeInsight.inspections.shared.runBlocking
import com.intellij.codeInspection.CommonProblemDescriptor
@@ -19,7 +20,7 @@ import javax.swing.JComponent
import javax.swing.event.HyperlinkEvent
import javax.swing.text.html.HTMLEditorKit
class RunBlockingInspectionPresentation(
private class RunBlockingInspectionPresentation(
toolWrapper: InspectionToolWrapper<*, *>,
context: GlobalInspectionContextImpl
) : DefaultInspectionToolPresentation(toolWrapper, context) {

View File

@@ -33,6 +33,7 @@
<orderEntry type="module" module-name="intellij.platform.analysis" />
<orderEntry type="module" module-name="kotlin.base.util" />
<orderEntry type="module" module-name="kotlin.base.psi" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.editor" />
<orderEntry type="module" module-name="intellij.platform.lang" />
<orderEntry type="module" module-name="intellij.platform.core.impl" />

View File

@@ -45,6 +45,7 @@
<orderEntry type="module" module-name="kotlin.fir.tests" scope="TEST" />
<orderEntry type="module" module-name="kotlin.fir.frontend-independent" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.util.ui" />
<orderEntry type="module" module-name="intellij.java.psi" />

View File

@@ -16,6 +16,7 @@
<orderEntry type="module" module-name="kotlin.base.platforms" />
<orderEntry type="module" module-name="kotlin.base.facet" />
<orderEntry type="module" module-name="kotlin.base.code-insight" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.indices" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.execution.impl" />

View File

@@ -52,6 +52,7 @@
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="kotlin.highlighting.shared" />
<orderEntry type="module" module-name="kotlin.highlighting.k2" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.indices" />
<orderEntry type="module" module-name="kotlin.code-insight.line-markers.shared" />
<orderEntry type="module" module-name="intellij.platform.analysis.impl" scope="TEST" />

View File

@@ -38,6 +38,7 @@
<orderEntry type="module" module-name="intellij.java.psi" />
<orderEntry type="module" module-name="kotlin.base.analysis-api.utils" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.code-insight.impl-base" />
</component>
</module>

View File

@@ -13,6 +13,7 @@
<orderEntry type="library" name="kotlinc.kotlin-compiler-fe10" level="project" />
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="module" module-name="kotlin.base.util" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.psi" />
<orderEntry type="module" module-name="kotlin.base.indices" />
<orderEntry type="module" module-name="kotlin.base.resources" />

View File

@@ -15,6 +15,7 @@
<orderEntry type="module" module-name="kotlin.base.frontend-agnostic" />
<orderEntry type="module" module-name="kotlin.base.util" />
<orderEntry type="module" module-name="kotlin.base.psi" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.compiler-configuration" />
<orderEntry type="module" module-name="kotlin.base.analysis" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />

View File

@@ -32,6 +32,7 @@
<orderEntry type="library" name="kotlinx-coroutines-core" level="project" />
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="module" module-name="kotlin.base.util" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.psi" />
<orderEntry type="module" module-name="kotlin.base.indices" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />

View File

@@ -33,6 +33,7 @@
<orderEntry type="library" name="kotlinc.analysis-api-k2" level="project" />
<orderEntry type="module" module-name="kotlin.base.util" />
<orderEntry type="module" module-name="kotlin.base.psi" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.facet" />
<orderEntry type="module" module-name="kotlin.base.project-structure" />
<orderEntry type="module" module-name="kotlin.base.analysis" />

View File

@@ -25,6 +25,7 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="kotlin-stdlib" level="project" />
<orderEntry type="library" name="kotlinc.kotlin-compiler-common" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="library" name="kotlinc.analysis-api" level="project" />
<orderEntry type="module" module-name="kotlin.base.frontend-agnostic" />
<orderEntry type="module" module-name="kotlin.base.project-structure" />

View File

@@ -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 org.jetbrains.kotlin.idea.completion
@@ -11,7 +11,7 @@ import org.jetbrains.kotlin.psi.KtFile
import org.jetbrains.kotlin.psi.KtStringTemplateExpression
import org.jetbrains.kotlin.psi.NotNullableUserDataProperty
class KotlinCompletionCharFilter : CharFilter() {
internal class KotlinCompletionCharFilter : CharFilter() {
companion object {
val JUST_TYPING_PREFIX: Key<String> = Key("KotlinCompletionCharFilter.JUST_TYPING_PREFIX")
}

View File

@@ -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 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 org.jetbrains.kotlin.idea.completion
@@ -23,7 +23,7 @@ import org.jetbrains.kotlin.psi.psiUtil.*
import org.jetbrains.kotlin.renderer.render
@ApiStatus.Internal
val KOTLIN_CAST_REQUIRED_COLOR = JBColor(0x4E4040, 0x969696)
val KOTLIN_CAST_REQUIRED_COLOR: JBColor = JBColor(0x4E4040, 0x969696)
tailrec fun <T : Any> LookupElement.putUserDataDeep(key: Key<T>, value: T?) {
if (this is LookupElementDecorator<*>) {

View File

@@ -41,6 +41,7 @@
<orderEntry type="module" module-name="kotlin.base.kdoc" />
<orderEntry type="module" module-name="kotlin.base.indices" />
<orderEntry type="module" module-name="kotlin.base.facet" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.project-structure" />
<orderEntry type="module" module-name="kotlin.base.scripting" />
<orderEntry type="module" module-name="kotlin.base.analysis" />

View File

@@ -13,6 +13,7 @@
<orderEntry type="library" name="jetbrains-annotations" level="project" />
<orderEntry type="module" module-name="intellij.platform.util" />
<orderEntry type="module" module-name="intellij.platform.codeStyle" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.code-insight.minimal" />
<orderEntry type="module" module-name="intellij.platform.projectModel" />
<orderEntry type="library" name="kotlinc.kotlin-compiler-common" level="project" />

View File

@@ -19,7 +19,7 @@ import javax.swing.BorderFactory
import javax.swing.JLabel
import javax.swing.JPanel
class KotlinSaveStylePanel(settings: CodeStyleSettings) : CodeStyleAbstractPanel(KotlinLanguage.INSTANCE, null, settings) {
internal class KotlinSaveStylePanel(settings: CodeStyleSettings) : CodeStyleAbstractPanel(KotlinLanguage.INSTANCE, null, settings) {
override fun getRightMargin() = throw UnsupportedOperationException()
override fun createHighlighter(scheme: EditorColorsScheme) = throw UnsupportedOperationException()
override fun getFileType() = throw UnsupportedOperationException()

View File

@@ -12,6 +12,7 @@
<orderEntry type="library" name="kotlinc.kotlin-compiler-common" level="project" />
<orderEntry type="library" name="kotlinc.kotlin-jps-common" level="project" />
<orderEntry type="library" name="kotlinc.analysis-api" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="library" name="Gradle" level="project" />
<orderEntry type="module" module-name="kotlin.base.frontend-agnostic" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />

View File

@@ -17,6 +17,7 @@
<orderEntry type="library" name="JUnit4" level="project" />
<orderEntry type="library" name="kotlin-test" level="project" />
<orderEntry type="module" module-name="kotlin.base.util" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.project-model" />
<orderEntry type="module" module-name="kotlin.base.compiler-configuration" />
<orderEntry type="module" module-name="kotlin.base.plugin" />

View File

@@ -46,6 +46,7 @@
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="module" module-name="kotlin.base.compiler-configuration" />
<orderEntry type="module" module-name="kotlin.base.facet" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.fe10.analysis" />
<orderEntry type="module" module-name="intellij.java.psi" />
<orderEntry type="module" module-name="kotlin.base.code-insight" />

View File

@@ -37,6 +37,7 @@
<orderEntry type="module" module-name="kotlin.base.indices" />
<orderEntry type="module" module-name="kotlin.base.plugin" />
<orderEntry type="module" module-name="kotlin.base.project-structure" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.psi" />
<orderEntry type="module" module-name="kotlin.base.util" />
<orderEntry type="module" module-name="kotlin.fir.frontend-independent" />

View File

@@ -51,6 +51,7 @@
<orderEntry type="module" module-name="intellij.platform.ide.util.io" />
<orderEntry type="module" module-name="intellij.platform.smRunner" />
<orderEntry type="module" module-name="intellij.java.psi" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.java.execution.impl" />
<orderEntry type="module" module-name="intellij.java.debugger.impl" />
<orderEntry type="module" module-name="kotlin.code-insight.utils" />

View File

@@ -4,8 +4,8 @@ package org.jetbrains.kotlin.idea.debugger.coroutine.view
import com.intellij.debugger.engine.DebugProcessImpl
import com.intellij.debugger.engine.DebuggerManagerThreadImpl
import com.intellij.debugger.engine.SuspendContextImpl
import com.intellij.debugger.engine.JavaExecutionStack
import com.intellij.debugger.engine.SuspendContextImpl
import com.intellij.debugger.jdi.ThreadReferenceProxyImpl
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.application.ModalityState
@@ -15,13 +15,13 @@ import com.intellij.xdebugger.frame.XStackFrame
import com.intellij.xdebugger.impl.ui.tree.XDebuggerTree
import com.intellij.xdebugger.impl.ui.tree.nodes.XValueNodeImpl
import org.jetbrains.kotlin.analysis.decompiler.stub.file.ClsClassFinder.isKotlinInternalCompiledFile
import org.jetbrains.kotlin.idea.debugger.coroutine.data.RunningCoroutineStackFrameItem
import org.jetbrains.kotlin.idea.debugger.core.invokeInManagerThread
import org.jetbrains.kotlin.idea.debugger.coroutine.data.RunningCoroutineStackFrameItem
import java.awt.event.KeyAdapter
import java.awt.event.KeyEvent
import java.awt.event.MouseEvent
class CoroutineSelectedNodeListener(
internal class CoroutineSelectedNodeListener(
private val debugProcess: DebugProcessImpl,
private val tree: XDebuggerTree
) {

View File

@@ -41,7 +41,7 @@ import org.jetbrains.kotlin.idea.debugger.coroutine.util.*
import java.awt.BorderLayout
import javax.swing.JPanel
class CoroutineView(project: Project, javaDebugProcess: JavaDebugProcess) :
internal class CoroutineView(project: Project, javaDebugProcess: JavaDebugProcess) :
Disposable, XDebugSessionListenerProvider, CreateContentParamsProvider {
companion object {
private const val VIEW_CLEAR_DELAY_MS = 100

View File

@@ -10,7 +10,7 @@ import com.intellij.xdebugger.impl.ui.DebuggerUIUtil
import org.jetbrains.kotlin.idea.debugger.coroutine.util.logger
import org.jetbrains.kotlin.idea.util.application.isUnitTestMode
class CoroutineViewDebugSessionListener(
internal class CoroutineViewDebugSessionListener(
private val session: XDebugSession,
private val coroutineView: CoroutineView
) : XDebugSessionListener {

View File

@@ -21,7 +21,7 @@ import org.jetbrains.kotlin.idea.debugger.coroutine.data.State
import org.jetbrains.kotlin.idea.debugger.coroutine.util.logger
import javax.swing.Icon
class SimpleColoredTextIcon(val icon: Icon?, val hasChildren: Boolean) {
internal class SimpleColoredTextIcon(val icon: Icon?, val hasChildren: Boolean) {
private val texts = mutableListOf<String>()
private val textKeyAttributes = mutableListOf<TextAttributesKey>()
@@ -91,7 +91,7 @@ interface CoroutineDebuggerColors {
}
}
fun fromState(state: State, isCurrent: Boolean): Icon =
internal fun fromState(state: State, isCurrent: Boolean): Icon =
when (state) {
State.SUSPENDED -> AllIcons.Debugger.ThreadFrozen
State.RUNNING -> if (isCurrent) AllIcons.Debugger.ThreadCurrent else AllIcons.Debugger.ThreadRunning
@@ -99,7 +99,7 @@ fun fromState(state: State, isCurrent: Boolean): Icon =
else -> AllIcons.Debugger.ThreadStates.Daemon_sign
}
class SimpleColoredTextIconPresentationRenderer {
internal class SimpleColoredTextIconPresentationRenderer {
companion object {
val log by logger
}

View File

@@ -32,6 +32,7 @@
<orderEntry type="library" name="kotlinc.kotlin-compiler-fe10" level="project" />
<orderEntry type="library" name="kotlinc.kotlin-scripting-compiler-impl" level="project" />
<orderEntry type="library" name="kotlinc.analysis-api" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="library" name="kotlinc.analysis-api-fe10" level="project" />
<orderEntry type="module" module-name="kotlin.base.compiler-configuration" />
<orderEntry type="module" module-name="kotlin.base.plugin" />

View File

@@ -14,6 +14,7 @@
<orderEntry type="library" name="kotlinc.kotlin-compiler-common" level="project" />
<orderEntry type="module" module-name="kotlin.base.project-structure" />
<orderEntry type="module" module-name="kotlin.base.resources" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.statistics" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="module" module-name="kotlin.project-configuration" />

View File

@@ -6,7 +6,7 @@ import com.intellij.openapi.actionSystem.impl.ActionConfigurationCustomizer
private const val NEW_DIR: String = "NewDir"
class KotlinActionsManager: ActionConfigurationCustomizer, ActionConfigurationCustomizer.LightCustomizeStrategy {
private class KotlinActionsManager: ActionConfigurationCustomizer, ActionConfigurationCustomizer.LightCustomizeStrategy {
override suspend fun customize(actionRegistrar: ActionRuntimeRegistrar) {
actionRegistrar.replaceAction(NEW_DIR, CreateKotlinAwareDirectoryOrPackageAction())
}

View File

@@ -36,6 +36,7 @@
<orderEntry type="library" name="kotlinc.kotlin-compiler-common" level="project" />
<orderEntry type="module" module-name="kotlin.base.util" />
<orderEntry type="module" module-name="intellij.java.analysis" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.java" />
<orderEntry type="module" module-name="kotlin.base.psi" />
<orderEntry type="library" name="kotlinc.analysis-api" level="project" />

View File

@@ -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 org.jetbrains.kotlin.idea.base.searching.usages.dialogs
import com.intellij.find.FindUsagesSettings
@@ -20,7 +20,7 @@ import org.jetbrains.kotlin.psi.KtNamedDeclaration
import org.jetbrains.kotlin.psi.psiUtil.hasActualModifier
import javax.swing.JPanel
class KotlinFindFunctionUsagesDialog(
internal class KotlinFindFunctionUsagesDialog(
method: KtFunction,
project: Project,
findUsagesOptions: KotlinFunctionFindUsagesOptions,

View File

@@ -15,6 +15,7 @@
<orderEntry type="module" module-name="kotlin.base.frontend-agnostic" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />
<orderEntry type="module" module-name="kotlin.base.util" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.compiler-configuration" />
<orderEntry type="module" module-name="kotlin.base.plugin" />
<orderEntry type="module" module-name="kotlin.base.platforms" />

View File

@@ -13,6 +13,7 @@
<orderEntry type="library" name="kotlinc.kotlin-compiler-fe10" level="project" />
<orderEntry type="library" name="kotlinc.kotlin-jps-common" level="project" />
<orderEntry type="library" name="ASM" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="module" module-name="intellij.platform.vcs" />
<orderEntry type="module" module-name="intellij.platform.ide.observable" />

View File

@@ -17,6 +17,7 @@
<orderEntry type="module" module-name="intellij.java.ui" />
<orderEntry type="module" module-name="intellij.platform.util" />
<orderEntry type="module" module-name="intellij.platform.lang.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.core.ui" />
<orderEntry type="module" module-name="intellij.java" />

View File

@@ -15,6 +15,7 @@
<orderEntry type="library" name="kotlinc.kotlin-compiler-fe10" level="project" />
<orderEntry type="library" name="kotlinc.kotlin-jps-common" level="project" />
<orderEntry type="library" name="Java Compatibility" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.frontend-agnostic" />
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
<orderEntry type="module" module-name="kotlin.base.util" />

View File

@@ -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 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 org.jetbrains.kotlin.tools.projectWizard
import com.intellij.ide.wizard.NewProjectWizardMultiStepFactory
@@ -6,8 +6,8 @@ import com.intellij.openapi.extensions.ExtensionPointName
interface BuildSystemKotlinNewProjectWizard : NewProjectWizardMultiStepFactory<KotlinNewProjectWizard.Step> {
companion object {
const val DEFAULT_KOTLIN_VERSION = "1.9.0"
const val DEFAULT_KOTLIN_VERSION: String = "1.9.0"
var EP_NAME = ExtensionPointName<BuildSystemKotlinNewProjectWizard>("com.intellij.newProjectWizard.kotlin.buildSystem")
val EP_NAME: ExtensionPointName<BuildSystemKotlinNewProjectWizard> = ExtensionPointName<BuildSystemKotlinNewProjectWizard>("com.intellij.newProjectWizard.kotlin.buildSystem")
}
}

View File

@@ -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 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 org.jetbrains.kotlin.tools.projectWizard.wizard.ui.secondStep.modulesEditor
import com.intellij.openapi.actionSystem.ActionToolbarPosition
@@ -15,7 +15,7 @@ import org.jetbrains.kotlin.utils.addToStdlib.safeAs
import java.util.*
import javax.swing.JComponent
class ModulesEditorToolbarDecorator(
internal class ModulesEditorToolbarDecorator(
private val tree: ModulesEditorTree,
private val moduleCreator: NewModuleCreator,
private val model: TargetsModel,

View File

@@ -37,6 +37,7 @@
<orderEntry type="library" name="kotlinc.kotlin-compiler-common" level="project" />
<orderEntry type="module" module-name="intellij.java" />
<orderEntry type="module" module-name="kotlin.base.frontend-agnostic" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="kotlin.base.resources" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="kotlin.base.analysis" />

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