d689c1a38f
`isJavaDeprecatedAnnotation` can't be used here because it triggers the resolution of an annotation ClassId ^KT-62705 Fixed
34 lines
563 B
Kotlin
Vendored
34 lines
563 B
Kotlin
Vendored
// FILE: usage.kt
|
|
package first
|
|
|
|
import third.<!DEPRECATION!>JavaClass<!>.<!DEPRECATION!>NestedJavaClass<!>
|
|
|
|
// FILE: KotlinAnnotation.kt
|
|
package second
|
|
|
|
class KotlinClass {
|
|
fun foo(i: Int) {}
|
|
annotation class KotlinAnnotation
|
|
}
|
|
|
|
// FILE: third/JavaClass.java
|
|
package third;
|
|
|
|
import second.KotlinClass.*;
|
|
|
|
import static second.KotlinClass.*;
|
|
|
|
/**
|
|
* @deprecated deprecated message
|
|
*/
|
|
@KotlinAnnotation
|
|
public class JavaClass {
|
|
/**
|
|
* @deprecated deprecated message
|
|
*/
|
|
@KotlinAnnotation
|
|
public static class NestedJavaClass {
|
|
|
|
}
|
|
}
|