mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
20 lines
484 B
Kotlin
20 lines
484 B
Kotlin
// "Opt in for 'MyExperimentalAPI' on containing class 'Bar'" "true"
|
|
// PRIORITY: HIGH
|
|
|
|
package a.b
|
|
|
|
@RequiresOptIn
|
|
@Target(AnnotationTarget.FUNCTION)
|
|
annotation class MyExperimentalAPI
|
|
|
|
@MyExperimentalAPI
|
|
fun foo() {}
|
|
|
|
class Bar {
|
|
fun bar() {
|
|
foo<caret>()
|
|
}
|
|
}
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixes$HighPriorityUseOptInAnnotationFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.OptInFixes$HighPriorityUseOptInAnnotationFix |