Files
kotlin-fork/analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/localDeclarations.kt
T
Ilya Kirillov 97df0a0902 [Analysis API] rework containing declaration provider
now it should work for non-source declarations
2022-10-26 19:19:00 +00:00

27 lines
509 B
Kotlin
Vendored

fun x() {
val xProperty = 10
fun xFunction() = 11
typealias xTypealias = 10
class XClass<XT> {}
enum class XEnum {
X_ENUM_ENTRY;
fun xEnumMember(){}
}
class Y <YT> {
val yProperty = 10
fun yFunction() = 11
typealias yTypealias = 10
class YClass<YTT> {}
enum class YEnum {
Y_ENUM_ENTRY;
fun yEnumMember(){}
}
init {
println("init block in local class")
}
}
}