Removed 'INSTANCE$' field generation

This commit is contained in:
Michael Bogdanov
2015-12-24 10:40:30 +03:00
parent aeb6486473
commit 2e73559f33
19 changed files with 10 additions and 170 deletions
@@ -1 +0,0 @@
org.jetbrains.kotlin.idea.inspections.DeprecatedObjectInstanceFieldReferenceInspection
@@ -1,8 +0,0 @@
// "Replace with reference to 'INSTANCE' field" "true"
import a.A;
class B {
void bar() {
A.INSTANCE.getName();
}
}
@@ -1,8 +0,0 @@
// "Replace with reference to 'INSTANCE' field" "true"
import a.A;
class B {
void bar() {
A.IN<caret>STANCE$.getName();
}
}
@@ -1,4 +0,0 @@
package a
object A {
}
@@ -1,8 +0,0 @@
// "Replace with reference to 'INSTANCE' field" "true"
import a.A;
class B {
void bar() {
A.INSTANCE.getName();
}
}
@@ -1,8 +0,0 @@
// "Replace with reference to 'INSTANCE' field" "true"
import static a.A.INSTANCE;
class B {
void bar() {
IN<caret>STANCE$.getName();
}
}
@@ -1,5 +0,0 @@
package a
object A {
val name: String = ""
}