aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/model/JavaTest.kt
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.
2023-08-04Fix handling of Java contravariance (#3092)Julia McClellan
2023-01-12Default Java constructor (#2795)Andrey Tyrin
2022-08-18Fix generic types caching (#2619)Vadim Mishenev
2022-06-30Mark synthetic methods generated for Java enums as obvious (#2554)Ignat Beresnev
Fixes #2548
2022-02-21Code cleanups (#2165)Goooler
2022-01-27Fix resolving DRIs of Enum Entries (#2305)Andrzej Ratajczak
* Fix resolving DRIs of Enum Entries * Unify DRIs for Kotlin and Java enums. Add EnumEntry linking tests * Updates EnumEntry extras in documentable translators * Fix tests * Apply requested changes * Apply requested changes
2021-12-23Introduce documentedVisibilities setting (#2270)Ignat Beresnev
* Introduce `documentedVisibilities` setting * Remove hardcoded doc generation for Visibility.PUBLIC, correct tests * Add maven, gradle and cli integration tests for documentedVisibilities * Fix maven plugin configuration overriding the default value * Remove test debug prints * Correct an inconsistency with default values and leave a comment of intentions * Add a test for visibility of private setter
2021-11-12Store checked exceptions into `ExtraProperties` (#2222)vmishenev
2021-09-21Fix link to javadoc enum entry (#2131)vmishenev
2021-04-14Fix missing annotations in GFM and unresolved static imports (#1845)Marcin Aman
* Fix missing unresolved links in GFM * Fix missing links to elements imported as static
2021-03-04Obvious functions should also work for interfaces (#1763)Marcin Aman
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-12-03Resolve DRI-s from valueOf and values in java enum (#1655)Marcin Aman
2020-10-07Introduce top-level DocTagAndrzej Ratajczak
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-07-01Implement `AbstractJavadocTemplateMapTest` APIsebastian.sellmair
2020-06-26Javadoc briefs updateBłażej Kardyś
2020-06-24Fix testsAndrzej Ratajczak
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-04-08Fix content testsKamil Doległo
2020-03-25Fix JavaTest.filedsPaweł Marks
2020-03-25Introduce VoidObject and JavaObjectKamil Doległo
2020-03-25Fix inproper resolution of annotationsPaweł Marks
2020-03-20Fixing incorrect java supertypes DRIsBłażej Kardyś
2020-03-20Fixing incorrect type parameters test for java classesBłażej Kardyś
2020-03-18Fix minor bugs and add core testsSzymon Ś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-02-28Port some of the core tests from the previous modelSzymon Świstun