lombok

英 美
  • 龙目岛[印度尼西亚南部](在爪哇岛和巴厘岛以东)
  • lombard n.(意大利)伦巴第族的人;银行家;放款者
  • lombardia =Lombardy
  • lombardic adj.Lombardy族的;Lombardy地方地
  • lombardy n.意大利北部州名
  • lombok 龙目岛[印度尼西亚南部](在爪哇岛和巴厘岛以东)
1. Documentation is critical when extending Lombok.
在扩展Lombok时,文档很重要。

youdao

2. Lombok allows you to enter a parenthetical parameter for that purpose.
为此,Lombok让您可以输入一个附加参数。

youdao

3. Lombok has a clever solution to the boilerplate code problem, however.
然而,Lombok有一个很智能的方法来解决样板代码问题。

youdao

4. The major argument against Lombok is that it performs "too much magic."
反对Lombok 的观点中最主要的是,它表现 “太多的魔术”。

youdao

5. You may not always want to accept the other defaults Lombok gives you, either.
您可能并不总是想接受Lombok为您提供的其他默认值。

youdao

6. To set up your Lombok extension project you will need the following files.
要设置Lombok扩展项目需要如下文件。

youdao

7. Trekkers peer from the crater's rim at the Rinjani volcano in Lombok, Indonesia.
印度尼西亚龙目岛,登山人士在林加尼火山凝视着火山口的边缘。

youdao

8. As you can see, the Lombok team has documented what blocks of code generate what.
正如您所见,Lombok团队已经记录了什么块产生什么。

youdao

9. However you end up doing it, you should ultimately see a Lombok installation screen.
不管采取何种方式,应该最终都能看到一个Lombok安装屏幕。

youdao

10. Currently, extending Lombok is not an easy task, nor is it for everyone, but it is doable.
目前,虽然扩展Lombok并不简单,但它是可行的。

youdao

11. If not, you can still use Lombok; you just can't take advantage of the development-time benefits.
如果不是,您仍可使用Lombok;但是不能享用开发时的种种益处。

youdao

12. This article has presented some guidelines regarding when to extend Lombok and described how to do it.
本文提供了一些关于扩展Lombok的指导,并描述了如何进行操作。

youdao

13. Code that has been "delombok-ed" will contain all the transformations made previously by lombok, in plain text.
“已被delombok处理过”的代码将会包含之前由lombok所完成的转换,格式为普通文本。

youdao

14. The Lombok team use an improved version of ivy that they have developed themselves, ivyplusplus (see Resources).
Lombok团队采用他们自己开发的ivy的优化版本,ivyplusplus(见参考资料)。

youdao

15. If you decide to use Lombok, there's a chance that you might want to extend it to generate your own boilerplate code.
如果决定采用Lombok,那就可能会希望对其进行扩展,来生成自己的样板代码。

youdao

16. To extend Lombok, you'll need to identify or create the annotation (s) that will trigger Lombok's code generation.
为扩展Lombok,需要识别或者创建将触发Lombok代码生成的注释。

youdao

17. At the time of this writing, however, Eclipse provides the smoothest code-editing experience when used with Lombok.
然而,在写这篇文章的时候,在与Lombok一起使用时,Eclipse能提供最流畅的编码体验。

youdao

18. 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用例:将其扩展为一个自定义代码基。

youdao

19. If I write the code in Listing 3, Lombok will generate something like the code in Listing 4, using my annotation handlers.
如果在清单3中采用我的触发处理程序编写代码,Lombok将会生成类似清单4中的代码。

youdao

20. 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”的泥球。

youdao

21. By modifying (or transforming) the AST, Lombok keeps your source code trim and free of bloat, unlike plain-text code-generation.
通过修改(或转换)ast,Lombok可对源代码进行修剪,来避免膨胀,这与纯文本代码生成不同。

youdao

22. An annotation handler is a class that implements a couple of Lombok interfaces and the AST transformation logic - aka code generation.
注释处理程序是实现一对Lombok接口以及转换逻辑的类—aka代码生成。

youdao

23. Before adding Lombok to your toolbox, definitely consider its pros and cons, and determine for yourself if the gains justify the loses.
在向工具箱中增加Lombok之前一定要考虑好它的利弊,确定所得是否大于所失。

youdao

24. 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的概述,包括它的工作方式以及它最适用的场景,并简单罗列其优缺点。

youdao

25. It is up to you to determine if the time and effort you will spend extending Lombok is cheaper than just writing boilerplate code by hand.
花费时间与经历来进行Lombok扩展,还是手工创建样板代码,这两者那个更划算您自己决定。

youdao

26. 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团队所解决。

youdao

27. 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.
关于扩展的最佳用例就是在项目早期阶段,利用新的代码模式来进行原型设计与试验。

youdao

28. To save time and effort, take a look at the build files from Lombok or from this article's attached source and copy-and-paste the pieces that you need.
为节省时间与精力,可关注一下来自Lombok的构建文件,或者来自本文附加资源与其他所需的内容。

youdao

29. 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并准备在项目中进行应用之前,您应当知道它有一些限制。

youdao

30. 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并准备在项目中进行应用之前,您应当知道它有一些限制。

youdao