Files
kotlin-fork/idea/testData/findUsages/librarySources/kotlinLibrary/LibraryNestedClassUsages.0.kt
T
Alexey Sedunov ca8e2d4956 Navigation: Implement proper getOriginalElement() for Kotlin declarations.
Run find usages tests with library for both original and navigation elements. Drop duplicating tests. Simplify test class.
TODO: Some usages are not found yet since light methods built from library files do not retain original declarations
2015-06-11 13:52:52 +03:00

18 lines
290 B
Kotlin
Vendored

// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetClass
// OPTIONS: usages, constructorUsages
// FIND_BY_REF
// WITH_FILE_NAME
package usages
import library.*
class X: A.T {
constructor(n: Int): super(n)
}
class Y(): A.T(1)
fun test() {
val a: A.<caret>T = A.T()
val aa = A.T(1)
}