If you pass a null reference, this would result in a message-less NullPointerException. FEATURE: If you use a plural form is also generated, which has the effect of adding all elements in the passed collection.We discourage doing this, but if some library you use requires them, have at it. FEATURE: You can now configure a builder's 'setter' prefixes via = "set") for example.FEATURE: In nfig it is possible to import other config files, even from a.PLATFORM: Support for JDK14 (including pattern match instanceof expressions).PLATFORM: Support for JDK13 (including yield in switch expressions, as well as delombok having a nicer style for arrow-style switch blocks, and text blocks).Issue #1441 Pull Request #2376 thanks to BUGFIX: Javac sets incorrect annotated type on with methods. BUGFIX: Trying to add with exactly 2 arguments would fail in eclipse.BUGFIX: Various lombok annotations on classes nested inside enums or interfaces would cause errors in eclipse.BUGFIX: Using on a class that has some fairly convoluted generics usage would fail with 'Wrong number of type arguments'.BUGFIX: Using val in combination with values whose generics include wildcards that reference themselves would cause a StackOverflowError in javac.BUGFIX: Delombok prints the first this parameter.Manual re-ordering is possible using Pull Request #2485, Issue #1543 Thanks PERFORMANCE: The generated equals method will first compare primitives, then primitive wrappers and then reference fields. PERFORMANCE: Several performance improvements during parsing/compilation, both using javac and Eclipse.PLATFORM: Improved support for recent JVM/javac versions (14 and 15) and new language features.Issue #784 Pull Request #2513 thanks to PLATFORM: Added support for compiling projects with OpenJ9 Pull Request #2437 FEATURE: Add option to cache hashCode via = ).FEATURE: The checkerframework support has been updated the relevant annotations were renamed in checkerframework's APIs, lombok now generates the annotations according to their current API names.Pull Request #2387 thanks to documentation. FEATURE: on a or will configure Jackson to use this builder when deserializing.FEATURE: If using if lockVar is referring to a static field, the code lombok generates no longer causes a warning about accessing a static entity incorrectly.FEATURE: Similar to you can now configure a 'setter' prefixes via = "set") for example.IMPROBABLE BREAKING CHANGE: The generated hashcode has changed for classes that include both primitive fields and reference fields.This solves compiling modules with lombok (and mapstruct). BREAKING CHANGE: mapstruct users should now add a dependency to lombok-mapstruct-binding.BUGFIX: Version 1.18.14 could not be installed in Eclipse, it would break Eclipse.Issue #2648, PR #2658 thanks to PLATFORM: using nfig files when compiling with sbt 1.4 now works again. BUGFIX: support in ecj improved when generics are involved.BUGFIX: Netbeans would not work with 1.18.16 anymore.PR #2637, lombok-intellij-plugin issue #969. BUGFIX: Various tools using ecj under the hood (including intellij) could cause corrupt class files to be generated.POTENTIAL BUGFIX: lombok + errorprone could cause IllegalArgumentException if using the MissingSummary bug pattern.(by BUGFIX: Lombok interacts properly with the new save actions in eclipse 2021-03. (by BUGFIX: Using with a handwritten builder class caused issues. (by BUGFIX: with an existing constructor caused issues in eclipse. BUGFIX: Trying to use a lambda expression as parameter to an did not work.In particular, you can annotate record components with to have lombok add null checks to your compact constructor (which will be created if need be). PLATFORM: All lombok features updated to act in a sane fashion with JDK16's record feature.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |