aboutsummaryrefslogtreecommitdiff
path: root/plugins/kotlin-as-java/src/main
AgeCommit message (Collapse)Author
2023-05-17Update KGP to 1.8.20 (#2989)Vadim Mishenev
* Update KGP to 1.8.20 * Update AGP to be compatible with KGP * Replace `AndroidSourceSet` * Dump API * Update integration tests * Update GH actions tests * Refactor Gradle Runner * Fix `TYPE_MISMATCH_WARNING_FOR_INCORRECT_CAPTURE_APPROXIMATION` * Suppress source sets without compilations Dokka suppresses source sets that do no have compilation since such configuration is invalid, it reports a warning or an error * Introduce `dependsOn` for a new `com.android.build.api.dsl.AndroidSourceSet` * API dump * Add comment * Suppress remaining `TYPE_MISMATCH_WARNING_FOR_INCORRECT_CAPTURE_APPROXIMATION` * Add comment --------- Co-authored-by: Ignat Beresnev <ignat.beresnev@jetbrains.com>
2023-02-24Mark Plugin Api as experimental (#2743)Vadim Mishenev
2022-10-31Suppress useless companion for Kotlin-As-Java (#2681)Andrey Tyrin
2022-10-07Change log level to INFO for messages about alpha plugin versions (#2693)Ignat Beresnev
2022-08-18Add deprecation details block (#2622)Ignat Beresnev
2022-07-26Give notice of alpha version for GFM, Javadoc, Jekyll, KaJ formats (#2550)Vadim Mishenev
2022-06-22Render annotations for KaJ signatures (#2549)Ignat Beresnev
Fixes #2527
2022-06-17Handle more corner cases for inherited accessors (#2532)Ignat Beresnev
2022-06-08Support definitely non-nullable types (#2520)Vadim Mishenev
* Support definitely non-nullable types [Definitely non-nullable types](https://github.com/Kotlin/KEEP/blob/c72601cf35c1e95a541bb4b230edb474a6d1d1a8/proposals/definitely-non-nullable-types.md) are enabled since Kotlin 1.7
2022-05-31Fix gathering inherited properties (#2481)Ignat Beresnev
* Fix gathering inherited properties in PSI * Refacotr KaJ transformer. Change wrapping TagWrapper for getters and setters. * Add logic to merge inherited properties in kotlin from java sources. * Remove getters and setters from JvmField properties for DObject, DEnum, DInterface in KaJ. * Unify InheritedMember DRI logic. * Fix gathering docs obtained from inheriting java sources in descriptors * Apply requested changes. * Resolve rebase conflicts * Use 221 for qodana analysis * Move accessors generation into DefaultDescriptorToDocumentableTranslator * Fix special "is" case for accessors and refactor logic in general * Remove ambiguous import after rebasing * Remove unused imports and format code * Apply review comment suggestions * Preserve previously lost accessor lookalikes * Extract a variable and correct a typo Co-authored-by: Andrzej Ratajczak <andrzej.ratajczak98@gmail.com>
2022-05-27Make the `kotlin-as-java` plugin include information about access modifiers ↵Andriy Trypilka
for functions (#2510) * Include access modifiers for Java functions * Test that access modifiers are present * Modify existing tests due to including access modifier in output
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-02-21Code cleanups (#2165)Goooler
2022-02-17Custom doctag extension (#2343)Ignat Beresnev
* Add an extension point for rendering custom doc tags * Iterate over documentable sourcesets when building custom tags * Extract a nested custom tags brief block into a separate method * Filter out tag content providers and make since kotlin brief a one-liner * Add padding to "Since Kotlin" block in brief description
2022-02-14Expose Kotlin-as-Java methods (#2351)Andrzej Ratajczak
Allow using these methods not only as part of transformers
2022-01-27KT-50292 - Implement vertical alignment of parameters (#2309)Ignat Beresnev
* Implement vertical alignment (wrapping) of parameters for kt * Add tests for params wrapping and extend matchers to check for classes * Add distinguishable parameters block to kotlinAsJava, extract common logic * Create a separate Kind for symbol function parameters
2021-12-23Remove filtering out primary constructors from constructors tab (#2277)Andrzej Ratajczak
2021-08-27Cleanup and version bump to 1.5.30Marcin Aman
2021-08-27Restore language level to 1.4Marcin Aman
2021-08-26Bump compiler to 1.5.30, language level to 1.5Marcin Aman
2021-08-25Manual highlighting webhelp (#2079)vmishenev
* Add manual code highlighting * Fix test * Add kotlinAsJava highlighting * Add runtime highlighting via Prism * Add copy-button for code block * Add tests and refactor * Replace `<br>` for prism.js * Parse trivial default values Co-authored-by: Marcin Aman <marcin.aman@gmail.com>
2021-07-22Bump kotlin 1.5.21 (#2031)Marcin Aman
* bump kotlin to 1.5.21 * Bump binary compatibility plugin * update stdlib submodule * Bump IJ to 202.8194.7
2021-04-06Fix some compiler warnings (#1812)Kamil Doległo
2021-02-05Annotations for parameters (#1710)Marcin Aman
* Annotations for parameters * Annotations for parameters
2021-02-04add detection of JvmSynthetic (#1718)Valentin Rocher
2021-02-04JvmOverloads (#1712)Valentin Rocher
* add JvmOverloads support and static modifier for top-level functions * apply requested changed * revert auto-imports
2021-01-22Fix incorrect DRI conversion in KotlinAsJava modes for nested definitionsKamil Doległo
2021-01-20Bring back displaying jvm name when KaJ is not present (#1702)Marcin Aman
2021-01-04JvmField annotation (#1678)Marcin Aman
2020-12-29Parsing of JvmName (#1675)Marcin Aman
* Parsing of JvmName * Make JvmName processor run after KaJ
2020-12-03exclude top-level const val from getter generation and show them as public ↵Valentin Rocher
and static (#1636)
2020-11-12Adding function division switchBłażej Kardyś
2020-11-09Cleaning querying from plugins where possibleBłażej Kardyś
2020-10-06Addding separate pages for propertiesBłażej Kardyś
2020-09-28Add better handling of functional types in rendered outputAndrzej Ratajczak
2020-09-10Fix testAndrzej Ratajczak
2020-09-10Add testsAndrzej Ratajczak
2020-09-10Add TypeAliased boundAndrzej Ratajczak
2020-09-08Apply requested changesAndrzej Ratajczak
2020-08-27Apply requested changesAndrzej Ratajczak
2020-08-27Add handling for generic type parameters varianceAndrzej Ratajczak
2020-08-20Fix LinkProvider to link properly all nested generic parametersAndrzej Ratajczak
2020-08-20Hide unused generic type variables in constructorAndrzej Ratajczak
2020-08-17Fix generic supertypes to hold TypeParametersAndrzej Ratajczak
2020-07-14Remove unnecessary grouping in Java Signature Provider that caused signature ↵Marcin Aman
to be in 2 lines
2020-07-14Kotlin as Java should translate class kindsMarcin Aman
2020-07-13Java sources in Kotlin-As-Java plugin should have original property visibilitesMarcin Aman
2020-07-13Draft for showing only first level of inheritanceMarcin Aman
2020-07-07Add overrides to provided pluginsPaweł Marks
2020-06-26Adding external url handlingBłażej Kardyś