Dmitriy Novozhilov
66c2679673
[Plugins] Extract parts of cli modules which were used from IDE into common modules
...
This is needed to avoid IDE dependencies on cli modules, because they
include FIR classes, which are inaccessible in regular Kotlin IDE plugin
2022-06-07 14:12:26 +00:00
Dmitriy Novozhilov
a84ece7233
[Lombok] Add implementation of plugin for FIR
2022-06-07 14:12:25 +00:00
Dmitriy Novozhilov
430ea414a9
[Lombok] Convert tests with compilation errors to diagnostic tests
2022-06-07 14:12:23 +00:00
Dmitriy Novozhilov
7c19f3b1ca
[Lombok] Migrate tests to new test infrastructure
2022-06-07 14:12:21 +00:00
Dmitriy Novozhilov
c9c24d27d7
[Lombok] Fix style of FILE directive in testdata
2022-06-07 14:12:21 +00:00
Dmitriy Novozhilov
dcd96932aa
[Lombok] Adapt format of codegen tests to standard box() style
2022-06-07 14:12:20 +00:00
Dmitriy Novozhilov
c2bf68c9d3
[Lombok] Reorganize module structure of Lombok compiler plugin
...
Also rename its jar to `kotlin-lombok-compiler-plugin`
^KT-52468 Fixed
2022-06-07 14:12:19 +00:00
Vyacheslav Gerasimov
f7a9065b75
Build: Use intellij maven repo instead of downloaded IDEA
...
#KTI-82
2021-12-16 21:48:23 +03:00
Vyacheslav Gerasimov
bc2f0936bd
Build: Rename commonDep -> commonDependency
2021-12-16 21:48:19 +03:00
Anastasiya Shadrina
3de1566f11
[Compiler plugins] Fix usage of descriptor API
2021-12-02 20:23:41 +03:00
Nikita Bobko
39fa2b0baf
Delete Kotlin IntelliJ IDEA plugin sources
...
Kotlin plugin sources were migrated to intellij-community:
https://github.com/JetBrains/intellij-community/tree/master/plugins/kotlin
Preserve `jps-plugin/testData/incremental`
because it's used in `compiler/incremental-compilation-impl/test`
Preserve `idea/testData/multiModuleHighlighting/multiplatform`
because it's used in `MppHighlightingTestDataWithGradleIT`
2021-07-21 11:23:43 +02:00
Andrey Zinovyev
1130344fb1
[lombok] Get field names directly from JavaClassImpl
...
Otherwise it fails with recursion on annotation types
#KT-47513 Fixed
2021-06-30 10:44:31 +03:00
Andrey Zinovyev
c8fa8b0444
[lombok] Don't fail on fake overrides
...
#KT-47455 Fixes
2021-06-27 13:46:09 +03:00
Nikolay Krasko
48a4d7d418
Build: drop maven publication for Kotlin plugin artifacts
2021-06-09 17:43:54 +03:00
Andrey Zinovyev
e82857996f
[lombok] Resolve to absolute path when import from maven
...
#KT-46723 Fixed
2021-05-20 11:57:07 +03:00
Andrey Zinovyev
89f0a790c9
[lombok] Map lombok MODULE to java PackageVisibility
...
Because that's what lombok does
#KT-46469 Fixed
2021-05-11 19:18:39 +03:00
Andrey Zinovyev
468fc86a3f
[lombok] Fix fallback to config for array annotation's parameter
...
If annotation's parameter is not explicitly defined, it should be
taken from config
#KT-46529 Fixed
2021-05-11 19:18:37 +03:00
Andrey Zinovyev
57d3f98ece
[lombok] Config keys are case-insensitive
...
#KT-46531 Fixed
2021-05-11 19:18:36 +03:00
Andrey Zinovyev
cba21c68a3
[lombok] Actualize README
2021-05-06 11:27:51 +03:00
Andrey Zinovyev
e4a5775570
Remove duplicated code in annotation-based-compiler-plugins-ide-support
2021-04-29 23:14:16 +03:00
Andrey Zinovyev
8afb6d2761
[lombok] Support import from gradle to IDE
...
Introduce base module for ide compiler plugins
2021-04-29 23:14:15 +03:00
Andrey Zinovyev
b58bea6fa1
[lombok] IDE plugin with maven import handler
2021-04-29 23:14:14 +03:00
Andrey Zinovyev
b88f54b31a
[lombok] Add maven plugin integration test with kapt
2021-04-29 23:14:12 +03:00
Andrey Zinovyev
c8a81911c0
[lombok] Add message about experimental status of the plugin
2021-04-29 18:05:27 +03:00
Andrey Zinovyev
01dd3d6ed4
[lombok] Refactoring, cleaning, better tests
...
Add assertions to tests
Add lombok license
Provide String.[de]capitalize() implementation
Get rid of weak map because it seems it is useless here
2021-04-25 18:18:18 +03:00
Andrey Zinovyev
5a6819daa8
[lombok] Check that nullability actually works
2021-04-25 18:18:16 +03:00
Andrey Zinovyev
1fb4590978
[lombok] Some cleaning and docs
2021-04-25 18:18:15 +03:00
Andrey Zinovyev
9ebce7849c
[lombok] Skip generation with AccessLevel.NONE
2021-04-25 18:18:15 +03:00
Andrey Zinovyev
be4a518a25
[lombok] Support for lombok.accessors.prefix config
2021-04-25 18:18:14 +03:00
Andrey Zinovyev
17e4a6142c
[lombok] Strip prefixes defined in @Accessors
2021-04-25 18:18:13 +03:00
Andrey Zinovyev
f2c0b8c68d
[lombok] Strip 'is' prefix in boolean properties
2021-04-25 18:18:12 +03:00
Andrey Zinovyev
8a2279de2b
[lombok] Use config values as default in annotation parsing
2021-04-25 18:18:11 +03:00
Andrey Zinovyev
c7b2c731af
[lombok] Basic @Value support
2021-04-25 18:18:11 +03:00
Andrey Zinovyev
97fc187e77
[lombok] @Data support
2021-04-25 18:18:10 +03:00
Andrey Zinovyev
99f9b79c87
[lombok] Add simple way to use lombok plugin in one project with kapt
2021-04-25 18:18:09 +03:00
Andrey Zinovyev
79d49e6dbd
[lombok] Gradle sublugin for no-kapt project
2021-04-25 18:18:08 +03:00
Andrey Zinovyev
8011452c28
[lombok] Don't generate members that already exist
2021-04-25 18:18:07 +03:00
Andrey Zinovyev
d459cde010
[lombok] Run compiled code
2021-04-25 18:18:06 +03:00
Andrey Zinovyev
411441c332
[lombok] Generic classes support
2021-04-25 18:18:06 +03:00
Andrey Zinovyev
afcb2ca904
[lombok] Support @RequiredArgsConstructor
2021-04-25 18:18:05 +03:00
Andrey Zinovyev
b336a335bf
[lombok] Support @AllArgsConstructor
2021-04-25 18:18:04 +03:00
Andrey Zinovyev
59f936fdef
[lombok] Generate no-arg static factory method
2021-04-25 18:18:03 +03:00
Andrey Zinovyev
37926f333e
[lombok] Generate no-arg constructor
2021-04-25 18:18:03 +03:00
Andrey Zinovyev
e9a33e0335
[lombok] Introduce synthetic constructors generation
2021-04-25 18:18:02 +03:00
Andrey Zinovyev
e0216cc9f4
[lombok] Add readme with (not) supported features
2021-04-25 18:18:01 +03:00
Andrey Zinovyev
e0a95ff556
[lombok] @With support
2021-04-25 18:18:00 +03:00
Andrey Zinovyev
7fd8f7b3bc
[lombok] @Setter support
2021-04-25 18:17:59 +03:00
Andrey Zinovyev
70e3877efc
[lombok] Basic config support
2021-04-25 18:17:57 +03:00
Andrey Zinovyev
5ceefa3e3b
[lombok] Support for class level @Getter
2021-04-25 18:17:56 +03:00
Andrey Zinovyev
e4bd33eb4f
[lombok] Support for fluent getters
2021-04-25 18:17:55 +03:00