The documentation above is a lot easier to follow, but if you want to build your own transformations, or you want to add javadoc to
lombok.jar
in your IDE, you can also check out
the javadoc.
Delombok copies your source files to another directory, replacing all lombok annotations with their desugared form. So, it'll turn
@Getter
back into the actual getter. It then removes the annotation. This is useful for all sorts of reasons; you can check out what's happening under the hood, if the unthinkable happens and you want to stop using lombok, you can easily remove all traces of it in your source, and you can use delombok to preprocess your source files for source-level tools such as javadoc and GWT. More information about how to run delombok, including instructions for build tools can be found at the
delombok page.
评论