aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/model/annotations
AgeCommit message (Collapse)Author
2023-10-24[K2] Enable Java tests for symbols (#3203)Vadim Mishenev
2023-08-31Update copyright (#3149)Ignat Beresnev
* Add the default copyright profile and enable IDEA project settings * Add the license notice file
2023-08-30Migrate to JUnit 5 and unify used test API (#3138)Ignat Beresnev
2023-08-28 Support Dokka K2 analysis (#3094)Vadim Mishenev
Dokka has its own documentable model to represent analyzed code. The analysis is performed by a compiler frontend. In K1 the compiler frontend has descriptors that use the underlying Binding Context (global shared stateful structure). Dokka just maps descriptors to Documentable by DefaultDescriptorToDocumentableTranslator. K2 compiler has FIR tree, which means “Frontend Intermediate Representation”, instead of Binding Context. But we do not use FIR in Dokka directly, since it is too low-level for analysis. The Kotlin compiler provides high-level Analysis API for this case. The API is used by KSP too. Analysis API represent elements of FIR (declarations, parameters and so on) as Symbols. For more details see KtSymbolByFirBuilder, KtSymbol. For Dokka symbol is the replacement of descriptor in K2. Also, to set up the environment of project analysis in K1 we use idea dependencies (or copy-past from there). In K2 for these aims, there is a Standalone mode for Analysis API.
2022-07-07Improve handling of Java annotation parameters (#2562)Ignat Beresnev
Fixes #2509 Fixes #2551 Fixes #2350
2022-03-30Fix type parameter annotation regression (#2388) (#2410)Ignat Beresnev
2021-02-16Fix displaying default java visibility (#1738)Marcin Aman
2021-02-05Annotations for parameters (#1710)Marcin Aman
* Annotations for parameters * Annotations for parameters
2021-01-20Annotations for parameters (#1704)Marcin Aman