aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/translators
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-24[K2] Enable Java tests for symbols (#3203)Vadim Mishenev
2023-09-04[K2] Fix functional type and improve logging for unresolved link (#3157)Vadim Mishenev
* [K2] Fix functional type and improve logging for unresolved link For example `typealias CompletionHandler = (cause: Throwable?) -> Unit` has a functional type with no type arguments in K2. In K1 we have a usual generic type
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-02Fix Kotlin Analysis API package name (#3100)Ignat Beresnev
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-17Hardcode documentation for the synthetic Enum.entries property (#3071)Ignat Beresnev
2023-07-05Decompose Kotlin/Java analysis (#3034)Ignat Beresnev
* Extract analysis into separate modules
2023-06-01Multi-param Java methods should not qualify for a setter (#3002)Ignat Beresnev
2023-02-24Mark Plugin Api as experimental (#2743)Vadim Mishenev
2023-01-31fill packageName and classNames for constructors from parent (#2837)Andrey Tyrin
2023-01-12Default Java constructor (#2795)Andrey Tyrin
2022-09-26Add documentation for synthetic Enum `values()` and `valueOf()` functions ↵Ignat Beresnev
(#2650)
2022-09-26Trim four spaces inside indented code block (#2661)Vadim Mishenev
* Trim four spaces inside indented code block * Fix test
2022-08-30Handle `PsiImmediateClassType` as `PsiClassType` to resolve bounds (#2647)Ignat Beresnev
Fixes #2646
2022-08-24Fix incorrect handling of static members used within `@see` tag (#2627)Ignat Beresnev
2022-08-17Add missing java primitives to annotation constant params parsing (#2610)Ignat Beresnev
2022-08-17Display values of java constants (#2609)Ignat Beresnev
Fixes #2524
2022-08-03Fix parsing of static imports in java annotation params (#2593)Ignat Beresnev
Fixes #2580
2022-06-19Fix incorrectly labeling java properties as val/var (#2540)Ignat Beresnev
Fixes #2539
2022-06-17Handle more corner cases for inherited accessors (#2532)Ignat Beresnev
2022-04-29Enable warnings as errors and fix all warnings (#2451)Ignat Beresnev
* Enable warnings as errors and fix all warnings * Enable skip-metadata-version-check compiler setting
2022-04-08Rework AnnotationTarget to be stricter (#2414)owengray-google
2022-03-28Bug resolving in ultralightmethod (#2400)Vadim Mishenev
2022-02-18Fix java getter / setter name generation (#2356)CharlesG-Branch
Kotlin has special rules for conversion around properties that start with "is" For more info see: https://kotlinlang.org/docs/java-interop.html#getters-and-setters https://kotlinlang.org/docs/java-to-kotlin-interop.html#properties
2022-01-27Collect annotations from package-info.java (#2331)Ember Rose
Fix: #2330
2022-01-18Add external documentable provider (#2307)Paweł Marks
* Add external documentable provider * Update the api spec of base plugin * Hide mistakenly exposed fields * Add comments and fix naming
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-03-01Add ability to suppress obvious functions like equals, toString... (#1758)Marcin Aman
* Add ability to suppress obvious functions like equals, toString... * Add ability to suppress obvious functions like equals, toString...
2021-02-16Fix displaying default java visibility (#1738)Marcin Aman
2020-11-27Adding multimodule all modules page creation for gfmBłażej Kardyś
2020-11-27Fixing tests after moving SingleGeneration to baseBłażej Kardyś
2020-11-12Javadoc @inheritDoc tag support (#1608)Marcin Aman
2020-10-08Fix multiline links in javadoc and wrong linebreaking of <pre> bodies (#1518)Andrzej Ratajczak
* Fix multiline links in javadoc * Fix wrong linebreaking of <pre> bodies * Use included static values for external links Co-authored-by: Marcin Aman <marcin.aman@gmail.com>
2020-10-07Hide derived members that are not publicAndrzej Ratajczak
2020-10-07Introduce top-level DocTagAndrzej Ratajczak
2020-10-01Add parsing of package-info in java sourcesAndrzej Ratajczak
2020-08-31Let root package be represented as [root] to the usersebastian.sellmair
2020-08-28Fix presentation of code blocks in dokka html and dokka javadoc formatsAndrzej Ratajczak
2020-08-28Draft for improving code formatting #1346Marcin Aman
2020-08-19Mitigate #1341 issue in light classessebastian.sellmair
2020-08-19Reduce test source code to its minimum to reproduce #1341sebastian.sellmair
2020-08-19Implement test to reproduce https://github.com/Kotlin/dokka/issues/1341sebastian.sellmair
2020-08-11Fixing javadoc comment parser for psi filesBłażej Kardyś
2020-07-16Data class fixAndrzej Ratajczak
2020-07-06Enforce workspace unique SourceSetIDsebastian.sellmair
2020-06-10Implement `reportUndocumented` option to report undocumented codesebastian.sellmair