Files
Anastasia Pikalova f2f5834cda [kotlin] Update SubclassOptInRequired quickFixes following KT-70562 changes
Added tests for SubclassOptInRequired with multiple markers

^KTIJ-31183 Fixed

GitOrigin-RevId: 8f4bb49fc94777c25002dcce3e05ec2453a5e50d
2024-09-23 16:37:56 +02:00

17 lines
426 B
Kotlin

@file:OptIn(ExperimentalSubclassOptIn::class)
@RequiresOptIn(
level = RequiresOptIn.Level.WARNING,
message = "Interfaces in this library are experimental for implementation"
)
annotation class UnstableApi
@SubclassOptInRequired(UnstableApi::class)
interface CoreLibraryApi
@OptIn(UnstableApi::class)<caret>
var apiUseSiteProperty: CoreLibraryApi? = null
get() = null
set(value) {
field = value
}