aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/model/ClassesTest.kt
AgeCommit message (Collapse)Author
2023-11-10Restructure the project to utilize included builds (#3174)Ignat Beresnev
* Refactor and simplify artifact publishing * Update Gradle to 8.4 * Refactor and simplify convention plugins and build scripts Fixes #3132 --------- Co-authored-by: Adam <897017+aSemy@users.noreply.github.com> Co-authored-by: Oleg Yukhnevich <whyoleg@gmail.com>
2023-10-26[K2] Support kotlin-as-java and javadoc plugins and update version of ↵Vadim Mishenev
Analysis API (#3227) * Implement InheritanceBuilder and for symbols * Enable tests for as-java and javadoc plugins and fix some * Update the version of Analysis API and enable test * Use assert from kotlin.test * Rename `descriptorInheritanceBuilder` * Fix after rebasing * Mute test `two classes from different packages`
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.
2023-07-26Fix some tests to be compatible with K2 (#3086)Vadim Mishenev
2023-07-21Add tests for parsing data objects (#3076)Ignat Beresnev
2023-07-05Decompose Kotlin/Java analysis (#3034)Ignat Beresnev
* Extract analysis into separate modules
2022-02-21Code cleanups (#2165)Goooler
2021-05-06Bump compiler to 1.5.0 (#1856)Marcin Aman
* Bump compiler to 1.5.0 * Include Api changes
2021-02-16Fix displaying default java visibility (#1738)Marcin Aman
2020-12-29Parsing of JvmName (#1675)Marcin Aman
* Parsing of JvmName * Make JvmName processor run after KaJ
2020-10-15Fix class cast exception when creating the ancestry treeKamil Doległo
2020-08-17Fix generic supertypes to hold TypeParametersAndrzej Ratajczak
2020-07-22Rename constructors to a classnameMarcin Aman
2020-07-13Draft for showing only first level of inheritanceMarcin Aman
2020-06-24Internal linksMarcin Aman
2020-06-24Fix testsAndrzej Ratajczak
2020-06-23Fixed compilation error in testFilip Zybała
2020-06-23Javadoc classlikes and function pagesMarcin Aman
All implemented interfaces, first attempt at inherited methods
2020-06-12Refactor of Annotations and ExtraModifiers to be platform depedentAndrzej Ratajczak
2020-05-26Apply request changesAndrzej Ratajczak
2020-05-26Enhance signature presentation. Support presetnation Java as Kotlin and ↵Andrzej Ratajczak
Kotlin as Java. Refactor annotations creation from PSI/Descriptors. Add proper rendering of annotation signatures in both kotlin syntax and java syntax. Tests for annotations
2020-05-19Missing generics on class. Add generics to annotation #834Marcin Aman
2020-05-14Changing approach from platform-driven to source-set-drivenBłażej Kardyś
2020-03-26Fixed testsFilip Zybała
2020-03-19Fix companionObjectTestKamil Doległo
2020-03-18Fix minor bugs and add core testsSzymon Świstun
2020-03-17Add a rough draft of deprecated signatures formattingKamil Doległo
2020-03-17Add annotations to extra propertiesSzymon Świstun
2020-03-17Add expect with generationSzymon Świstun
2020-03-16Extract inheritance mapSzymon Świstun
2020-03-16Rename Documentables to avoid name conflictsKamil Doległo
2020-03-05fixed test compilationSzymon Świstun
2020-03-04Replace Visibility used in Documentables with custom classesKamil Doległo
2020-03-04Add information about modifiers to Documentables' extra propertiesSzymon Świstun
2020-02-28Port some of the core tests from the previous modelSzymon Świstun