19dbe69651
can be moved to COMPILER_REQUIRED_ANNOTATIONS phase in the future ^KT-57256 Fixed
15 lines
256 B
Kotlin
Vendored
15 lines
256 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
|
|
// FILE: JavaClass.java
|
|
public class JavaClass {
|
|
@Deprecated
|
|
public int deprecatedField = 4;
|
|
public int regularField = 5;
|
|
}
|
|
|
|
// FILE: use.kt
|
|
fun use(j: JavaClass) {
|
|
j.<!DEPRECATION!>deprecatedField<!>
|
|
j.regularField
|
|
}
|