Reinier Zwitserloot
a67306f2e5
[jdk26] Out of an abundance of caution: Added a test to confirm that lombok does not interact with primitive types in switch pattern matching. Indeed it doesn't.
2026-04-08 01:35:50 +02:00
Reinier Zwitserloot
39ef5d0d04
[jdk25] Added support for implicit classes and a test to confirm support.
2025-08-01 01:13:52 +02:00
Reinier Zwitserloot
70ac222e64
[pretty][jdk25] Pretty printer now supports module imports; also: test that confirms this.
2025-08-01 00:58:01 +02:00
Rawi01
b8c0427b3d
[ #3722 ] Support new JDK23 CommentStyle
2024-09-20 21:37:25 +02:00
Rawi01
23307eb8d1
[jdk22] Adds support for unnamed variables (JEP 456)
2024-03-18 00:40:39 +01:00
Rawi01
1c2970be2d
[jdk21] Remove test for record patterns in for headers (removed in JEP 440)
2023-06-24 17:00:14 +02:00
Rawi01
cb76e67205
[jdk21] Remove test for parenthesized pattern (removed in JEP 441)
2023-06-24 16:57:26 +02:00
Rawi01
428023f548
Fix Java12 tests
2023-03-22 10:22:34 +01:00
Rawi01
83c4dcfd52
[jdk20] Updates support for record patterns
2023-03-21 16:12:22 +01:00
Rawi01
479bd2d75d
[jdk19] Add support for record pattern
2022-08-26 00:53:47 +02:00
Rawi01
957adfae2e
[jdk19] Add support for new guard pattern
2022-08-26 00:53:21 +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
4637b9daf0
[record] Print compact constructor after class name
2021-04-01 22:15:18 +02:00
Rawi01
4f763367f1
Rename TryWithResourcesVarRef
2020-10-02 18:32:29 +02:00
Reinier Zwitserloot
a478fd5679
[tests] fixed a test that fails due to, of all things, a javac bug.
2020-09-18 01:00:46 +02:00
Roel Spilker
ca5bd2868a
Delombok prints the ReceiverParameter (this), fixes #2444 .
2020-05-07 23:27:17 +02:00
Reinier Zwitserloot
229cde2bf0
[ Fixes #2349 ] Support for JDK 14
...
Added the ability to parse and pretty-print the new 'x instanceof String y' pattern concept.
Added a test to the pretty printer to confirm that it works.
2020-01-29 03:07:21 +01:00
Reinier Zwitserloot
3c7cfc8c54
[jdk13] support for switch expression's yield keyword.
2019-09-25 01:20:21 +02:00
Reinier Zwitserloot
69011b90d8
[jdk13] Added support for printing text blocks (triple quoted strings) in text block form
2019-09-25 01:19:55 +02:00
Reinier Zwitserloot
e33a209022
[issue #2140 ] Reproducing the bug: delombok issue: When you delombok a signature like: List<byte[]>... arg, the array brackets are replaced by dots in the delomboked output, which isn’t valid java.
2019-06-18 00:35:26 +02:00
Reinier Zwitserloot
532c28ea62
[trivial] fatfingered a test file name somehow.
2019-04-24 13:53:14 +02:00
Reinier Zwitserloot
ccaefff69f
[jdk12] adding support for the new nodes introduced for the improvements to switch statements, and the ‘switch expression’ preview feature, as well as support for the concept of preview features in general.
2019-04-24 13:52:17 +02:00
Reinier Zwitserloot
320fbfee4d
[ fixes #2049 ] Delombok now figures out usages of ‘var’ and delomboks them as just ‘var’ instead of their actual type.
2019-03-26 01:26:37 +01:00
Reinier Zwitserloot
3ac415254f
[ fixes #1997 ] try-with-resources where the thing you’re guarding is just a variable ref instead of a full decl (legal since JDK9) would break delombok
2019-02-19 02:08:14 +01:00
Reinier Zwitserloot
ccd802503d
[ fixes #2019 ] Lombok now properly deals with @NonNull specifically on the ‘type use’ of a parameter (and, in case of arrays, on the outermost dimension which is actually the first one listed. Weird corner case of the JLS).
2019-01-22 04:30:02 +01:00
Reinier Zwitserloot
fe3490328a
ExoticJava was missing a marker for java7+; as it contains ARM construct, it needs that.
2017-02-16 23:45:28 +01:00
Roel Spilker
fa2ff14e65
Fix for issue #1076
2016-07-19 13:40:32 +02:00
Reinier Zwitserloot
ba2cde332a
[ Fixes #972 ] 1-arg lambdas with explicit typing on the argument did not pretty print correctly.
2015-11-22 23:32:15 +01:00
Reinier Zwitserloot
8db1793461
Added a prettyprinter test case with some exotic java constructs, and fixed a few bugs involving these. Also removed the old pretty printer.
2015-11-16 22:18:29 +01:00
Reinier Zwitserloot
9cfac4131f
The bulk of the effort for a new pretty printer.
2015-11-16 22:18:29 +01:00
Reinier Zwitserloot
1dcbc161c4
[ Closes #855 ] [jdk8] annotations are now legit on types and type parameters in JDK8, but we’d print errors in delombok when encountering these.
2015-08-18 23:12:17 +02:00
Roel Spilker
e890428077
[java8] Support in delombok for default methods in interfaces
2014-05-01 22:13:10 +02:00
Roel Spilker
c7bfba873e
[java8] Support in delombok for method references.
2014-05-01 21:42:38 +02:00
Roel Spilker
fd1a9d7c09
[java8] Support in delombok for intersection typecast and lambdas
2014-05-01 00:06:22 +02:00
Roel Spilker
9639bc2ff4
[pretty] Make the tests work with the new delombok formatting options.
2013-12-11 22:40:48 +01:00
Reinier Zwitserloot
66f32d5073
Fixed issue 459: Delombok would choke on try-with-resources.
2013-03-18 23:57:09 +01:00
Reinier Zwitserloot
cec7dfd190
Empty statements no longer being printed to be consistent with Javac7 which seems to just remove these from the AST entirely.
2012-10-25 00:08:02 +02:00
peichhorn
68b079d312
fixed Issue 233:
...
Javac parser handles ";" (empty statements) as empty blocks with an invalid position. Thats why delomok replaces ";" with "{}". This gets an issue when you use this in an interface, since interfaces are not allowed to have initializer blocks.
2011-07-14 10:42:42 +02:00
Philipp Eichhorn
21cfb45696
delombok would put copyright headers in between the 'package' keyword and the actual package.
...
See discussion at https://groups.google.com/d/topic/project-lombok/64zuUlLnVMc/discussion
2011-05-28 19:34:34 +02:00
Reinier Zwitserloot
632027249b
All tests pass! - The test framework has been updated a bit to fit with the new way delombok works.
2010-11-10 22:19:46 +01:00
Roel Spilker
8e7334a505
Updated documentation on @Log and moved them all to lombok.extern.*
2010-11-06 23:29:43 +01:00
Reinier Zwitserloot
d9ba2a191a
big changes to delombok to prep for resolution, when sourcepath and classpath are relevant, and the flow needs to be parse all, then enter all, then transform all, instead of parse->enter->transform sequentially for each file in isolation.
2010-11-03 00:42:32 +01:00
Reinier Zwitserloot
0072efc4d6
Now also testing value= as well as arrays in annotation params.
2010-01-07 23:52:36 +01:00
Reinier Zwitserloot
3fc7ac6207
Added test to ensure interfaces print correctly (test case because 'public' and 'abstract' are implied).
2010-01-07 23:48:21 +01:00
Reinier Zwitserloot
aa2643092d
Javac's printer screws up on complex enums. Added tests for this case.
2010-01-07 22:49:51 +01:00
Roel Spilker
2aebaff460
Moved test resource files to a better matching location
2009-12-01 23:31:12 +01:00