Jinseong Jeon
bbe5cf0a70
FIR/UAST: clarify what module we should not depend on
2021-05-10 20:23:19 +02:00
Ilya Muradyan
e9af2849ef
Add Kotlin DeprecationLevel into the REPL completion
2021-05-07 19:56:21 +03:00
pyos
36a25353e9
JVM_IR: permit @NoArg if super constructor is already zero-argument
...
#KT-46537 Fixed
2021-05-07 16:22:30 +02:00
Ilya Muradyan
042ac5555c
Merge pull request #4342 from JetBrains/rr/ileasile/completion-for-function-params
...
[REPL] Add completion for the call named parameters
2021-05-07 15:11:12 +03:00
Leonid Startsev
d60a8f9baa
Use correct type in KClassReference
...
Make sure that writeSelf function remains static
2021-05-06 19:53:21 +00:00
Leonid Startsev
a58f29aa06
Remove unnecessary ignoreIndexTo outside writeSelf
...
It never worked: descriptor.declaresDefaultValue used by property.isOptional
works only for current module
(since it looks up psi), so we never access default value initializers
outside current module
2021-05-06 19:53:21 +00:00
Leonid Startsev
66f39ca185
Use SerializerFactory interface and generate function
...
for sealed and abstract serializable classes.
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/1116
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/1078
2021-05-06 19:53:20 +00:00
Jinseong Jeon
ebbef484ad
FIR UAST: add utils to clean up identical render/log files
2021-05-06 20:19:29 +02:00
Jinseong Jeon
1385a4690e
Revert "UAST Kotlin: update test data"
...
This reverts commit 291cd842
A directive to ignore FIR UAST is removed after facade support.
2021-05-06 20:19:29 +02:00
Jinseong Jeon
7f627ab480
FIR UAST: track all legacy test data since facade class is converted
...
These are mostly mechanical changes.
2021-05-06 20:19:29 +02:00
Jinseong Jeon
939740d26e
FIR UAST: convert (light) class for facade
2021-05-06 20:19:29 +02:00
Andrey Zinovyev
cba21c68a3
[lombok] Actualize README
2021-05-06 11:27:51 +03:00
Jinseong Jeon
291cd842b9
UAST Kotlin: update test data
...
Addition of directive IGNORE_FIR alters synthetic local variable names.
2021-05-05 14:22:40 +02:00
Jinseong Jeon
dad198cb67
UAST Kotlin: make super type lookup test robust
...
Newly added directive IGNORE_FIR bothers lookup for object "O".
2021-05-05 14:22:40 +02:00
Jinseong Jeon
03d4cb0dfa
FIR UAST: use uast-kotlin/testData for legecy tests
2021-05-05 14:22:40 +02:00
Jinseong Jeon
eac875b5d6
FIR UAST: commonize utils from UAST Kotlin
2021-05-05 14:22:40 +02:00
Jinseong Jeon
f37c722c76
UAST Kotlin: fix typos
2021-05-05 14:22:40 +02:00
Jinseong Jeon
40eaabdbb5
FIR UAST: prototype plugin entrypoint, declarations, test infra
2021-05-05 14:22:40 +02:00
Jinseong Jeon
225e3a747c
LC: introduce light class interface for facade
...
so that FIR-based light class for facade can work well in LC utils
2021-05-05 14:11:48 +02:00
Jinseong Jeon
efba90c6f1
LC: rename KtLightClassForFacade to ...Impl
...
before introducing a common interface for light class for facade
This is a mechanical refactoring.
2021-05-05 14:11:48 +02:00
Ilya Muradyan
b771f9eea4
[REPL] Add completion for the call named parameters
2021-05-04 04:40:00 +03:00
Sergey Shanshin
8dd307573a
Fix IR compilation of external serializers in native
2021-04-30 18:17:08 +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
Udi Cohen
b8002cb54f
[Kapt] Support dumping processors stats to a file
...
Using the option -Kapt-dump-processor-timings
2021-04-28 11:48:19 +03:00
Nikolay Krasko
f7fdffefd6
Add an explicit dependency on dist for UAST tests
2021-04-27 22:00:18 +03:00
Andrey Zinovyev
0c6066db74
[KAPT] Don't fail on illegal delegate
...
Kapt ignores error diagnostics, but backend can't
compile such code at all
This is workaround so backend won't fail.
#KT-46176 Fixed
2021-04-27 16:18:44 +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