[rdct] IJPL-190480: rename modules to obey naming conventions

GitOrigin-RevId: 64531e196848495a59c619844af1fe642ab8b0db
This commit is contained in:
Sergei Kharitontcev-Beglov
2025-06-16 16:31:48 +02:00
committed by intellij-monorepo-bot
parent fd58030c46
commit 041cf4ff4b
17 changed files with 34 additions and 30 deletions

4
.idea/modules.xml generated
View File

@@ -866,6 +866,8 @@
<module fileurl="file://$PROJECT_DIR$/platform/lvcs-impl/intellij.platform.lvcs.impl.iml" filepath="$PROJECT_DIR$/platform/lvcs-impl/intellij.platform.lvcs.impl.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/macro/intellij.platform.macro.iml" filepath="$PROJECT_DIR$/platform/macro/intellij.platform.macro.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/main/intellij.platform.main/intellij.platform.main.iml" filepath="$PROJECT_DIR$/platform/main/intellij.platform.main/intellij.platform.main.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/managed-cache/managed.cache/intellij.platform.managed.cache.iml" filepath="$PROJECT_DIR$/platform/managed-cache/managed.cache/intellij.platform.managed.cache.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/managed-cache/managed.cache.backend/intellij.platform.managed.cache.backend.iml" filepath="$PROJECT_DIR$/platform/managed-cache/managed.cache.backend/intellij.platform.managed.cache.backend.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/markdown-utils/intellij.platform.markdown.utils.iml" filepath="$PROJECT_DIR$/platform/markdown-utils/intellij.platform.markdown.utils.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/ml-api/intellij.platform.ml.iml" filepath="$PROJECT_DIR$/platform/ml-api/intellij.platform.ml.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/ml-impl/intellij.platform.ml.impl.iml" filepath="$PROJECT_DIR$/platform/ml-impl/intellij.platform.ml.impl.iml" />
@@ -1164,8 +1166,6 @@
<module fileurl="file://$PROJECT_DIR$/plugins/turboComplete/languages/kotlin/k1/intellij.turboComplete.languages.kotlin.k1.iml" filepath="$PROJECT_DIR$/plugins/turboComplete/languages/kotlin/k1/intellij.turboComplete.languages.kotlin.k1.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/turboComplete/intellij.turboComplete.tests.iml" filepath="$PROJECT_DIR$/plugins/turboComplete/intellij.turboComplete.tests.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/ui-designer-core/intellij.uiDesigner.iml" filepath="$PROJECT_DIR$/plugins/ui-designer-core/intellij.uiDesigner.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/managed-cache/util.io.cache/intellij.util.io.cache.iml" filepath="$PROJECT_DIR$/platform/managed-cache/util.io.cache/intellij.util.io.cache.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/managed-cache/util.io.cache.backend/intellij.util.io.cache.backend.iml" filepath="$PROJECT_DIR$/platform/managed-cache/util.io.cache.backend/intellij.util.io.cache.backend.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/changeReminder/intellij.vcs.changeReminder.iml" filepath="$PROJECT_DIR$/plugins/changeReminder/intellij.vcs.changeReminder.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/git4idea/intellij.vcs.git.iml" filepath="$PROJECT_DIR$/plugins/git4idea/intellij.vcs.git.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/git-modal-commit/intellij.vcs.git.commit.modal.iml" filepath="$PROJECT_DIR$/plugins/git-modal-commit/intellij.vcs.git.commit.modal.iml" />

View File

@@ -21,7 +21,7 @@ java_library(
"//platform/identifiers/backend",
"//spellchecker/xml",
"//platform/find/backend",
"//platform/managed-cache/util.io.cache.backend",
"//platform/managed-cache/managed.cache.backend",
]
)
### auto-generated section `build intellij.platform.backend.main` end

View File

@@ -21,6 +21,6 @@
<orderEntry type="module" module-name="intellij.platform.identifiers.highlighting.backend" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.spellchecker.xml" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.find.backend" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.util.io.cache.backend" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.managed.cache.backend" scope="RUNTIME" />
</component>
</module>

View File

@@ -1,15 +1,15 @@
### auto-generated section `build intellij.util.io.cache.backend` start
### auto-generated section `build intellij.platform.managed.cache.backend` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
jvm_resources(
name = "util.io.cache.backend_resources",
name = "managed.cache.backend_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "util.io.cache.backend",
module_name = "intellij.util.io.cache.backend",
name = "managed.cache.backend",
module_name = "intellij.platform.managed.cache.backend",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
deps = [
@@ -22,10 +22,10 @@ jvm_library(
"//platform/project/shared:project",
"//platform/util",
"//platform/platform-impl:ide-impl",
"//platform/managed-cache/util.io.cache",
"//platform/managed-cache/managed.cache",
"//platform/util/concurrency",
"//platform/core-api:core",
],
runtime_deps = [":util.io.cache.backend_resources"]
runtime_deps = [":managed.cache.backend_resources"]
)
### auto-generated section `build intellij.util.io.cache.backend` end
### auto-generated section `build intellij.platform.managed.cache.backend` end

View File

@@ -30,7 +30,7 @@
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="com.intellij.util.io.cache.backend" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="com.intellij.platform.managed.cache.backend" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
@@ -43,7 +43,7 @@
<orderEntry type="module" module-name="intellij.platform.project" />
<orderEntry type="module" module-name="intellij.platform.util" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.util.io.cache" />
<orderEntry type="module" module-name="intellij.platform.managed.cache" />
<orderEntry type="module" module-name="intellij.platform.concurrency" />
<orderEntry type="module" module-name="intellij.platform.core" />
</component>

View File

@@ -4,6 +4,6 @@
<module name="intellij.platform.backend"/>
</dependencies>
<extensions defaultExtensionNs="com.intellij">
<platform.rpc.backend.remoteApiProvider implementation="com.intellij.util.io.cache.backend.RemoteManagedCacheApiImplProvider"/>
<platform.rpc.backend.remoteApiProvider implementation="com.intellij.platform.managed.cache.backend.RemoteManagedCacheApiImplProvider"/>
</extensions>
</idea-plugin>

View File

@@ -1,15 +1,19 @@
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.util.io.cache.backend
package com.intellij.platform.managed.cache.backend
import com.intellij.concurrency.ConcurrentCollectionFactory
import com.intellij.openapi.application.PathManager
import com.intellij.openapi.components.Service
import com.intellij.openapi.components.serviceAsync
import com.intellij.openapi.project.Project
import com.intellij.platform.managed.cache.CacheId
import com.intellij.platform.managed.cache.RemoteManagedCacheApi
import com.intellij.platform.managed.cache.RemoteManagedCacheBuildParams
import com.intellij.platform.project.findProjectOrNull
import com.intellij.util.io.DataExternalizer
import com.intellij.util.io.KeyDescriptor
import com.intellij.util.io.cache.*
import com.intellij.util.io.cache.ManagedCache
import com.intellij.util.io.cache.ManagedCacheFactory
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.emptyFlow

View File

@@ -1,8 +1,8 @@
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.util.io.cache.backend
package com.intellij.platform.managed.cache.backend
import com.intellij.platform.managed.cache.RemoteManagedCacheApi
import com.intellij.platform.rpc.backend.RemoteApiProvider
import com.intellij.util.io.cache.RemoteManagedCacheApi
import fleet.rpc.remoteApiDescriptor
private class RemoteManagedCacheApiImplProvider : RemoteApiProvider {

View File

@@ -1,15 +1,15 @@
### auto-generated section `build intellij.util.io.cache` start
### auto-generated section `build intellij.platform.managed.cache` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
jvm_resources(
name = "util.io.cache_resources",
name = "managed.cache_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "util.io.cache",
module_name = "intellij.util.io.cache",
name = "managed.cache",
module_name = "intellij.platform.managed.cache",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
deps = [
@@ -21,6 +21,6 @@ jvm_library(
"@lib//:kotlinx-coroutines-core",
"//platform/project/shared:project",
],
runtime_deps = [":util.io.cache_resources"]
runtime_deps = [":managed.cache_resources"]
)
### auto-generated section `build intellij.util.io.cache` end
### auto-generated section `build intellij.platform.managed.cache` end

View File

@@ -30,7 +30,7 @@
<exclude-output />
<content url="file://$MODULE_DIR$/">
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="com.intellij.util.io.cache" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="com.intellij.platform.managed.cache" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />

View File

@@ -1,5 +1,5 @@
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.util.io.cache
package com.intellij.platform.managed.cache
import com.intellij.platform.project.ProjectId
import kotlinx.serialization.Serializable

View File

@@ -1,5 +1,5 @@
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.util.io.cache
package com.intellij.platform.managed.cache
import com.intellij.platform.rpc.RemoteApiProviderService
import fleet.rpc.RemoteApi

View File

@@ -1,5 +1,5 @@
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.util.io.cache
package com.intellij.platform.managed.cache
import kotlinx.serialization.Serializable
import org.jetbrains.annotations.ApiStatus

View File

@@ -41,8 +41,8 @@
<module name="intellij.platform.editor"/>
<module name="intellij.platform.editor.backend"/>
<module name="intellij.platform.editor.frontend"/>
<module name="intellij.util.io.cache" loading="embedded"/>
<module name="intellij.util.io.cache.backend"/>
<module name="intellij.platform.managed.cache" loading="embedded"/>
<module name="intellij.platform.managed.cache.backend"/>
<module name="intellij.platform.debugger.impl.frontend"/>
<module name="intellij.platform.debugger.impl.backend"/>