当前位置:网站首页>lombok 使用
lombok 使用
2022-06-24 07:01:00 【Simon66991】
编译器安装
Lombok、GsonformatPlus两个插件
在项目根目录创建lombok.config填写:
lombok.anyConstructor.suppressConstructorProperties=true
gradle 添加
//根目录
//@Data
buildscript {
dependencies {
classpath 'org.projectlombok:lombok:1.18.0'
}
}
//模块目录
dependencies {
//@Data
compileOnly 'org.projectlombok:lombok:1.18.16'
annotationProcessor 'org.projectlombok:lombok:1.18.16'
//@JsonProperty("total")
compile 'com.fasterxml:jackson-xml-databind:0.6.2'
}
实体类
ALT + INS选GsonformatPlus使用
边栏推荐
- Tencent cloud ASR product PHP realizes real-time voice authentication request
- OpenCV get(propId) 常用的值
- Pyqt common system events
- 2021-03-04 comp9021 class 6 notes
- 2022 mobile crane driver special operation certificate examination question bank and online simulation examination
- Qmenu response in pyqt
- MATLAB Camera Calibrator相机标定
- Understanding of the concept of "quality"
- ZUCC_编译语言原理与编译_实验04 语言与文法
- 到底哪一首才是唐诗第一?
猜你喜欢

New technology practice, encapsulating the permission application library step by step with the activity results API

Introduction to RCNN, fast RCNN and fast RCNN

2022茶艺师(中级)上岗证题库及在线模拟考试

Question 4 - datepicker date selector, disabling two date selectors (start and end dates)

ZUCC_编译语言原理与编译_实验08 语法分析 LR 分析

小黑ai4code代码baseline啃食1

Question 3 - MessageBox pop-up box, modify the default background color

ZUCC_编译语言原理与编译_实验03 编译器入门

2022 mobile crane driver special operation certificate examination question bank and online simulation examination

Two methods of QT exporting PDF files
随机推荐
贷款五级分类
12--合并两个有序链表
A preliminary study of IO model
[xinliu-s6 new model +sa 3-star Xinghai] the new two-way server of the third generation chip was launched and the product was updated~
Two methods of QT exporting PDF files
How to improve the customer retention rate in the operation of independent stations? Customer segmentation is very important!
Building a static website with eleventy
Common date formatter and QT method for obtaining current time
2022 mobile crane driver special operation certificate examination question bank and online simulation examination
js中通过key查找和更新对象中指定值的方法
ZUCC_编译语言原理与编译_大作业
Which is the first poem of Tang Dynasty?
RCNN、Fast-RCNN、Faster-RCNN介绍
常用日期格式符与Qt获取当前时间的办法
jwt(json web token)
小黑ai4code代码baseline啃食1
Export MySQL database to xxx SQL, set xxx The SQL file is imported into MySQL on the server. Project deployment.
The JS macro of WPS implements the separation method of picture text in the same paragraph
Promise的使用场景
Three categories of financial assets under the new standards: AMC, fvoci and FVTPL