当前位置:网站首页>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
使用
边栏推荐
- Chart list Performance Optimization: minimum resource consumption in the visualization area
- Two methods of QT exporting PDF files
- jwt(json web token)
- Common CVM transcribes audio using virtual sound card
- ZUCC_编译语言原理与编译_实验05 正则表达式、有限自动机、词法分析
- 软件过程与项目管理期末复习与重点
- Opencv实现图像的基本变换
- Cloudbase database migration scheme
- A preliminary study of IO model
- Redis的Cluster集群数据倾斜
猜你喜欢
Small sample fault diagnosis - attention mechanism code - Implementation of bigru code parsing
小黑ai4code代码baseline啃食1
The article takes you to understand the security of Windows operating system and protect your computer from infringement
2021-03-04 comp9021 class 6 notes
WCF TCP protocol transmission
ZUCC_编译语言原理与编译_实验03 编译器入门
Qt导出PDF文件的两种方法
2022 mobile crane driver special operation certificate examination question bank and online simulation examination
Live broadcast review | detailed explanation of koordinator architecture of cloud native hybrid system (complete ppt attached)
【微服务~Nacos】Nacos服务提供者和服务消费者
随机推荐
JS to get the last element of the array
IIS build wordpress5.7 manually
Ordinary token
Robot acceleration level task priority inverse kinematics
RCNN、Fast-RCNN、Faster-RCNN介绍
论文笔记: 多标签学习 DM2L
Small sample fault diagnosis - attention mechanism code - Implementation of bigru code parsing
pyQt 中 QMenu 响应
Detailed explanation of etcd backup and recovery principle and actual record of stepping on the pit
js中通过key查找和更新对象中指定值的方法
ZUCC_编译语言原理与编译_实验04 语言与文法
[graduation season] Hello stranger, this is a pink letter
将mysql的数据库导出xxx.sql,将xxx.sql文件导入到服务器的mysql中。项目部署。
12--合并两个有序链表
Pyqt common system events
Question 4 - datepicker date selector, disabling two date selectors (start and end dates)
常用日期格式符与Qt获取当前时间的办法
2022茶艺师(中级)上岗证题库及在线模拟考试
WPS的JS宏实现图片正文在同一段落的分离方法
ZUCC_编译语言原理与编译_实验03 编译器入门