this article has presented some guidelines regarding when to extend lombok and described how to do it.

  • 本文提供了一些关于扩展Lombok的指导,并描述了如何进行操作。
  • 来源:互联网摘选更新时间:2026-07-14 01:09:19

  • 重点词汇
  • hasv. 有( have的第三人称单数 );(亲属关系中)接受;拿;买到;
  • andconj. 和;与;而且;于是;然后
  • guidelinesn.指导方针;指导原则;行动纲领;参考;指导方针( guideline的名词复数 );指导原则;行动纲领;准则;
  • how to do怎么做;
  • somedet. 一些,若干;某些,部分;某个;好些,不少的,相当多的;少量的;真可谓,算不上;
  • thispron.这,这个;这事,这人;这时;下面所说的事;
  • AND与(计算机逻辑运算的一种,或称逻辑乘法) AND gate “与”门(电路,脉冲);
  • regardingprep.关于;就…而论;至于;
  • 相关例句
1、

code that has been "delombok-ed" will contain all the transformations made previously by lombok, in plain text.

“已被delombok处理过”的代码将会包含之前由Lombok所完成的转换,格式为普通文本。

互联网摘选

2、

for developers who like to look under the hood, lombok's delombok tool, accessed via the maven or ant command line, will be your headlamp.

对于想要了解内部情况的开发人员,Lombokdelombok工具将为您提供指导,可通过Maven或者Ant命令行访问。

互联网摘选

3、

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。

互联网摘选

4、

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

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

互联网摘选

5、

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

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

互联网摘选

6、

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

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

互联网摘选

7、

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

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

互联网摘选

8、

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

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

互联网摘选

9、

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

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

互联网摘选

10、

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

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

互联网摘选

11、

as i mentioned before, lombok's annotations could do a better job of communicating that they are more than just metadata.

正如前面所提到的,Lombok的注释不仅是元数据,它还能很好地完成通信任务。

互联网摘选

12、

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

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

互联网摘选

13、

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

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

互联网摘选

14、

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

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

互联网摘选

15、

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

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

互联网摘选

16、

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

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

互联网摘选

17、

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

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

互联网摘选

18、

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

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

互联网摘选

19、

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

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

互联网摘选

20、

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

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

互联网摘选

  • 今日热词
  • 热门搜索

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

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