Analysis API: introduce annotation value for KClass

This commit is contained in:
Ilya Kirillov
2021-11-24 12:38:03 +01:00
parent f722a54c78
commit 673459580c
16 changed files with 86 additions and 17 deletions
@@ -1,5 +1,5 @@
KtDeclaration: KtClass Foo
annotations: [
A(a = 1, c = KtUnsupportedConstantValue)
A(a = 1, c = kotlin.Int::class)
psi: KtAnnotationEntry
]
@@ -1,5 +1,5 @@
KtDeclaration: KtNamedFunction foo
annotations: [
A(a = 1, c = KtUnsupportedConstantValue)
A(a = 1, c = kotlin.Int::class)
psi: KtAnnotationEntry
]
@@ -1,5 +1,5 @@
KtDeclaration: KtProperty foo
annotations: [
A(a = 1, c = KtUnsupportedConstantValue)
A(a = 1, c = kotlin.Int::class)
psi: KtAnnotationEntry
]
@@ -1,5 +1,5 @@
KtDeclaration: KtTypeAlias Foo
annotations: [
A(a = 1, c = KtUnsupportedConstantValue)
A(a = 1, c = kotlin.Int::class)
psi: KtAnnotationEntry
]
@@ -1,5 +1,5 @@
KtDeclaration: KtPropertyAccessor null
annotations: [
A(a = 1, c = KtUnsupportedConstantValue)
A(a = 1, c = kotlin.Int::class)
psi: KtAnnotationEntry
]
@@ -1,5 +1,5 @@
KtDeclaration: KtParameter bar
annotations: [
A(a = 1, c = KtUnsupportedConstantValue)
A(a = 1, c = kotlin.Int::class)
psi: KtAnnotationEntry
]
@@ -1,5 +1,5 @@
KtDeclaration: KtProperty foo
annotations: [
A(a = 1, c = KtUnsupportedConstantValue)
A(a = 1, c = kotlin.Int::class)
psi: KtAnnotationEntry
]
@@ -1,5 +1,5 @@
KtDeclaration: KtPropertyAccessor null
annotations: [
A(a = 1, c = KtUnsupportedConstantValue)
A(a = 1, c = kotlin.Int::class)
psi: KtAnnotationEntry
]