Lombok

作者: YoungJadeStone | 来源:发表于2020-05-17 07:36 被阅读0次

Lombok是一个Java library,或者说像是个插件。下面是它的官方描述。

Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java.
Never write another getter or equals method again, with one annotation your class has a fully featured builder, Automate your logging variables, and much more.


@Getter
@Setter
@ToString
@EqualsAndHashCode
@RequiredArgsConstructor
@Data
@AllArgsConstructor
@NoArgsConstructor


Reference
https://juejin.im/post/5a6eceb8f265da3e467555fe

相关文章

网友评论

      本文标题:Lombok

      本文链接:https://www.haomeiwen.com/subject/jinmnhtx.html