Changed synthetic properties naming for getters starting with "is"
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(thread: Thread) {
|
||||
thread.<caret>isDaemon()
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(thread: Thread) {
|
||||
thread.<caret>isDaemon
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(thread: Thread) {
|
||||
thread.<caret>setDaemon(true)
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(thread: Thread) {
|
||||
thread.<caret>isDaemon = true
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import testing.JavaClass
|
||||
|
||||
fun usages(javaClass: JavaClass) {
|
||||
javaClass.isSomethingNew = !javaClass.isSomething
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package testing;
|
||||
|
||||
public class JavaClass {
|
||||
public boolean isSomething() { return true; }
|
||||
public void setSomethingNew(boolean value) {}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import testing.JavaClass
|
||||
|
||||
fun usages(javaClass: JavaClass) {
|
||||
javaClass.isSomething = !javaClass.isSomething
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package testing;
|
||||
|
||||
public class JavaClass {
|
||||
public boolean isSomething() { return true; }
|
||||
public void setSomething(boolean value) {}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "JAVA_METHOD",
|
||||
"classId": "testing/JavaClass",
|
||||
"methodSignature": "void setSomething(boolean value)",
|
||||
"newName": "setSomethingNew"
|
||||
}
|
||||
Reference in New Issue
Block a user