Analysis API: get rid of KtTypeAndAnnotations & add annotations for every type

This commit is contained in:
Ilya Kirillov
2021-11-18 14:50:13 +01:00
parent 83d2d2cfcf
commit a5a5ff39d6
101 changed files with 807 additions and 717 deletions
@@ -30,3 +30,5 @@ class CustomAnnotationTypeAttribute(val annotations: List<FirAnnotation>) : Cone
val ConeAttributes.custom: CustomAnnotationTypeAttribute? by ConeAttributes.attributeAccessor<CustomAnnotationTypeAttribute>()
val ConeAttributes.customAnnotations: List<FirAnnotation> get() = custom?.annotations.orEmpty()
val ConeKotlinType.customAnnotations: List<FirAnnotation> get() = attributes.customAnnotations