Teach index working with source roots with package prefix

#KT-9167 Fixed

Original commit: 23e35ab112
This commit is contained in:
Nikolay Krasko
2015-11-08 20:58:55 +03:00
committed by Nikolay Krasko
parent 048725c3f0
commit b77f4ffe9f
16 changed files with 162 additions and 0 deletions
@@ -0,0 +1,6 @@
package good.prefix;
public class JavaDependency {
public void bar() {}
}
@@ -0,0 +1,6 @@
package good.prefix;
public class JavaTest extends JavaDependency {
}
@@ -0,0 +1,4 @@
package bad.prefix
class KotlinTestInBadPrefix
@@ -0,0 +1,3 @@
package good.prefix
class KotlinTestInGoodPrefix
@@ -0,0 +1,9 @@
package test.other
import bad.prefix.KotlinTestInBadPrefix
import good.prefix.KotlinTestInGoodPrefix
import good.prefix.JavaTest;
val goodTest = KotlinTestInGoodPrefix()
val badTest = KotlinTestInBadPrefix()
val javaTest = JavaTest().bar()