Rawi01
fdcbaa033d
Replace val with native final var in Java >= 10
2021-09-06 11:58:05 +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
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
Reinier Zwitserloot
5523aca3b7
Merge pull request #2815 from Rawi01/var-val-cache
...
Cleanup internal argument cache
2021-06-03 18:36:02 +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
Reinier Zwitserloot
3d7754e269
[testing] wahey, ecj testing works again, and now we can test JDK16 features in it!
2021-03-23 06:01:50 +01:00
Reinier Zwitserloot
cc98adac01
[records] [javac] Putting @NonNull on a 'field' of a record now affects the compact constructors, generating one if need be.
2021-03-23 05:19:24 +01:00
Reinier Zwitserloot
2eabd8485d
[delombok] [prettyprinter] add support for the compact record constructor
2021-03-23 04:58:20 +01:00
Reinier Zwitserloot
5e2a90836d
[javac] defer removal of import lombok.x; nodes until delombok
...
Our test harness setup for JDK15 and up doesn't work with annotations on record 'fields' (`record X(@RightHere String foo)`).
2021-03-22 11:42:09 +01:00
Reinier Zwitserloot
3400f66fa7
[deps] pushing ASM to 9.1, and ASM opcode compat levels to ASM9, as we need the support for records
2021-03-22 11:38:56 +01:00
Reinier Zwitserloot
bcd05a01b1
Merge branch 'records'
...
# Conflicts:
# src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
# src/core/lombok/eclipse/handlers/HandleBuilder.java
# src/core/lombok/eclipse/handlers/HandleData.java
# src/core/lombok/eclipse/handlers/HandleNonNull.java
# src/core/lombok/eclipse/handlers/HandleSuperBuilder.java
# src/core/lombok/javac/handlers/HandleBuilder.java
# src/core/lombok/javac/handlers/HandleNonNull.java
# src/core/lombok/javac/handlers/HandleSuperBuilder.java
# test/core/src/lombok/RunTestsViaEcj.java
2021-03-22 08:03:42 +01:00
Reinier Zwitserloot
ade900b82b
[testing] fixed an error (I probably introduced this in the typofix earlier) in a test file.
2021-03-21 20:24:40 +01:00
Reinier Zwitserloot
8e23c10a99
Merge pull request #2725 from md-5/master
...
[fixes #2724 ] Increase priority of Builder annotation removal
2021-03-21 05:24:46 +01:00
Reinier Zwitserloot
fb455f4634
[changelog] reflecting fixes #2701 and fixes #2704 in the changelog
2021-03-21 05:22:41 +01:00
Reinier Zwitserloot
2d2f67ea4a
[trivial] [typofix]
2021-03-21 05:19:20 +01:00
Reinier Zwitserloot
aeaa544a55
Merge pull request #2771 from janrieke/copyMoreJacksonAnnotations
...
Add more Jackson annotations to the copy-to-setter list
2021-03-21 05:12:42 +01:00