lombok

lombok

美 ['lɔmbɔk]  英 [ˈlɔmbɔk]

  • n.【旅】龙目岛
  • 网络龙波岛;岛东边的龙目;龙母岛

英汉解释

n.
1.
【旅】龙目岛,印度尼西亚西努沙登加拉省岛屿

英英解释

n.

例句

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

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.

总的说来这些问题可以绕过而且今后其中大部分问题可能LombokEclipsedev团队解决

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

为此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可能会希望进行扩展生成自己样板代码

Lombok generates most common Java boilerplate code, including getters, setters, equals, and hashCode, just to name a few.

Lombok生成大部分公共Java样本代码包括getterssettersequals以及hashCode几个例子

At first, it looked like Lombok Timur was the exception, as it was not on lowland.

看起来似乎不会洪水淹没因为不是低地

In my opinion, any Lombok extension needs to support both javac and ECJ, at least for now.

观点任何Lombok扩展需要同时支持javacECJ至少现在这样

Lombok also provides less-verbose means of synchronizing methods.

Lombok可以减少同步方法代码冗余

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

工具箱增加Lombok之前一定考虑利弊确定所得是否大于

To demonstrate a Lombok extension, I wrote up a quick sample project that generates JavaBeans plumbing code.

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

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

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

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

Lombok注释不再元数据它们实质上命令一样驱动代码生成

Lombok uses annotations to identify classes and blocks of Java code in an effort to eliminate lines of code.

为了消除代码Lombok使用注释标识Java代码

Because there is no Java source for Lombok-generated code, debugging gets a little bit confusing.

由于存在用于Lombok生成代码Java调试变得有点混乱

Second, certain Lombok transformations do change Java syntax as we know it, in a fundamental way.

其次正如我们了解特定Lombok转换根本改变Java语法

As you can see, the Lombok team has documented what blocks of code generate what.

正如Lombok团队已经记录什么产生什么

By modifying (or transforming) the AST, Lombok keeps your source code trim and free of bloat, unlike plain-text code-generation.

通过修改转换)AST,Lombok代码进行修剪避免膨胀文本代码生成不同

As I mentioned before, Lombok's annotations could do a better job of communicating that they are more than just metadata.

正如前面提到Lombok注释不仅元数据还能完成通信任务

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

可能并不总是接受Lombok提供其他默认值

The included sample code (see Download) extends Lombok to generate JavaBeans boilerplate code.

包括示例代码下载扩展Lombok生成JavaBeans样板代码

As I previously mentioned, Lombok currently supports common code patterns, but not all of them are covered, including JavaBeans.

正如前面提到Lombok当前支持公共代码模式不能完全涵盖包括JavaBeans

Lombok Canton City Technology Trade Co. , Ltd. is a new production-oriented technology companies.

广州市科技贸易有限公司新型科技生产公司

With Lombok, a . java file no longer shows what's in a . class file.

Lombok,.java文件无法展示.class文件包含内容

Lombok uses non-public APIs in both javac and ECJ to accomplish its clever code-generation technique.

LombokjavacECJ采用公共API实现智能代码生成技术

Then you might want to try out Project Lombok, which is an open source, code-generation library for the Java platform.

那么可能想要尝试ProjectLombok开源用于Java平台代码生成

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

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命令访问

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

delombok处理代码将会包含之前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参考资料)。

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用例扩展一个自定义代码

Delombok takes code already transformed by Lombok and generates plain Java source files from it.

Delombok获取通过Lombok转换代码依据生成普通Java文件

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

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

The major argument against Lombok is that it performs "too much magic. "

反对Lombok观点主要表现魔术”。

The good news is that the Lombok team has done a fairly good job of documenting how they use javac and ECJ to generate AST nodes.

一个消息Lombok团队已经完成大量关于利用javacECJ生成AST节点相关文档工作

Other than that, Eclipse's debugger works just as usual when Lombok is present.

除此之外Lombok出现Eclipse调试工具平常一样工作

Lombok examines your code and doesn't create its own version of getStyle based on the property.

Lombok检查代码并且不会基于这个属性创建自己getStyle版本

Open a prompt in your operating system, go to the directory where lombok. jar is installed, and type java -jar lombok. jar.

操作系统打开一个提示符进入安装lombok.jar那个目录键入java-jarlombok.jar。

I used Eclipse 3. 6 (Helios) and a snapshot of Lombok's git repository for version 0. 10-BETA2.

采用Eclipse3.6(Helios以及用于版本0.10-BETA2Lombokgit快照