39b2cd1027
JavaSymbolProvider uses KotlinPsiElementFinderWrapper for finding classes. CliFinder looks for Java classing assuming that class with ClassId=a/b/C lives in directory a/b and do not look into real package name of Java class. This causes that we may find some classes which we should not see from current scope. Also, the IDE implementation works correctly here (it also checks file package) which cause different behaviour of FIR IDE and FIR This change also requires to fix testdata and make Java classes live in directory consistent with file package
19 lines
881 B
Plaintext
Vendored
19 lines
881 B
Plaintext
Vendored
FILE: KotlinImporterComponent.kt
|
|
@R|simulation/State|(name = String(AutoImportedSourceRoots)) public final class KotlinImporterComponent : R|kotlin/Any| {
|
|
public constructor(): R|simulation/KotlinImporterComponent| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final class State : R|kotlin/Any| {
|
|
public constructor(directories: R|kotlin/collections/List<kotlin/String>| = R|java/util/ArrayList.ArrayList|<R|ft<kotlin/String, kotlin/String?>|>()): R|simulation/KotlinImporterComponent.State| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final var directories: R|kotlin/collections/List<kotlin/String>| = R|<local>/directories|
|
|
public get(): R|kotlin/collections/List<kotlin/String>|
|
|
public set(value: R|kotlin/collections/List<kotlin/String>|): R|kotlin/Unit|
|
|
|
|
}
|
|
|
|
}
|