aboutsummaryrefslogtreecommitdiff
path: root/plugins/kotlin-as-java/src
AgeCommit message (Collapse)Author
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-04-19Update Jsoup to 1.14.3 (#2448)Ignat Beresnev
* Update Jsoup to 1.14.3 * Fix Jsoup API breaking changes after the update * Fix new Qodana inspections * Replace IllegalStateException with more appropriate NoSuchElementException
2022-04-08Rework AnnotationTarget to be stricter (#2414)owengray-google
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-03-04Obvious functions should also work for interfaces (#1763)Marcin Aman
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-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-22Add tests for nested classes in Kotlin as JavaKamil Doległo
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-27Fixing tests after moving SingleGeneration to baseBłażej Kardyś
2020-11-12Adding function division switchBłażej Kardyś
2020-11-09Cleaning querying from plugins where possibleBłażej Kardyś
2020-10-30Fix parsing first word in deprecated (#1595)Marcin Aman
Fix parsing first word in `Deprecated` annotations, fix `Throws` and `See` tags
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-22Rename constructors to a classnameMarcin Aman
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-07-06Enforce workspace unique SourceSetIDsebastian.sellmair