1、

If the method annotated with@ Synchronized is static, Lombok automatically creates a class object called$ LOCK and synchronizes the method against that object.

如果用@Synchronized注释的这个方法是静态的,那么Lombok就会创建一个名为$LOCK的类对象,并会针对该对象同步这个方法。

互联网摘选

2、

Last year, dozens of tourists were injured when small explosions hit a ferry crossing between Bali and the neighbouring holiday island of Lombok.

去年,一艘观光船在巴厘岛和邻近的度假地龙目岛之间发生了爆炸,数十名游客受伤。

互联网摘选

3、

by modifying ( or transforming) the ast, lombok keeps your source code trim and free of bloat, unlike plain-text code-generation.

通过修改(或转换)AST,Lombok可对源代码进行修剪,来避免膨胀,这与纯文本代码生成不同。

互联网摘选

4、

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

互联网摘选

5、

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

互联网摘选

6、

lombok allows you to enter a parenthetical parameter for that purpose.

为此,Lombok让您可以输入一个附加参数。

互联网摘选

7、

at the time of this writing, however, eclipse provides the smoothest code-editing experience when used with lombok.

然而,在写这篇文章的时候,在与Lombok一起使用时,Eclipse能提供最流畅的编码体验。

互联网摘选

8、

if you decide to use lombok, there's a chance that you might want to extend it to generate your own boilerplate code.

如果决定采用Lombok,那就可能会希望对其进行扩展,来生成自己的样板代码。

互联网摘选

9、

lombok generates most common java boilerplate code, including getters, setters, equals, and hashcode, just to name a few.

Lombok生成大部分公共Java样本代码,包括getters、setters、equals、以及hashCode,仅举几个例子。

互联网摘选

10、

at first, it looked like lombok timur was the exception, as it was not on lowland.

初看起来,似乎东龙目岛不会被洪水淹没,因为它不是低地。

互联网摘选

11、

in my opinion, any lombok extension needs to support both javac and ecj, at least for now.

以我的观点看,任何Lombok扩展都需要同时支持javac与ECJ,至少现在是这样。

互联网摘选

12、

lombok also provides less-verbose means of synchronizing methods.

Lombok还可以减少同步方法所需的代码的冗余。

互联网摘选

13、

before adding lombok to your toolbox, definitely consider its pros and cons, and determine for yourself if the gains justify the loses.

在向工具箱中增加Lombok之前一定要考虑好它的利弊,确定所得是否大于所失。

互联网摘选

14、

to demonstrate a lombok extension, i wrote up a quick sample project that generates javabeans plumbing code.

为了演示Lombok扩展,我编写了一个用于生成JavaBeans全程(plumbing)代码的非常简单的项目。

互联网摘选

15、

lombok supports more than one mechanism for triggering code generation, including the very popular java annotations.

Lombok支持多个触发代码生成的机制,包括了非常流行的Java注释。

互联网摘选

16、

in lombok, annotations are no longer just metadata: they actually act as commands driving code generation.

在Lombok中,注释不再仅是元数据:它们实质上是像命令一样驱动代码生成。

互联网摘选

17、

lombok uses annotations to identify classes and blocks of java code in an effort to eliminate lines of code.

为了消除代码行,Lombok使用注释来标识类和Java代码块。

互联网摘选

18、

because there is no java source for lombok-generated code, debugging gets a little bit confusing.

由于不存在用于Lombok生成代码的Java源,调试会变得有点混乱。

互联网摘选

19、

second, certain lombok transformations do change java syntax as we know it, in a fundamental way.

其次,正如我们所了解的,特定Lombok转换将根本地改变Java语法。

互联网摘选

20、

After compilation is done, the test creates a text representation of the compiled classes using delombok.

编程完成后,测试利用delombok创建了已编译类的文本表示。

互联网摘选

  • 今日热词
  • 热门搜索

英语网英语词典(dict.25820.com)为您提供在线翻译英语词典单词大全英译汉汉译英等英语服务!可按单词字数词义分类查询。支持lj:关键词格式查询例句。

用户反馈
请选择反馈类型(可多选):
您的联系方式:
反馈内容:
提交成功 小编会尽快处理
回到顶部
点击反馈