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

栏目: 软件资讯 · 发布时间: 5年前

内容简介:Lombok 1.18.0 已发布,更新如下: BREAKING CHANGE:  在 1.16.22 引入的可配置 key lombok.noArgsConstructor.extraPrivate 现在默认为 false 。Issue #1708 BUGFIX: Do not generate a private no-args c...

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 的大量时间。

下载地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上所述就是小编给大家介绍的《Lombok 1.18.0 发布,消除冗长的 Java 代码》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

The Linux Programming Interface

The Linux Programming Interface

Michael Kerrisk / No Starch Press / 2010-11-6 / GBP 79.99

The Linux Programming Interface describes the Linux API (application programming interface)-the system calls, library functions, and other low-level interfaces that are used, directly or indirectly, b......一起来看看 《The Linux Programming Interface》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

URL 编码/解码
URL 编码/解码

URL 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具