内容简介:Lombok 1.18.4 发布,更新:
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
@FieldNameConstants
feature has been completely redesigned. Issue #1774 FieldNameConstants documentation -
BREAKING 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,
@NonNull
style annotations from various libraries), as well as any annotations you explicitly list in thelombok.copyableAnnotations
config key in yourlombok.config
file. 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 #1634 -
FEATURE: Lombok's
@NonNull
annotation can now be used on type usages (annotation on type usages has been introduced in JDK 8).@Builder
's@Singular
annotation 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
@SuperBuilder
andtoBuilder
, andtoBuilder
no longer throwsNullPointerException
if a@Singular
-marked collection field isnull
. Issue #1324 -
FEATURE: delombok now supports module paths via the
--module-path
option, and will automatically add lombok itself to the module path. This should make it possible to delombok your modularized projects. Issue #1848 -
FEATURE: You can pass
@args.txt
todelombok
to read args from the text file; useful if you have really long classpaths you need to pass to delombok. Issue #1795 -
BUGFIX:
@NoArgsConstructor(force=true)
would try to initialize already initialized final fields in Eclipse. Issue #1829 -
BUGFIX: When using lombok to compile modularized (
module-info.java
-style) code, if the module name has dots in it, it wouldn't work. Issue #1808 -
BUGFIX: Errors about lombok not reading a module providing
org.mapstruct.ap.spi
when trying to use lombok in jigsaw-mode on JDK 11. Issue #1806 -
BUGFIX: 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
以上所述就是小编给大家介绍的《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上的历史记录
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
大数据时代
[英] 维克托•迈尔•舍恩伯格(Viktor Mayer-Schönberger) / 周涛 / 浙江人民出版社 / 2012-12 / 49.90元
《大数据时代》是国外大数据研究的先河之作,本书作者维克托•迈尔•舍恩伯格被誉为“大数据商业应用第一人”,拥有在哈佛大学、牛津大学、耶鲁大学和新加坡国立大学等多个互联网研究重镇任教的经历,早在2010年就在《经济学人》上发布了长达14页对大数据应用的前瞻性研究。 维克托•迈尔•舍恩伯格在书中前瞻性地指出,大数据带来的信息风暴正在变革我们的生活、工作和思维,大数据开启了一次重大的时代转型,并用三......一起来看看 《大数据时代》 这本书的介绍吧!