assorted Find Usages fixes: add missing read actions, better cancellation, fix search of componentN() usages for data class primary constructor parameter, remove workaround for usage of IDEA API which is now public

This commit is contained in:
Dmitry Jemerov
2015-09-04 18:07:08 +02:00
parent ccf78b6fa4
commit 55640ac885
9 changed files with 125 additions and 91 deletions
@@ -0,0 +1,6 @@
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetParameter
// OPTIONS: usages
package test
public data class KotlinDataClass(val <caret>foo: Int, val bar: String) {
}
@@ -0,0 +1,7 @@
package test;
public class JavaUser {
int use(KotlinDataClass dataClass) {
return dataClass.component1();
}
}
@@ -0,0 +1 @@
Unclassified usage (5: 26) return dataClass.component1();