Replace object$ -> OBJECT$, instance$ -> INSTANCE$ in the project
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class C {
|
||||
<error>class object</error> {
|
||||
<error>val `object$`</error> = this
|
||||
<error>val `OBJECT$`</error> = this
|
||||
}
|
||||
|
||||
val `object$` = C
|
||||
val `OBJECT$` = C
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
public class Testing {
|
||||
public static void test() {
|
||||
mockLib.foo.LibClass.object$.<caret>
|
||||
mockLib.foo.LibClass.OBJECT$.<caret>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,4 +4,4 @@ public class Testing {
|
||||
}
|
||||
}
|
||||
|
||||
// EXIST: instance$
|
||||
// EXIST: INSTANCE$
|
||||
|
||||
@@ -4,4 +4,4 @@ public class Testing {
|
||||
}
|
||||
}
|
||||
|
||||
// EXIST: instance$
|
||||
// EXIST: INSTANCE$
|
||||
|
||||
@@ -4,6 +4,6 @@ import server.O
|
||||
|
||||
class Client {
|
||||
fun fooBar() {
|
||||
println("foo = " + O.instance$.getFoo())
|
||||
println("foo = " + O.INSTANCE$.getFoo())
|
||||
}
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
Class static member access (7: 28) println("foo = " + O.instance$.getFoo())
|
||||
Class static member access (7: 28) println("foo = " + O.INSTANCE$.getFoo())
|
||||
Usage in import (3: 15) import server.O
|
||||
+2
-2
@@ -4,9 +4,9 @@ import server.*
|
||||
|
||||
class Client {
|
||||
fun fooBar() {
|
||||
A.object$.setFoo("a");
|
||||
A.OBJECT$.setFoo("a");
|
||||
A.foo = "a";
|
||||
println("a.foo = " + A.object$.getFoo());
|
||||
println("a.foo = " + A.OBJECT$.getFoo());
|
||||
println("a.foo = " + A.foo);
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
Unclassified usage (10: 32) println("a.foo = " + A.foo);
|
||||
Unclassified usage (7: 19) A.object$.setFoo("a");
|
||||
Unclassified usage (7: 19) A.OBJECT$.setFoo("a");
|
||||
Unclassified usage (8: 11) A.foo = "a";
|
||||
Unclassified usage (9: 40) println("a.foo = " + A.object$.getFoo());
|
||||
Unclassified usage (9: 40) println("a.foo = " + A.OBJECT$.getFoo());
|
||||
@@ -1,12 +1,12 @@
|
||||
class ClassObject {
|
||||
void foo() {
|
||||
WithClassObject.object$.getValue();
|
||||
WithClassObject.object$.getValue();
|
||||
WithClassObject.object$.foo();
|
||||
WithClassObject.object$.getValueWithGetter();
|
||||
WithClassObject.object$.getVariable();
|
||||
WithClassObject.object$.setVariable(0);
|
||||
WithClassObject.object$.getVariableWithAccessors();
|
||||
WithClassObject.object$.setVariableWithAccessors(0);
|
||||
WithClassObject.OBJECT$.getValue();
|
||||
WithClassObject.OBJECT$.getValue();
|
||||
WithClassObject.OBJECT$.foo();
|
||||
WithClassObject.OBJECT$.getValueWithGetter();
|
||||
WithClassObject.OBJECT$.getVariable();
|
||||
WithClassObject.OBJECT$.setVariable(0);
|
||||
WithClassObject.OBJECT$.getVariableWithAccessors();
|
||||
WithClassObject.OBJECT$.setVariableWithAccessors(0);
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -4,6 +4,6 @@ import b.Test;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package b;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package b;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package b;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import b.Test;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import b.Test;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import b.Test;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package a;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package b;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
a.Test t = a.Test.instance$;
|
||||
a.Test t = a.Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import a.*;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import a.Test;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package c;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
a.Test t = a.Test.instance$;
|
||||
a.Test t = a.Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import a.*;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import a.Test;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import b.Test;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package b;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package b;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package b;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import b.Test;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import b.Test;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import b.Test;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package a;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package b;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
a.Test t = a.Test.instance$;
|
||||
a.Test t = a.Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import a.*;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import a.Test;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package c;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
a.Test t = a.Test.instance$;
|
||||
a.Test t = a.Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import a.*;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ import a.Test;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package a;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ package a;
|
||||
|
||||
class J {
|
||||
void bar() {
|
||||
Test t = Test.instance$;
|
||||
Test t = Test.INSTANCE$;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user