Files
kotlin-fork/compiler/testData/diagnostics/tests/deprecated/javaDocDeprecated.fir.kt
T
2023-08-31 10:19:33 +00:00

21 lines
397 B
Kotlin
Vendored

// !DIAGNOSTICS: -NO_VALUE_FOR_PARAMETER
// FILE: A.java
/**
* @deprecated
*/
public class A {
/**
* @deprecated
*/
public String getFoo(String text) {
return text;
}
}
// FILE: B.kt
class B(private val foo: String) : <!DEPRECATION!>A<!>() {
override fun <!OVERRIDE_DEPRECATION!>getFoo<!>(text: String): String = super.<!DEPRECATION!>getFoo<!>(text + foo)
}