内容简介:Lombok 1.18.4 发布,更新: PLATFORM: Support for Eclipse Photon. Issue #1831 PLATFORM: Angular IDE is now recognized by the installer Issue #1830 PLATFORM: Many improvements for lombok's JDK10/11 s...
Lombok 1.18.4 发布,更新:
PLATFORM: Support for Eclipse Photon. Issue #1831
PLATFORM: Angular IDE is now recognized by the installer Issue #1830
PLATFORM: Many improvements for lombok's JDK10/11 support.
BREAKING CHANGE: The
@FieldNameConstantsfeature has been completely redesigned. Issue #1774FieldNameConstants documentationBREAKING CHANGE: Lombok will now always copy specific annotations around (from field to getter, from field to builder 'setter', etcetera): A specific curated list of known annotations where that is the right thing to do (generally,
@NonNullstyle annotations from various libraries), as well as any annotations you explicitly list in thelombok.copyableAnnotationsconfig key in yourlombok.configfile. Also, lombok is more consistent about copying these annotations. (Previous behaviour: Lombok used to copy any annotation whose simple name wasNonNull,Nullable, orCheckForNull). Issue #1570 and Issue #1634FEATURE: Lombok's
@NonNullannotation can now be used on type usages (annotation on type usages has been introduced in JDK 8).@Builder's@Singularannotation now properly deals with annotations on the generics type on the collection:@Singular List<@NonNull String> names;now does the right thing.FEATURE: You can now mix
@SuperBuilderandtoBuilder, andtoBuilderno longer throwsNullPointerExceptionif a@Singular-marked collection field isnull. Issue #1324FEATURE: delombok now supports module paths via the
--module-pathoption, and will automatically add lombok itself to the module path. This should make it possible to delombok your modularized projects. Issue #1848FEATURE: You can pass
@args.txttodelombokto read args from the text file; useful if you have really long classpaths you need to pass to delombok. Issue #1795BUGFIX:
@NoArgsConstructor(force=true)would try to initialize already initialized final fields in Eclipse. Issue #1829BUGFIX: When using lombok to compile modularized (
module-info.java-style) code, if the module name has dots in it, it wouldn't work. Issue #1808BUGFIX: Errors about lombok not reading a module providing
org.mapstruct.ap.spiwhen trying to use lombok in jigsaw-mode on JDK 11. Issue #1806BUGFIX: Fix NetBeans compile on save. Issue #1770
BUGFIX: If you manually write your builder class so you can add a few methods of your own, and those methods refer to generated methods, you'd usually run into various bizarre error messages, but only on JDK9/10/11. This one is hard to describe, but we fixed it. Issue #1907
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上所述就是小编给大家介绍的《Lombok 1.18.4 发布,消除冗长的 Java 代码》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:- Lombok 1.6.20 发布,消除冗长的 Java 代码
- Lombok 1.18.0 发布,消除冗长的 Java 代码
- Lombok 1.18.2 发布,消除冗长的 Java 代码
- Lombok 1.18.4 发布,消除冗长的 Java 代码
- 9 条消除 if...else 的锦囊妙计,助你写出更优雅的代码
- 消除GitHub上的历史记录
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Google软件测试之道
James A. Whittaker、Jason Arbon、Jeff Carollo / 黄利、李中杰、薛明 / 人民邮电出版社 / 2013-10 / 59.00元
每天,google都要测试和发布数百万个源文件、亿万行的代码。数以亿计的构建动作会触发几百万次的自动化测试,并在好几十万个浏览器实例上执行。面对这些看似不可能完成的任务,谷歌是如何测试的呢? 《google软件测试之道》从内部视角告诉你这个世界上知名的互联网公司是如何应对21世纪软件测试的独特挑战的。《google软件测试之道》抓住了google做测试的本质,抓住了google测试这个时代最......一起来看看 《Google软件测试之道》 这本书的介绍吧!