Skip to content
欢迎扫码关注公众号

Java Lombok


原文:http://blog.csdn.net/ghsau/article/details/52334762


Lombok 是一个可以通过简单的注解形式来帮助我们简化消除一些必须有但显得很臃肿的 Java 代码的工具,通过使用对应的注解,可以在编译源码的时候生成对应的方法。

一般是使用 @Data 生成 Getter 和 Setter,虽然编译时并没有问题,但是由于代码中不存在真正的 Getter 和 Setter 方法,所以编辑器中一般会报错。而且 IDE 一般都有自动生成 Getter 和 Setter 方法的功能,个人感觉还是不用注解好些。

Page Layout Max Width

Adjust the exact value of the page width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the page layout
A ranged slider for user to choose and customize their desired width of the maximum width of the page layout can go.

Content Layout Max Width

Adjust the exact value of the document content width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the content layout
A ranged slider for user to choose and customize their desired width of the maximum width of the content layout can go.