Lombok注解记录

参考地址: https://www.cnblogs.com/guchunchao/p/10371322.html

1
2
3
4
5
6
7
8
9
10
11
12
13
14
@NonNull
@Cleanup
@Getter/@Setter
@ToString
@EqualsAndHashCode
@NoArgsConstructor/@RequiredArgsConstructor/@AllArgsConstructor
@Data
@Value
@SneakyThrows
@Synchronized
@Log


@UtilityClass:工具类再也不用定义static的方法了,直接就可以Class.Method 使用