212baf580c
This changes FirAnnotationValueConverter to no longer rely on PSI information when projecting annotation parameter information to AA. For annotations defined in Java, including many meta-annotations, PSI information is not available for the annotation. This caused those annotation values to be projected as KtUnsupportedAnnotationValue. Instead of using PSI information, this changes FirAnnotationValueConverter to use the tree structure instead. Spread and named parameter arguments are spliced into the parameter list of their surrounding vararg calls, meaning that callers see the expected structure. (See the varargSpreadParameter.kt test file for an example.)
6 lines
103 B
Plaintext
Vendored
6 lines
103 B
Plaintext
Vendored
KtDeclaration: KtClass Foo
|
|
annotations: [
|
|
B(a = [/A, /A(value = [], )])
|
|
psi: KtAnnotationEntry
|
|
]
|