Reinier Zwitserloot
2e5bff41ea
[ #4070 ] Add tests for complex superclass names for @SuperBuilder as well.
2026-09-08 23:44:04 +02:00
Burak KALAYCI
4bbc653394
[ #4070 ] Fix SuperBuilder for non-ASCII superclass simple names
...
javac pretty-prints JCIdent via toString() using unicode escapes.
Use the identifier Name so Hangul (and other non-ASCII) superclass
simple names generate a valid builder type reference.
2026-09-08 23:44:04 +02:00
Reinier Zwitserloot
04b73406d0
[trivial] fixing some outdated tests (tests were broken, not lombok).
2026-08-21 03:14:01 +02:00
snowykte0426
ecf421849c
Fix builder class name annotation collision
2026-08-21 03:13:42 +02:00
Reinier Zwitserloot
4cfdf21430
[test] Fix tests to reflect updates to @CheckReturnValue feature.
2026-08-21 02:57:22 +02:00
Tim te Beek
cdfb0f551e
[feature][@CheckReturnValue] Add @lombok.CheckReturnValue to generated methods where the return value should not be ignored.
...
Adds the annotation to @With, @WithBy, @Builder.build(), and @SuperBuilder.build() methods. Controlled via lombok.addCheckReturnValueAnnotation config key (default: true). Static analysis tools (Error Prone, IntelliJ, SpotBugs) recognize @CheckReturnValue by simple name and will warn when the return value is discarded.
2026-08-21 02:41:59 +02:00
Reinier Zwitserloot
6ef04d9606
[old-cruft] Removed old lombok.Delegate (it's in experimental now) and lombok.experimental.Wither (it's in main now).
2026-08-07 01:11:31 +02:00
Reinier Zwitserloot
2e177996fb
[promotion] SuperBuilder promoted to main package.
2026-08-07 01:11:31 +02:00
Sebastian Mandrean
e6567b6621
test: Add Jackson 3 test cases and version ambiguity warnings
...
Add JacksonizedAccessorsJackson3 test case verifying that @Jacksonized
with jacksonVersion=3 emits the correct annotations.
Add expected warning messages for tests that have both Jackson 2 and 3
on the classpath without explicit version configuration, and fix
JacksonizedSuperBuilderWithJsonDeserialize message expectations.
2026-04-22 00:49:30 +02:00
Jan Rieke
ca16c5b9f6
fix test
2026-04-21 23:08:35 +02:00
Jan Rieke
0cc5e054a3
ecj: fix duplicate jackson annotation copying when generating setter
2026-04-21 23:08:35 +02:00
Rafa
89abb18004
Adding Test with the expected behavior
2026-03-19 00:01:47 +01:00
Rafa
24cf30face
Adding Test with the current behavior
2026-03-18 23:31:48 +01:00
Reinier Zwitserloot
1edca70420
[test][@Jacksonized] Test emission of warning when not choosing jackson version.
2026-02-06 02:05:58 +01:00
Reinier Zwitserloot
12572fcbd2
[test] Adjusted tests to the new 'jackson version is a list' config key setup.
2026-02-06 01:50:25 +01:00
Reinier Zwitserloot
d62b2d5b80
Merge branch 'master' into cachescrubber-gh-3950
...
# Conflicts:
# src/core/lombok/eclipse/handlers/HandleJacksonized.java
# src/core/lombok/javac/handlers/HandleJacksonized.java
2026-02-06 00:22:11 +01:00
Reinier Zwitserloot
f49f0fe78d
[test] Remove tests for deprecated @Logger(access = MODULE). They're deprecated:
...
Dealing with suppress warnings when trying to compare output of a delombok process is hard enough as is.
If someone somehow uses MODULE, the code will probably work, the deprecation warning tells you to cut it out,
and if it breaks, I'm sure somebody will report a bug and we'll fix it maybe one fine day.
2026-02-05 23:48:44 +01:00
Reinier Zwitserloot
ee9a52da6e
Merge pull request #3956 from Rawi01/compiler-message-suppressor
...
Suppress messages during resolution
2026-01-29 22:10:24 +01:00
Liam Pace
f5cf267d02
Add fields with @JsonIgore to test case
2026-01-29 22:04:21 +01:00
Liam Pace
e3c9e3d9ff
Add transforms to include checks for transient field
2025-11-21 13:50:00 -05:00
Rawi01
93e9bebf0a
[ fixes #3954 ][ fixes #3947 ] Suppress messages during resolution
2025-09-25 18:38:12 +02:00
Liam Pace
da5e18de59
rename LoggerXslf4jAccess* classes to match file name
2025-09-25 16:30:36 +02:00
Liam Pace
fef4d61978
dirty hack to rename file bc git doesn't track case changes (again)
...
Rename file (Part 1)
Rename file (Part 2)
2025-09-25 16:30:36 +02:00
Liam Pace
58abf0caf9
Suppress deprecation warning for AccessLevel.MODULE
2025-09-25 16:30:36 +02:00
Lars Uffmann
faa0033685
- Run test with CONF: lombok.jacksonized.useJackson3 = true, adjust ecj tests.
...
- Validate config options.
2025-09-25 11:34:28 +02:00
Liam Pace
9152c3408f
Fix failing tests
2025-09-17 22:24:00 +02:00
Liam Pace
121cfabac2
fix: add custom logger classes to tests
2025-09-17 22:24:00 +02:00
Liam Pace
1100dfae2e
Add after-ecj transform for various loggers
2025-09-17 22:24:00 +02:00
Reinier Zwitserloot
87e8af476a
[comment] Added explanation: We skip ecj check on NonNullOnRecordExistingConstructorz.
2025-08-07 02:03:00 +02:00
Rawi01
45f0da2050
[ fixes #3883 ] Support records in upcoming eclipse version
2025-05-27 08:30:12 +02:00
Jan Rieke
9bb4204f51
Merge remote-tracking branch 'origin/master' into jacksonizedAccessors
2025-03-31 13:40:12 +02:00
Reinier Zwitserloot
0ec007c041
Merge pull request #3831 from Rawi01/delegate-record
...
Detect @Delegate on record components
2025-03-30 01:29:39 +01:00
Reinier Zwitserloot
2173494ce9
Merge pull request #3813 from Rawi01/eclipse-javadoc-stackoverflow
...
Replace inefficient Javadoc Regex
2025-03-30 01:08:58 +01:00
Jan Rieke
5c2ddc8ddb
ecj: Jacksonized for accessors
2025-03-28 17:42:09 +01:00
Jan Rieke
70dd3f0940
ecj: Jacksonized for accessors [WIP]
2025-03-27 14:06:27 +01:00
Rawi01
9b37daa9da
[ fixes #3830 ] Detect @Delegate on record components
2025-02-19 23:47:50 +01:00
Rawi01
03fb4cb110
[ fixes #3781 ] Replace inefficient Javadoc Regex
2025-01-28 23:29:09 +01:00
Rawi01
4294ebd301
[ fixes #3605 ] Remove outer type reference when marking class as static
...
The class now implements Serializable to trigger generation of this$0
fields in the inner class. Since Java 18 the compiler only generates the
reference to the outer class if it is in use or the class is
Serializable.
2024-11-24 20:58:41 +01:00
Jan Rieke
26cbd8b347
add @Generated to expected test results
2024-11-01 15:06:53 +01:00
Jan Rieke
9214dcd4a9
Merge remote-tracking branch 'origin/master' into jacksonizedAccessors
2024-10-28 13:08:18 +01:00
Rawi01
f19a7e865a
[ fixes #3709 ] Improve extraction of javadoc comments
2024-08-20 23:33:12 +02:00
Reinier Zwitserloot
3cd41e8fa0
[trivial] some test cases were failing (due to the constructor-javadoc update); the bug was in the test cases, not the code.
2024-06-28 02:42:14 +02:00
Reinier Zwitserloot
3b68e39d10
Merge pull request #3697 from janrieke/superbuilder-fix-array-type-param
...
SuperBuilder: fix builder class extends clause for array type parameters
2024-06-28 02:19:42 +02:00
Reinier Zwitserloot
78c1f47176
Merge pull request #3689 from Rawi01/nested-javadoc
...
Generate javadoc for nested classes
2024-06-28 02:13:27 +02:00
Reinier Zwitserloot
da815a66d1
Merge pull request #3674 from Rawi01/standardexception-fields
...
Add cast for null arguments
2024-06-28 01:44:03 +02:00
Reinier Zwitserloot
6cf6caf468
Merge pull request #3673 from Rawi01/eclipse_field_generated
...
Mark injected fields as generated
2024-06-28 00:54:52 +02:00
Jan Rieke
eb6e01e172
add test case for array type parameter
2024-06-24 23:52:53 +02:00
Rawi01
0ab79d6f14
Generate javadoc for nested classes
2024-06-16 10:02:15 +02:00
Rawi01
a2dd5ffa6a
Remove duplicate content in copied @param tags
2024-06-15 11:32:51 +02:00
Rawi01
26c8271b3e
[ #2934 ] Copy last param javadoc, copy param javadoc in eclipse
2024-06-15 11:27:19 +02:00