mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
16 lines
566 B
Kotlin
16 lines
566 B
Kotlin
// "Add use-site target 'delegate'" "true"
|
|
import kotlin.reflect.KProperty
|
|
|
|
@Target(AnnotationTarget.FIELD)
|
|
annotation class Anno
|
|
|
|
class Abcd {
|
|
operator fun getValue(nothing: Nothing?, property: KProperty<*>): Any = Unit
|
|
operator fun setValue(nothing: Nothing?, property: KProperty<*>, any: Any) = Unit
|
|
}
|
|
|
|
@<caret>Anno
|
|
var a by Abcd()
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddAnnotationUseSiteTargetFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.WrongAnnotationTargetFixFactories$AddAnnotationUseSiteTargetFix |