mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 00:20:55 +07:00
#IDEA-354810 Fixed (cherry picked from commit d29d3256472dfe368161335732ded20ae95cf34e) IJ-MR-140910 GitOrigin-RevId: 0a9b3cae7aab473f732012ad91b4e67f97ff8697
30 lines
772 B
Kotlin
30 lines
772 B
Kotlin
package test;
|
|
|
|
import org.jetbrains.annotations.ApiStatus
|
|
|
|
@ApiStatus.ScheduledForRemoval
|
|
class <error descr="Scheduled for removal API must also be marked with '@Deprecated' annotation">Warnings</error> {
|
|
|
|
@ApiStatus.ScheduledForRemoval
|
|
val <error descr="Scheduled for removal API must also be marked with '@Deprecated' annotation">field</error>: Int = 0
|
|
|
|
@ApiStatus.ScheduledForRemoval
|
|
fun <error descr="Scheduled for removal API must also be marked with '@Deprecated' annotation">method</error>() {
|
|
}
|
|
}
|
|
|
|
//No warnings.
|
|
|
|
@ApiStatus.ScheduledForRemoval
|
|
@Deprecated("reason")
|
|
class NoWarnings {
|
|
|
|
@ApiStatus.ScheduledForRemoval
|
|
@Deprecated("reason")
|
|
val field: Int = 0;
|
|
|
|
@ApiStatus.ScheduledForRemoval
|
|
@Deprecated("reason")
|
|
public fun method() {
|
|
}
|
|
} |