Find Usages: Restrict search scope of class object private declarations to

the containing class
This commit is contained in:
Alexey Sedunov
2014-11-27 15:43:45 +03:00
parent c012efe64e
commit 74cdecd829
4 changed files with 26 additions and 1 deletions
@@ -0,0 +1,10 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetProperty
// OPTIONS: usages
class Outer {
val x = Outer.t
class object {
private val <caret>t = 1
}
}
@@ -0,0 +1 @@
Value read (4: 19) val x = Outer.t