lombok

  • lombok
  • 释义

    龙博岛

纠错 数据更新时间:2026-06-10 08:27:03
1、

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

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

互联网摘选

2、

the included sample code (see download) extends lombok to generate javabeans boilerplate code.

所包括的示例代码(见下载)扩展Lombok来生成JavaBeans样板代码。

互联网摘选

3、

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

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

互联网摘选

4、

lombok also provides less-verbose means of synchronizing methods.

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

互联网摘选

5、

you may not always want to accept the other defaults lombok gives you, either.

您可能并不总是想接受Lombok为您提供的其他默认值。

互联网摘选

6、

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

互联网摘选

7、

because your code will be plugging into lombok, it is very likely that it will need to use similar, if not the same apis.

因为代码将被插入到Lombok中,所以即使没有相同的API,也应当拥有类似的API。

互联网摘选

8、

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

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

互联网摘选

9、

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

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

互联网摘选

10、

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

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

互联网摘选

11、

with lombok, a . java file no longer shows what's in a . class file.

有了Lombok,.java文件无法再展示.class文件所包含的内容。

互联网摘选

12、

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的类对象,并会针对该对象同步这个方法。

互联网摘选

13、

However you end up doing it, you should ultimately see a Lombok installation screen.

不管采取何种方式,应该最终都能看到一个Lombok安装屏幕。

互联网摘选

14、

as i previously mentioned, lombok currently supports common code patterns, but not all of them are covered, including javabeans.

正如我前面所提到的,Lombok当前支持公共代码模式,但并不能完全涵盖,包括JavaBeans。

互联网摘选

15、

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

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

互联网摘选

16、

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

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

互联网摘选

17、

lombok canton city technology trade co. , ltd. is a new production-oriented technology companies.

广州市龙目岛科技贸易有限公司是新型的科技生产型公司。

互联网摘选

18、

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

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

互联网摘选

19、

First, by removing some Java code verbosity, Lombok has changed the thing that many Java programmers love about the language: What you see is what you get.

首先,通过删除Java代码冗长,Lombok改变了很多Java程序员对该语言所喜爱之处:所见即所得。

互联网摘选

20、

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

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

互联网摘选

21、

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

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

互联网摘选

22、

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

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

互联网摘选

23、

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

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

互联网摘选

24、

then you might want to try out project lombok, which is an open source, code-generation library for the java platform.

那么您可能会想要尝试ProjectLombok,它是个开源的、用于Java平台的代码生成库。

互联网摘选

25、

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

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

互联网摘选

26、

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

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

互联网摘选

27、

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

互联网摘选

28、

lombok uses non-public apis in both javac and ecj to accomplish its clever code-generation technique.

Lombok在javac与ECJ中采用非公共API来实现其智能的代码生成技术。

互联网摘选

29、

as you can see, the lombok team has documented what blocks of code generate what.

正如您所见,Lombok团队已经记录了什么块产生什么。

互联网摘选

30、

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

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

互联网摘选

  • 今日热词
  • 热门搜索

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

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