Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
98d16589
Commit
98d16589
authored
2 years ago
by
Jinseong Jeon
Browse files
Options
Download
Email Patches
Plain Diff
K2: adapt to AA changes regarding PackagePartProviderFactory
parent
6ef318b2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
plugins/kotlin/base/analysis-api-providers/kotlin.base.analysis-api-providers.iml
+1
-0
...ysis-api-providers/kotlin.base.analysis-api-providers.iml
plugins/kotlin/base/analysis-api-providers/resources/kotlin.base.analysis-api-providers.xml
+3
-0
...roviders/resources/kotlin.base.analysis-api-providers.xml
plugins/kotlin/base/analysis-api-providers/src/org/jetbrains/kotlin/idea/base/analysisApiProviders/PackagePartProviderFactoryIdeImpl.kt
+4
-4
...analysisApiProviders/PackagePartProviderFactoryIdeImpl.kt
plugins/kotlin/plugin/k2/resources/META-INF/lowLevelApiFir.xml
+0
-3
...ns/kotlin/plugin/k2/resources/META-INF/lowLevelApiFir.xml
with
8 additions
and
7 deletions
+8
-7
plugins/kotlin/base/analysis-api-providers/kotlin.base.analysis-api-providers.iml
+
1
-
0
View file @
98d16589
...
...
@@ -11,6 +11,7 @@
<orderEntry
type=
"library"
name=
"kotlinc.kotlin-stdlib"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"kotlinc.kotlin-compiler-common"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"kotlinc.analysis-api-providers"
level=
"project"
/>
<orderEntry
type=
"module"
module-name=
"kotlin.base.analysis"
/>
<orderEntry
type=
"module"
module-name=
"kotlin.base.frontend-agnostic"
/>
<orderEntry
type=
"module"
module-name=
"kotlin.base.util"
/>
<orderEntry
type=
"module"
module-name=
"kotlin.base.indices"
/>
...
...
This diff is collapsed.
Click to expand it.
plugins/kotlin/base/analysis-api-providers/resources/kotlin.base.analysis-api-providers.xml
+
3
-
0
View file @
98d16589
...
...
@@ -11,5 +11,8 @@
serviceImplementation=
"org.jetbrains.kotlin.idea.base.analysisApiProviders.IdeKotlinPackageProviderFactory"
/>
<projectService
serviceImplementation=
"org.jetbrains.kotlin.idea.base.analysisApiProviders.KotlinModuleStateTrackerProvider"
/>
<projectService
serviceInterface=
"org.jetbrains.kotlin.analysis.providers.PackagePartProviderFactory"
serviceImplementation=
"org.jetbrains.kotlin.idea.base.analysisApiProviders.PackagePartProviderFactoryIdeImpl"
/>
</extensions>
</idea-plugin>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
plugins/kotlin/
fir-low-level-api-ide-impl
/src/org/jetbrains/kotlin/idea/
fir/low/level/api/
ide/PackagePartProviderFactoryIdeImpl.kt
→
plugins/kotlin/
base/analysis-api-providers
/src/org/jetbrains/kotlin/idea/
base/analysisApiProv
ide
rs
/PackagePartProviderFactoryIdeImpl.kt
+
4
-
4
View file @
98d16589
// 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
.
package
org.jetbrains.kotlin.idea.
fir.low.level.api.
ide
// Copyright 2000-2022 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.analysisApiProv
ide
rs
import
com.intellij.psi.search.GlobalSearchScope
import
org.jetbrains.kotlin.analysis.
low.level.api.fir.api.service
s.PackagePartProviderFactory
import
org.jetbrains.kotlin.analysis.
provider
s.PackagePartProviderFactory
import
org.jetbrains.kotlin.idea.caches.resolve.IDEPackagePartProvider
import
org.jetbrains.kotlin.load.kotlin.PackagePartProvider
internal
class
PackagePartProviderFactoryIdeImpl
:
PackagePartProviderFactory
()
{
override
fun
createPackagePartProvider
ForLibrary
(
scope
:
GlobalSearchScope
):
PackagePartProvider
{
override
fun
createPackagePartProvider
(
scope
:
GlobalSearchScope
):
PackagePartProvider
{
return
IDEPackagePartProvider
(
scope
)
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
plugins/kotlin/plugin/k2/resources/META-INF/lowLevelApiFir.xml
+
0
-
3
View file @
98d16589
...
...
@@ -4,9 +4,6 @@
<projectService
serviceInterface=
"org.jetbrains.kotlin.analysis.low.level.api.fir.api.services.FirSealedClassInheritorsProcessorFactory"
serviceImplementation=
"org.jetbrains.kotlin.idea.fir.low.level.api.ide.FirSealedClassInheritorsProcessorFactoryIdeImpl"
/>
<projectService
serviceInterface=
"org.jetbrains.kotlin.analysis.low.level.api.fir.api.services.PackagePartProviderFactory"
serviceImplementation=
"org.jetbrains.kotlin.idea.fir.low.level.api.ide.PackagePartProviderFactoryIdeImpl"
/>
<projectService
serviceImplementation=
"org.jetbrains.kotlin.analysis.low.level.api.fir.project.structure.LLFirBuiltinsSessionFactory"
/>
<projectService
serviceImplementation=
"org.jetbrains.kotlin.analysis.low.level.api.fir.project.structure.LLFirLibrarySessionFactory"
/>
<projectService
serviceImplementation=
"org.jetbrains.kotlin.analysis.low.level.api.fir.project.structure.LLFirNonUnderContentRootSessionFactory"
/>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment