[FIR] Report DEPRECATION when Java declaration is deprecated in javadoc

#KT-60682
This commit is contained in:
Kirill Rakhman
2023-08-24 12:16:43 +02:00
committed by Space Team
parent 99307f97e9
commit 4e041494be
7 changed files with 33 additions and 30 deletions
@@ -15,6 +15,6 @@ public class A {
// FILE: B.kt
class B(private val foo: String) : A() {
override fun getFoo(text: String): String = super.getFoo(text + foo)
class B(private val foo: String) : <!DEPRECATION!>A<!>() {
override fun <!OVERRIDE_DEPRECATION!>getFoo<!>(text: String): String = super.<!DEPRECATION!>getFoo<!>(text + foo)
}