mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Added tests for SubclassOptInRequired with multiple markers ^KTIJ-31183 Fixed GitOrigin-RevId: 8f4bb49fc94777c25002dcce3e05ec2453a5e50d
14 lines
332 B
Plaintext
14 lines
332 B
Plaintext
@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
|
|
|
|
fun apiUseSiteFunction(foo: CoreLibraryApi) {
|
|
}
|