Rawi01
07cf64ed66
Support javadoc copying in ecj language server
2021-09-28 22:02:17 +02:00
Rawi01
b50aa64f72
[ fixes #2950 ] Patch language server semantic highlighting
2021-09-28 22:02:16 +02:00
Reinier Zwitserloot
ba2b47b974
Merge pull request #2975 from Rawi01/organize-imports-val
...
Move 'val' -> 'final var' code to patch method
2021-09-27 19:19:46 +02:00
Rawi01
9ef7656a35
[tests] Exclude recently added 'val' test
2021-09-27 17:53:14 +02:00
Rawi01
c67acc0234
[ fixes #2972 ] Use simple type, move code to patch method
2021-09-27 17:46:20 +02:00
Reinier Zwitserloot
ba68962cec
[ fixes #2736 ] Add jackson annotation JsonUnwrapped to the 'copy to setters' list.
2021-09-18 03:35:02 +02:00
Reinier Zwitserloot
d4c4a7a7db
[issue #2964 ] fixing the previous commit
2021-09-16 19:17:45 +02:00
Reinier Zwitserloot
be0f950a65
[issue #2964 ] Try to look in chocolatey's default installation dir.
2021-09-16 12:51:15 +02:00
Reinier Zwitserloot
a7b6256523
[changelog] documenting previous commit.
2021-09-16 02:12:05 +02:00
Reinier Zwitserloot
d09d995a8e
Merge pull request #2936 from Rawi01/jdk-17
...
Add support for JDK17
2021-09-16 02:07:26 +02:00
Reinier Zwitserloot
14aaf25ede
Merge pull request #2932 from Rawi01/record-nonnull-symbols
...
Keep record compact constructor parameters
2021-09-16 02:05:15 +02:00
Reinier Zwitserloot
ad04c1833c
Merge pull request #2868 from Rawi01/clone-primitive-type
...
Clone primitive types
2021-09-16 02:04:35 +02:00
Reinier Zwitserloot
485c3533bb
Merge pull request #2866 from Rawi01/anonymous-inner-class
...
Handle anonymous classes properly
2021-09-16 02:04:12 +02:00
Reinier Zwitserloot
602a68b8f8
Merge pull request #2840 from Rawi01/copy-vartype
...
Also copy vartype.type in TreeMirrorMaker
2021-09-16 02:03:29 +02:00
Reinier Zwitserloot
8ed91a0362
Merge pull request #2930 from Rawi01/eclipse-final-save-action
...
Fix "Use modifier 'final' where possible" cleanup
2021-09-16 02:02:11 +02:00
Reinier Zwitserloot
0d7260d052
[ fixes #2960 ] [installer] Fix issue with weird chars in eclipse path
...
Lombok used to attempt to escape 'weird' chars (using a whitelist of chars that need no escaping) when writing out eclipse.ini.
However, there _is no_ escaping mechanism available there. Instead, apparently eclipse/java just reads the chars appearing after
the `-javaagent:` prefix as literally as possible. Therefore, just.. don't escape, and pray. Spaces, colons, and ats have all been confirmed
as working correctly when rendering them literally, and as failing when you attempt to escape them.
2021-09-15 15:57:36 +02:00
Reinier Zwitserloot
69c928a629
[trivial] remove unused import
2021-09-15 15:55:16 +02:00
Reinier Zwitserloot
693601e939
[changelog] add previous commit (val to final var) to changelog
2021-09-07 22:02:59 +02:00
Rawi01
fdcbaa033d
Replace val with native final var in Java >= 10
2021-09-06 11:58:05 +02:00
Rawi01
f516dd8ab3
[jdk17] Add support for sealed classes
2021-08-18 20:20:57 +02:00
Rawi01
aab8808656
[jdk17] Ignore new strictfp warnings
2021-08-18 17:59:44 +02:00
Rawi01
7bea429ea7
[jdk17] Fix ThisParamter test
2021-08-18 17:37:54 +02:00
Rawi01
df2601f9db
[jdk17] Add support for guard/parenthesized pattern
2021-08-18 09:37:21 +02:00
Rawi01
91859536db
[jdk17] Add support for default cases
2021-08-18 09:31:21 +02:00
Rawi01
ee9b1128b4
[ fixes #2907 ] Keep record compact constructor parameters
2021-08-17 08:23:51 +02:00
Rawi01
8af613be13
[ fixes #2926 ] WrittenNamesFinder can now detect generated writes
2021-08-15 10:00:53 +02:00
Roel Spilker
e050dafc90
Improve Builder documentation to emphasize the "builder()" factory method. Fixes #2870
2021-06-10 22:25:23 +02:00
Roman Ivanov
c335c2bfc9
SneakyThrows.java fix typo - return String instead void
2021-06-10 21:06:19 +02:00
Rawi01
0f358d38c5
[testing] Fix javac6 tests
2021-06-06 10:39:52 +02:00
Rawi01
7585a539e0
[ fixes #2863 ] Clone primitive types
2021-06-05 18:44:01 +02:00
Reinier Zwitserloot
157ee0291a
Followup build fix related to commit 17ac9e77a5
...
That commit added a stub for com.sun.tools.javac.comp.ArgumentAttr: When compiling against stubstubs, the requisite JCTree.Visitor nested class doesn't exist; added this to the existing JCTree stubs-for-the-stubs
2021-06-04 05:11:56 +02:00
Reinier Zwitserloot
e87703d33b
Merge pull request #2822 from FlorentMouysset/master
...
Fix @CustomLog-key in lombok.config for some error messages. Issue #2821
2021-06-04 04:36:34 +02:00
Reinier Zwitserloot
0ce8721960
Merge pull request #2816 from Rawi01/val-switch-expression
...
Resolve variables in switch expressions
2021-06-04 04:35:02 +02:00
Rawi01
60f575496b
[ fixes #2838 ] Handle anonymous classes properly
...
Generated qualified names (e.g. Outer.Inner) now stop at anonymous
classes instead of adding an empty part. All handlers that add static
fields/methods/types now add error messages instead of generating
invalid code.
2021-06-03 19:23:19 +02:00
Reinier Zwitserloot
5523aca3b7
Merge pull request #2815 from Rawi01/var-val-cache
...
Cleanup internal argument cache
2021-06-03 18:36:02 +02:00
Rawi01
bd00fc4b83
Copy reference types properly
2021-05-14 23:06:20 +02:00
Rawi01
a8f9b1dd35
[ fixes #2420 ] Copy vartype.type
2021-05-12 09:08:34 +02:00
MOUYSSET Florent
a2a4ea7275
Fix @CustomLog-key in lombok.config for some error messages. Issue #2821
2021-04-27 18:18:16 +02:00
Roel Spilker
6758714ed5
Change owner lombok GitHub repository
2021-04-23 00:01:55 +02:00
Rawi01
400e0f7544
[ fixes #2624 ] Resolve variables in switch expressions
2021-04-22 07:53:25 +02:00
Rawi01
17ac9e77a5
[ fixes #2460 ][ fixes #2462 ] Cleanup internal argument cache
2021-04-18 13:43:37 +02:00
Reinier Zwitserloot
5120abe474
Merge pull request #2811 from Rawi01/eclipse-java-16-inaccessible
...
Use MethodHandler instead of reflective defineClass
2021-04-18 06:36:13 +02:00
Reinier Zwitserloot
561870c7cc
Merge pull request #2809 from Rawi01/eclipse-javadoc-performance
...
Avoid reading file from disk by reusing the parser source
2021-04-18 06:33:56 +02:00
Reinier Zwitserloot
8e7fcac2e3
[records] [@NonNull] slight refactor to ensure any generated canonical constructor is visible to downstream APs
...
We used to remove the canonical constructor on a record that javac generates, and replace it with our own, as we put null checks in it.
However, the type mirrors and such Annotation Processors use already have the implicit canonical constructor available. Instead of
trying to remove those, let's just take the existing implicit constructor and add to that (and mark it explicit, of course).
2021-04-18 06:33:36 +02:00
Reinier Zwitserloot
3f6d668f83
[StandardExceptions] fix for javac
2021-04-18 06:00:33 +02:00
Reinier Zwitserloot
c4357b03bf
[review] Use javac's internals to update type mirrors
...
This should help with making any annotation processors that run after lombok to 'see' the changes lombok caused properly.
2021-04-18 05:50:49 +02:00
Reinier Zwitserloot
ba9ffce898
Merge branch 'enter-types-methods-fields' of git://github.com/Rawi01/lombok into Rawi01-enter-types-methods-fields
2021-04-18 05:45:28 +02:00
Reinier Zwitserloot
01702f70d0
[StandardException] generate an error if the annotation is on a class that extends nothing.
2021-04-18 05:44:12 +02:00
Reinier Zwitserloot
1a1527028c
[trivial]
2021-04-16 06:40:51 +02:00
Reinier Zwitserloot
415e303ac2
[pr 2702] finishing the @StandardException feature.
...
* rewritten how it works a bit: Now compatible with parent exceptions that don't have the Throwable variants.
* rewritten how it works a bit: You can now provide the full constructor only; the rest will forward to it.
* fixing up style.
* rewrite the docs.
2021-04-16 06:40:35 +02:00