Code that has been "delombok-ed" will contain all the transformations made previously by lombok, in plain text.
“已被delombok处理过”的代码将会包含之前由lombok所完成的转换,格式为普通文本。
Documentation is critical when extending Lombok.
在扩展Lombok时,文档很重要。
Lombok allows you to enter a parenthetical parameter for that purpose.
为此,Lombok让您可以输入一个附加参数。
Lombok has a clever solution to the boilerplate code problem, however.
然而,Lombok有一个很智能的方法来解决样板代码问题。
To set up your Lombok extension project you will need the following files.
要设置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安装屏幕。
Currently, extending Lombok is not an easy task, nor is it for everyone, but it is doable.
目前,虽然扩展Lombok并不简单,但它是可行的。
If not, you can still use Lombok; you just can't take advantage of the development-time benefits.
如果不是,您仍可使用Lombok;但是不能享用开发时的种种益处。
This article has presented some guidelines regarding when to extend Lombok and described how to do it.
本文提供了一些关于扩展Lombok的指导,并描述了如何进行操作。
The Lombok team use an improved version of ivy that they have developed themselves, ivyplusplus (see Resources).
Lombok团队采用他们自己开发的ivy的优化版本,ivyplusplus(见参考资料)。
To extend Lombok, you'll need to identify or create the annotation (s) that will trigger Lombok's code generation.
为扩展Lombok,需要识别或者创建将触发Lombok代码生成的注释。
At the time of this writing, however, Eclipse provides the smoothest code-editing experience when used with Lombok.
然而,在写这篇文章的时候,在与Lombok一起使用时,Eclipse能提供最流畅的编码体验。
If you decide to use Lombok, there's a chance that you might want to extend it to generate your own boilerplate code.
如果决定采用Lombok,那就可能会希望对其进行扩展,来生成自己的样板代码。
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用例:将其扩展为一个自定义代码基。
At a funeral on the island of Lombok, mourners place mud balls, called luhluh, inside the grave of family member Ahmad Sukarnom, 80.
在龙目岛的一个葬礼上,送葬者在80岁的亲人艾哈迈德·苏喀诺姆的墓里放上被称为“luhluh”的泥球。
I'll give you an overview of Lombok, including how it works, what it's best used for, and a quick list of its current pros and cons.
我将为大家提供对Lombok的概述,包括它的工作方式以及它最适用的场景,并简单罗列其优缺点。
An annotation handler is a class that implements a couple of Lombok interfaces and the AST transformation logic - aka code generation.
注释处理程序是实现一对Lombok接口以及转换逻辑的类—aka代码生成。
On the whole, these problems can be worked around, and with time most of them will probably be resolved by the Lombok and Eclipse dev teams.
总的说来,这些问题可以绕过,而且今后其中大部分问题可能会被lombok与eclipsedev团队所解决。
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.
关于扩展的最佳用例就是在项目早期阶段,利用新的代码模式来进行原型设计与试验。
Before you jump on the Lombok wagon and start adding it to your projects, you should know that it does have a few limitations. Two in particular are important.
在选择Lombok并准备在项目中进行应用之前,您应当知道它有一些限制。
Before you jump on the Lombok wagon and start adding it to your projects, you should know that it does have a few limitations. Two in particular are important.
在选择Lombok并准备在项目中进行应用之前,您应当知道它有一些限制。
应用推荐