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
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
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
Reinier Zwitserloot
2e212de523
Merge branch 'standard-exception' of git://github.com/ttzn/lombok into ttzn-standard-exception
2021-04-16 03:30:34 +02:00
Rawi01
7069c7e903
[ fixes #2810 ] Use MethodHandler instead of reflective defineClass
2021-04-11 20:03:39 +02:00
Rawi01
52d1aa8608
Avoid reading file from disk by reusing the parser source
2021-04-06 12:18:24 +02:00
Reinier Zwitserloot
9e52cf0947
[website] fixing buildgen of all-versions.html
2021-04-02 03:08:13 +02:00
Reinier Zwitserloot
c64aca47a6
[versioning] post-release version bump
2021-04-02 01:31:16 +02:00
Reinier Zwitserloot
dda76a724b
[versioning] pre-release version bump
2021-04-02 01:01:37 +02:00
Reinier Zwitserloot
0fb3a680ac
[build] fix the website maker's all-versions tool
2021-04-02 00:47:30 +02:00
Roel Spilker
ff8af6164d
Fixes #2803 Manual merge, hide generated code from some Eclipse refactorings
2021-04-02 00:32:24 +02:00
Roel Spilker
72d9bfc412
[docker] upgrade gradle (no jdk16 support yet)
2021-04-01 23:32:20 +02:00
Roel Spilker
baabbd27ee
[docker] update maven
2021-04-01 23:21:28 +02:00
Roel Spilker
a9adc23f1b
[docker] upgrade ant
2021-04-01 22:48:44 +02:00
Rawi01
4637b9daf0
[record] Print compact constructor after class name
2021-04-01 22:15:18 +02:00
Rawi01
462aedcfc3
[ fixes #2787 ] Handle right hand side of assignment first
2021-04-01 21:54:33 +02:00
Reinier Zwitserloot
9b3e84717d
Merge pull request #2793 from Rawi01/license
...
Add licenses of embedded dependencies
2021-03-26 06:15:11 +01:00
Rawi01
dc2b3c8f8d
Add licenses of embedded dependencies
2021-03-25 21:29:15 +01:00
ttzn
af16ba23cd
@StandardException feature working draft
...
* move feature under experimental
* replace ProviderFor with Provides
* add doc material (to be completed)
* add author
2021-03-24 23:52:08 +01:00
ttzn
63ea3db6b7
@StandardException feature working draft
...
* annotation with javac and Eclipse handlers
* single test file
2021-03-24 22:27:25 +01:00
Reinier Zwitserloot
30a2921e63
Merge pull request #2687 from janrieke/superBuilderConfigBuilderClassName
...
SuperBuilder: consider lombok.builder.className for builder extends clause
2021-03-24 06:24:02 +01:00
Reinier Zwitserloot
52a31bc4ae
[records] [@NonNull] eclipse impl onfthe @NonNull on record components feature.
...
All tests passing.
2021-03-24 06:22:15 +01:00