KT-57135 Take into account annotations' allowed targets
- Check allowed targets - Attach field annotations to the backing field
This commit is contained in:
committed by
Space Team
parent
ea2145415d
commit
37ed7beda0
@@ -54,7 +54,9 @@ object AnnotationTargetLists {
|
||||
|
||||
val T_PROPERTY_GETTER = targetList(PROPERTY_GETTER)
|
||||
val T_PROPERTY_SETTER = targetList(PROPERTY_SETTER)
|
||||
val T_BACKING_FIELD = targetList(BACKING_FIELD)
|
||||
val T_BACKING_FIELD = targetList(BACKING_FIELD) {
|
||||
extraTargets(FIELD)
|
||||
}
|
||||
|
||||
val T_VALUE_PARAMETER_WITHOUT_VAL = targetList(VALUE_PARAMETER)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user