5c8045f3d0
To see the effect of subsequent changes ^KT-56550
49 lines
1.3 KiB
Kotlin
49 lines
1.3 KiB
Kotlin
annotation class Anno(val s: String)
|
|
|
|
@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("NestedClass")
|
|
@Anno("NestedClass")
|
|
class NestedClass @Deprecated("constructor") @Anno("constructor") constructor(@Deprecated("constructorProperty") @Anno("constructorProperty") val a: Int) {
|
|
@Deprecated("memberFunction")
|
|
@Anno("memberFunction")
|
|
fun member<caret>Function() {
|
|
}
|
|
|
|
@Deprecated("memberProperty")
|
|
@Anno("memberProperty")
|
|
val memberProperty = 32
|
|
}
|
|
|
|
@Deprecated("companion")
|
|
@Anno("companion")
|
|
companion object {
|
|
@Deprecated("memberFunction")
|
|
@Anno("memberFunction")
|
|
fun memberFunction() {
|
|
}
|
|
|
|
@Deprecated("memberProperty")
|
|
@Anno("memberProperty")
|
|
val memberProperty = 32
|
|
}
|
|
}
|
|
|
|
@Deprecated("AnotherClass")
|
|
@Anno("AnotherClass")
|
|
class AnotherClass {
|
|
@Deprecated("memberFunction")
|
|
@Anno("memberFunction")
|
|
fun memberFunction() {
|
|
}
|
|
} |