"Find Usages": add tests for Kotlin usages of Java declarations
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// PSI_ELEMENT: com.intellij.psi.PsiField
|
||||
// OPTIONS: readAccess
|
||||
public class A {
|
||||
public String <caret>foo = "foo";
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
fun test() {
|
||||
val a = A()
|
||||
a.foo = "bar"
|
||||
println(a.foo)
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
Value read (4: 15) println(a.foo)
|
||||
Value write (3: 7) a.foo = "bar"
|
||||
Reference in New Issue
Block a user