Find Java usage of @JvmField declared in primary constructor (KT-18322)

#KT-18322 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-02-21 13:59:21 +03:00
committed by Nikolay Krasko
parent 8b566fda76
commit bee7736baf
5 changed files with 20 additions and 0 deletions
@@ -0,0 +1,4 @@
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtParameter
// OPTIONS: usages
class Test(@JvmField val <caret>foo: String) {
}
@@ -0,0 +1,5 @@
public class JavaClass {
void test() {
System.out.println(new Test("").foo);
}
}
@@ -0,0 +1 @@
Unclassified usage 3 System.out.println(new Test("").foo);