aboutsummaryrefslogtreecommitdiff
path: root/src/delombok
AgeCommit message (Collapse)Author
2023-03-22Fix binding patterns in delombok in Java 14+15Rawi01
2023-03-21[jdk20] Updates support for record patternsRawi01
2022-08-26[jdk19] Add support for record patternRawi01
2022-08-26[jdk19] Add support for new guard patternRawi01
2022-08-26[jdk19] Add support for JCConstantCaseLabelRawi01
2021-12-21Make javadoc generation platform independentRoel Spilker
2021-09-16Merge pull request #2936 from Rawi01/jdk-17Reinier Zwitserloot
Add support for JDK17
2021-08-18[jdk17] Add support for sealed classesRawi01
2021-08-18[jdk17] Add support for guard/parenthesized patternRawi01
2021-08-18[jdk17] Add support for default casesRawi01
2021-08-17[fixes #2907] Keep record compact constructor parametersRawi01
2021-04-01[record] Print compact constructor after class nameRawi01
2021-03-24[records] [`@NonNull`] eclipse impl onfthe `@NonNull` on record components ↵Reinier Zwitserloot
feature. All tests passing.
2021-03-23[delombok] [prettyprinter] add support for the compact record constructorReinier Zwitserloot
2021-03-22[javac] defer removal of `import lombok.x;` nodes until delombokReinier Zwitserloot
Our test harness setup for JDK15 and up doesn't work with annotations on record 'fields' (`record X(@RightHere String foo)`).
2021-03-22Merge branch 'records'Reinier Zwitserloot
# 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-20[jdk16] Add lombok opens in single locationmd_5
Fixes awhitford/lombok.maven#47
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-09-10Add record supportRawi01
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.