mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-15 06:29:01 +08:00
🔧 【通用配置】 lombok.config 支持构造器配置属性自动复制
(cherry picked from commit af659449b08825460f9e8187c755217554533807)
This commit is contained in:
1 parent
aedd2fe4c7
commit
08376e2cfe
2 files changed
+5
-5
No files matched your search
@@ -1,5 +0,0 @@
|
|||||||
# 构造器注入的时候自动复制字段上边的注解
|
|
||||||
lombok.copyableAnnotations += org.springframework.beans.factory.annotation.Value
|
|
||||||
lombok.copyableannotations += org.springframework.beans.factory.annotation.Qualifier
|
|
||||||
lombok.copyableannotations += org.springframework.context.annotation.Lazy
|
|
||||||
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# 此文件不得删除,构造器注入的时候自动复制字段上边的注解
|
||||||
|
lombok.copyableAnnotations += org.springframework.beans.factory.annotation.Value
|
||||||
|
lombok.copyableAnnotations += org.springframework.beans.factory.annotation.Qualifier
|
||||||
|
lombok.copyableAnnotations += org.springframework.context.annotation.Lazy
|
||||||
|
|
||||||
Reference in new issue
Block a user