lombok
- 网络龙目岛;龙目
-
Flora and fauna differ markedly between Kalimantan , Bali , and western islands on the one hand and Sulawesi , Lombok , and islands further to the east on the other hand .
加里曼丹岛、巴厘岛苏拉维西岛和龙目岛的动、植物群有显著差别。
-
To set up your Lombok extension project you will need the following files
要设置Lombok扩展项目需要如下文件
-
Lombok has a clever solution to the boilerplate code problem , however .
然而,Lombok有一个很智能的方法来解决样板代码问题。
-
You may not always want to accept the other defaults Lombok gives you , either .
您可能并不总是想接受Lombok为您提供的其他默认值。
-
However you end up doing it , you should ultimately see a Lombok installation screen .
不管采取何种方式,应该最终都能看到一个Lombok安装屏幕。
-
Lombok follows the traditional standard when generating the getter / setter methods .
在生成getter/setter方法时,Lombok遵从传统的标准。
-
Lombok also provides less-verbose means of synchronizing methods .
Lombok还可以减少同步方法所需的代码的冗余。
-
Second , certain Lombok transformations do change Java syntax as we know it , in a fundamental way .
其次,正如我们所了解的,特定Lombok转换将根本地改变Java语法。
-
This could be your own code or an existing Java pattern that isn 't yet part of Lombok 's library .
这可能是您自己的代码或者现有的Java模板,它还不属于Lombok库的一部分。
-
Lombok allows you to enter a parenthetical parameter for that purpose .
为此,Lombok让您可以输入一个附加参数。
-
The seasonal change of the Lombok Strait transport is characteristic of semiannual cycle .
Lombok流量的季节变化表现为半年周期。
-
As you can see , the Lombok team has documented what blocks of code generate what .
正如您所见,Lombok团队已经记录了什么块产生什么。
-
This article has presented some guidelines regarding when to extend Lombok and described how to do it .
本文提供了一些关于扩展Lombok的指导,并描述了如何进行操作。
-
Lombok also enables you to simplify other portions of code & not just Java beans .
Lombok还让您得以简化代码的其他部分&不仅仅是Javabean。
-
Lombok 's annotations naming convention doesn 't communicate intention .
Lombok的注释命名约定不沟通意图。
-
Other than that , Eclipse 's debugger works just as usual when Lombok is present .
除此之外,当Lombok出现时,Eclipse调试工具会向平常一样工作。
-
In Lombok , annotations are no longer just metadata : they actually act as commands driving code generation .
在Lombok中,注释不再仅是元数据:它们实质上是像命令一样驱动代码生成。
-
Lombok uses annotations to identify classes and blocks of Java code in an effort to eliminate lines of code .
为了消除代码行,Lombok使用注释来标识类和Java代码块。
-
Using Lombok , you can accomplish something that all application developers strive to do as much as possible : eliminate redundancy .
使用Lombok,可以实现所有应用程序开发人员都竭尽全力实现的一个目标:消除冗余。
-
Lombok examines your code and doesn 't create its own version of getStyle based on the property .
Lombok检查您的代码并且不会基于这个属性创建其自己的getStyle版本。
-
Lombok 's developers have also provided good pointers for setting up and building your project and for testing your annotation handlers .
Lombok开发人员已经提供了用于设置于构建项目以及用于测试注释处理程序的指针。
-
Then you might want to try out Project Lombok , which is an open source , code-generation library for the Java platform .
那么您可能会想要尝试ProjectLombok,它是个开源的、用于Java平台的代码生成库。
-
With Lombok , a.java file no longer shows what 's in a.class file .
有了Lombok,.java文件无法再展示.class文件所包含的内容。
-
To demonstrate a Lombok extension , I wrote up a quick sample project that generates JavaBeans plumbing code .
为了演示Lombok扩展,我编写了一个用于生成JavaBeans全程(plumbing)代码的非常简单的项目。
-
The Lombok team use an improved version of Ivy that they have developed themselves , ivyplusplus ( see Resources ) .
Lombok团队采用他们自己开发的Ivy的优化版本,ivyplusplus(见参考资料)。
-
At the time of this writing , however , Eclipse provides the smoothest code-editing experience when used with Lombok .
然而,在写这篇文章的时候,在与Lombok一起使用时,Eclipse能提供最流畅的编码体验。
-
The best use case I have found for extending Lombok is prototyping and experimenting with new code patterns at the early stages of a project .
关于扩展的最佳用例就是在项目早期阶段,利用新的代码模式来进行原型设计与试验。
-
I 'll then focus on one of the most powerful , but also complex , use cases for Lombok : extending it for a custom code base .
接下来,我将为大家介绍一个最有用,但也很复杂的Lombok用例:将其扩展为一个自定义代码基。
-
As I previously mentioned , Lombok currently supports common code patterns , but not all of them are covered , including JavaBeans .
正如我前面所提到的,Lombok当前支持公共代码模式,但并不能完全涵盖,包括JavaBeans。
-
In this example , Lombok automatically creates an instance object called $ lock and synchronizes the method foo () against that object .
在本例中,Lombok会自动创建一个名为$lock的实例对象,并会针对该对象同步方法foo()。