aboutsummaryrefslogtreecommitdiff
path: root/src/delombok/lombok
AgeCommit message (Collapse)Author
2021-03-19[jdk16] fix delombok (and the test suite, which depends on it) for jdk16.Reinier Zwitserloot
2021-03-19[jdk16] JCBindingPattern now has a field names var instead of separate fieldsRoel Spilker
2021-03-19[testing] restore the printing of the actual/expected when tests fail.Reinier Zwitserloot
2021-03-16[build] sped up the build considerable.Reinier Zwitserloot
We used to use the mango SPI processor, but this had two major issues: * ecj wouldn't run annotation processors, requiring a separate proc:only compile run with javac * mangoSPI couldn't do incremental compilation, so this required a full rebuild just to generate SPI files, every time. Addressed by updating to IPP40 which does support explicit annotation processors even for ecj, and adding our own SPI generating annotation processor to the build which can deal with incrementals. There are some limits; removing a `@Provides` annotation on an existing type will need a full clean to pick that up, for example. These limits seem quite exotic, though.
2021-03-13[trivial] style and removing unused importsReinier Zwitserloot
2021-02-04[issue #2730] Javadoc generated by lombok in javac now gets its position set.Reinier Zwitserloot
This may fix 'IllegalArgumentException' errors when using google errorprone.
2021-01-28Validate positions during testsRawi01
2020-11-13[refactor] reflection code streamlined by sending it through the Permit classReinier Zwitserloot
2020-09-24[fixes #2586] Add Java 15 support for delombokRawi01
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.