Find Usages: Classify package usages

#KT-4882 Fixed
This commit is contained in:
Alexey Sedunov
2014-06-24 16:08:29 +04:00
parent 86c8bfc864
commit 1452ffec6d
6 changed files with 59 additions and 12 deletions
@@ -0,0 +1,10 @@
// PSI_ELEMENT: com.intellij.psi.PsiPackage
// OPTIONS: usages
// FIND_BY_REF
package <caret>foo.bar
import foo.bar.X
class X
val x: foo.bar.X? = foo.bar.X()
@@ -0,0 +1,4 @@
Class/object property type (10: 8) val x: foo.bar.X? = foo.bar.X()
Package directive (4: 9) package foo.bar
Package member access (10: 21) val x: foo.bar.X? = foo.bar.X()
Usage in import (6: 8) import foo.bar.X