mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
11 lines
457 B
Kotlin
11 lines
457 B
Kotlin
// "Move 'SomeOptInAnnotation' opt-in requirement from value parameter to property" "true"
|
|
|
|
@RequiresOptIn
|
|
@Target(AnnotationTarget.PROPERTY, AnnotationTarget.VALUE_PARAMETER)
|
|
annotation class SomeOptInAnnotation
|
|
|
|
class Foo(@SomeOptInAnnotation<caret> val value: Int) {
|
|
}
|
|
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.MoveOptInRequirementToPropertyFix |