[plugin model] cleanup: remove dead code from ModulesWithDependencies (IJPL-206556)

There is no 'intellij.ml.inline.completion' module since cb6bf76a97d64 so this code didn't work anyway.

GitOrigin-RevId: 69cf2427ec65fcd61f1f6f00f725c748430a1954
This commit is contained in:
Nikolay Chashnikov
2025-09-30 16:18:22 +00:00
committed by intellij-monorepo-bot
parent 06286325bc
commit 9c26c58141
@@ -14,8 +14,6 @@ private val RIDER_ALIAS_ID = PluginId.getId("com.intellij.modules.rider")
private val RIDER_MODULE_ID = PluginModuleId("intellij.rider")
private val COVERAGE_ALIAS_ID = PluginId.getId("com.intellij.modules.coverage")
private val PLATFORM_COVERAGE_MODULE_ID = PluginModuleId("intellij.platform.coverage")
private val ML_INLINE_ALIAS_ID = PluginId.getId("com.intellij.ml.inline.completion")
private val INLINE_COMPLETION_MODULE_ID = PluginModuleId("intellij.ml.inline.completion")
private val JSON_ALIAS_ID = PluginId.getId("com.intellij.modules.json")
private val JSON_BACKEND_MODULE_ID = PluginModuleId("intellij.json.backend")
@@ -102,9 +100,6 @@ internal fun createModulesWithDependenciesAndAdditionalEdges(plugins: Collection
if (doesDependOnPluginAlias(module, COVERAGE_ALIAS_ID)) {
moduleIdToModule.get(PLATFORM_COVERAGE_MODULE_ID)?.let { dependenciesCollector.add(it) }
}
if (doesDependOnPluginAlias(module, ML_INLINE_ALIAS_ID)) {
moduleIdToModule.get(INLINE_COMPLETION_MODULE_ID)?.let { dependenciesCollector.add(it) }
}
if (doesDependOnPluginAlias(module, PluginId.getId("org.jetbrains.completion.full.line"))) {
fullLineApiContentModules.mapNotNullTo(dependenciesCollector) { moduleIdToModule.get(it) }
}
@@ -210,7 +205,6 @@ private val fullLineApiContentModules = listOf(
"intellij.fullLine.core",
"intellij.fullLine.local",
"intellij.fullLine.core.impl",
"intellij.ml.inline.completion",
).map { PluginModuleId(it) }
private fun collectDirectDependenciesInOldFormat(