aboutsummaryrefslogtreecommitdiff
path: root/src/delombok
AgeCommit message (Collapse)Author
2020-08-18Fix tests under Windows, fix test.javac11 and test.javac14, fix issue #1745Rostislav Krasny
The change of the TestConfiguration.java is based on the fact that Git for Windows is configured with 'core.autocrlf=true' by default.
2020-07-09fix typo in printing switch expressionsRoel Spilker
2020-06-25Avoid class.getSimpleName except in static initializers or error messagesRoel Spilker
2020-05-07Delombok prints the ReceiverParameter (this), fixes #2444.Roel Spilker
2020-01-29[Fixes #2349] Support for JDK 14Reinier Zwitserloot
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-20Close more inputstreamsRoel Spilker
2019-09-25[jdk13] support for switch expression's yield keyword.Reinier Zwitserloot
2019-09-25[jdk13] Added support for printing text blocks (triple quoted strings) in ↵Reinier Zwitserloot
text block form
2019-09-12Refactored how the type resolver deals with aliases; fixes star import issues.Reinier Zwitserloot
2019-06-18[fixes #2140] when pretty-printing (delombok) varargs, only turn array ↵Reinier Zwitserloot
brackets into varargs for the actual top-level type, not for arrays inside the type, such as an array as generics component.
2019-05-06[trivial] replacing all calls to Class.newInstance() with ↵Reinier Zwitserloot
Class.getConstructor().newInstance to avoid warnings which are default in many JDK11+ environments, and it shouldn’t change anything (we handle the change from sneaky throwing to InvocationTargetException appropriately).
2019-04-24[jdk12] adding support for the new nodes introduced for the improvements to ↵Reinier Zwitserloot
switch statements, and the ‘switch expression’ preview feature, as well as support for the concept of preview features in general.
2019-04-18#1040 remove createFormat() methodmonosoul
Method createFormat() causes ambiguous behavior and shouldn't be used with addFormat(), especially because the created format instance doesn't being added to the formatOptions
2019-03-26[fixes #2049] Delombok now figures out usages of ‘var’ and delomboks ↵Reinier Zwitserloot
them as just ‘var’ instead of their actual type.
2019-02-19[fixes #1997] try-with-resources where the thing you’re guarding is just a ↵Reinier Zwitserloot
variable ref instead of a full decl (legal since JDK9) would break delombok
2019-01-28Replace sized array in toArray with 0Robert Wertman
This approach has been benchmarked to be marginally faster. Fixes #2030.
2019-01-22[fixes #2019] Lombok now properly deals with `@NonNull` specifically on the ↵Reinier Zwitserloot
‘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-21Delombok now also prints explicit no-arg super constructor calls, fixes #2023.Roel Spilker
2018-11-01[fixes #1932] We broke the delombok ant task.Reinier Zwitserloot
2018-10-29eliminate ‘you are using private API’ warnings by streamlining all ↵Reinier Zwitserloot
reflective access via a class that uses sun.misc.Unsafe to arrange access. From the nqzero permit-reflect library.
2018-10-16[fixes #1795] you can now pass arguments to delombok via file in the same ↵Reinier Zwitserloot
way javac/java support it.
2018-10-16[Fixes #1848] Added support to delombok for properly handling jigsaw ↵Reinier Zwitserloot
(module-info) style projects.
2018-10-02Fixed: command line testing with Javac9+ would fail on all tests that are ↵Reinier Zwitserloot
testing that the compiler emits warning/error messages.
2018-06-04Remove delombok shorthand for onlyChanged, fixes #1705Roel Spilker
2018-04-10[delombok] Added an option to emit only changed files.Reinier Zwitserloot
2018-04-09Update delombok cmd example. Fixes #1643Roel Spilker
2018-02-07[trivial] copyright header year bump to 2018Reinier Zwitserloot
2018-02-07Keep indentations in javadoc. Fixes #1571Roel Spilker
2017-12-05[JDK9] fixing delombok’s comment integration in JDK9.Reinier Zwitserloot
2017-12-04delombok no longer prints generated outer-instance constructor parameters, ↵Roel Spilker
fixes #1521
2017-12-04delombok no longer prints generated outer-instance constructor parameters, ↵Roel Spilker
fixes #1521
2017-11-29delombok in JDK9 now almost works. Some cases of ‘val’ don’t work yet.Reinier Zwitserloot
2017-11-29some bugfixes for JDK9 support involving the Options system of javac.Reinier Zwitserloot
2017-11-29The classpath and bootclasspath params passed to delombok did not apply ↵Reinier Zwitserloot
javac’s built-in * unglobbing. Now they do.
2017-11-28JDK9 support for delombok (and thus, for running the tests under JDK9).Reinier Zwitserloot
2016-07-19[trivial] typo in changelog and comment in PrettyPrinter.javaReinier Zwitserloot
2016-07-19Fix for issue #1076Roel Spilker
2016-05-11Clarify which @Generated annotation is generatedRoel Spilker
2015-12-02rename the old Processor to make room for a bug-chase version.Roel Spilker
2015-11-22[Fixes #970] Eclipse would generate some internal IDE errors if using ↵Reinier Zwitserloot
‘val’ on invalid expressions. This fixes one such case.
2015-11-22[Fixes #972] 1-arg lambdas with explicit typing on the argument did not ↵Reinier Zwitserloot
pretty print correctly.
2015-11-17add the capability to the testing framework to verify that delombok actually ↵Roel Spilker
also handles the changed flag correctly
2015-11-16Added a prettyprinter test case with some exotic java constructs, and fixed ↵Reinier Zwitserloot
a few bugs involving these. Also removed the old pretty printer.
2015-11-16bugfix for comments near start of nodes (it would throw off alignment in ↵Reinier Zwitserloot
pretty printer).
2015-11-16The bulk of the effort for a new pretty printer.Reinier Zwitserloot
2015-08-18[Closes #855] [jdk8] annotations are now legit on types and type parameters ↵Reinier Zwitserloot
in JDK8, but we’d print errors in delombok when encountering these.
2015-02-10[delombok] [bugfix] lambdas with anything but exactly 1 arg would get an ↵Reinier Zwitserloot
extra paren and thus break the output
2015-02-08improved the way lambdas are printed to conform better to style standards ↵Reinier Zwitserloot
(no parens for 1 arg).
2015-01-30* Added config key ‘lombok.addGeneratedAnnotation’.Reinier Zwitserloot
* Added ‘format’ directive for tests. * Updates tests to salt in some more format and config keys.
2015-01-30[i623] added eclipse code for generating @javax.annotation.Generated, and ↵Reinier Zwitserloot
refactored java impl to reduce DRY violations. -f pretty now includes skipping generation of this annotation, and updated ALL the test cases.