Refactoring: "package matching directory" is now an inspection

This commit is contained in:
Mikhail Glukhikh
2017-12-21 14:12:54 +03:00
parent 3f1a3dfeb2
commit 5affb9a25c
93 changed files with 343 additions and 294 deletions
@@ -0,0 +1,7 @@
package `in`.foo.`fun`
class Foo
fun foo() {
}
@@ -0,0 +1,8 @@
package in.foo.fun;
class Test {
static void test() {
new Foo();
TestKt.foo();
}
}
@@ -0,0 +1,6 @@
package `in`.foo.`fun`
fun test() {
Foo()
foo()
}
@@ -0,0 +1,10 @@
package in.foo.fun;
import static in.foo.fun.TestKt.foo;
class Test {
static void test() {
new Foo();
foo();
}
}
@@ -0,0 +1,6 @@
package `in`.foo.`fun`
fun test() {
Foo()
foo()
}
@@ -0,0 +1,11 @@
package usages;
import in.foo.fun.Foo;
import in.foo.fun.TestKt;
class Test {
static void test() {
new Foo();
TestKt.foo();
}
}
@@ -0,0 +1,9 @@
package usages
import `in`.foo.`fun`.Foo
import `in`.foo.`fun`.foo
fun test() {
Foo()
foo()
}
@@ -0,0 +1,11 @@
package usages;
import in.foo.fun.Foo;
import static in.foo.fun.TestKt.foo;
class Test {
static void test() {
new Foo();
foo();
}
}
@@ -0,0 +1,9 @@
package usages
import `in`.foo.`fun`.Foo
import `in`.foo.`fun`.foo
fun test() {
Foo()
foo()
}