Lombok 1.18.0 发布,消除冗长的 Java 代码

  

Lombok 1.18.0 已发布,更新如下:

  • BREAKING CHANGE:  在 1.16.22 引入的可配置 key lombok.noArgsConstructor.extraPrivate 现在默认为 false 。Issue #1708

  • BUGFIX: Do not generate a private no-args constructor if that breaks the code. Issue #1703Issue #1704Issue #1712

  • BUGFIX: Using boolean parameters in lombok annotations would fail. Issue #1709

  • BUGFIX: Delombok would give an error message. Issue #1705

  • BUGFIX: Eclipse java10 var support didn't work if lombok was installed in your eclipse. Issue #1676

  • FEATURE: Google's Flogger (a.k.a. FluentLogger) is now available via @FloggerIssue #1697

  • FEATURE: @FieldNameConstants has been extended to support prefixes and suffixes. By default, the generated constants are prefixed with FIELD_Docs on @FieldNameConstants.

Lombok 是一个 Java 实用工具,可用来帮助开发人员消除 Java 的冗长,尤其是对于简单的 Java 对象(POJO)。它通过注释实现这一目的。通过在开发环境中实现 Lombok,开发人员可以节省构建诸如 hashCode() 和 equals() 这样的方法以及以往用来分类各种 accessor 和 mutator 的大量时间。

下载地址:

猜你喜欢

转载自www.oschina.net/news/96846/lombok-1-18-0-released