Rename: Fixed rename of Kotlin enum constants/@JvmField properties through Java references
#KT-11817 Fixed
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
public class EnumJavaRef {
|
||||
public void use(EnumTarget p) {
|
||||
System.out.println(p == EnumTarget.YELLOW);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
enum class EnumTarget { YELLOW, GREEN, BLUE }
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class EnumJavaRef {
|
||||
public void use(EnumTarget p) {
|
||||
System.out.println(p == EnumTarget./*rename*/RED);
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
enum class EnumTarget { RED, GREEN, BLUE }
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "MARKED_ELEMENT",
|
||||
"mainFile": "EnumJavaRef.java",
|
||||
"newName": "YELLOW",
|
||||
"byRef": "true"
|
||||
}
|
||||
Reference in New Issue
Block a user