Files
kotlin-fork/analysis/low-level-api-fir/testData/lazyResolve/nestedCompilerRequiredAnnotationsInsideBody.kt
Dmitrii Gridin 33e6a85a2d [LL FIR] rename testdata to testData to avoid copyright generation
We exclude testData pattern from copyright scope
2023-09-18 21:12:45 +00:00

31 lines
761 B
Kotlin
Vendored

annotation class Anno(val s: String)
fun te<caret>st() {
@Deprecated("FirstClass")
@Anno("FirstClass")
class FirstClass @Deprecated("constructor") @Anno("constructor") constructor(@Deprecated("constructorProperty") @Anno("constructorProperty") val a: Int) {
@Deprecated("memberFunction")
@Anno("memberFunction")
fun memberFunction() {
}
@Deprecated("memberProperty")
@Anno("memberProperty")
val memberProperty = 32
}
@Deprecated("anotherFunction")
@Anno("anotherFunction")
fun anotherFunction() {
}
}
@Deprecated("AnotherClass")
@Anno("AnotherClass")
class AnotherClass {
@Deprecated("memberFunction")
@Anno("memberFunction")
fun memberFunction() {
}
}