{"id":228974,"date":"2020-12-09T06:31:08","date_gmt":"2020-12-08T22:31:08","guid":{"rendered":"http:\/\/4563.org\/?p=228974"},"modified":"2020-12-09T06:31:08","modified_gmt":"2020-12-08T22:31:08","slug":"idea-%e7%a4%be%e5%8c%ba%e7%89%88%e5%92%8c%e6%97%97%e8%88%b0%e7%89%88%e6%9e%9c%e7%84%b6%e8%bf%98%e6%98%af%e6%9c%89-%e5%86%85%e5%9c%a8%e5%8c%ba%e5%88%ab-%e7%9a%84%e5%90%a7","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=228974","title":{"rendered":"IDEA \u793e\u533a\u7248\u548c\u65d7\u8230\u7248\u679c\u7136\u8fd8\u662f\u6709-\u5185\u5728\u533a\u522b-\u7684\u5427"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  IDEA \u793e\u533a\u7248\u548c\u65d7\u8230\u7248\u679c\u7136\u8fd8\u662f\u6709-\u5185\u5728\u533a\u522b-\u7684\u5427               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : monetto <\/span>  <span><i><\/i> 12<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5728\u516c\u53f8\u5f00\u53d1 Java6 \u7684\u8001\u9879\u76ee\uff0c\u56e2\u961f\u91cc\u6709\u4eba\u7528\u4e86 Lombok\uff0c\u7248\u672c\u662f 1.16 \u3002<\/p>\n<p>\u4e3b\u4e00\u76f4\u7528\u7684\u793e\u533a\u7248+Smart Tomcat \u63d2\u4ef6\u5f00\u53d1\u3002\u5948\u4f55\u52a8\u4e0d\u52a8\u5c31\u62bd\u98ce\u62a5\u9519\uff0c\u63d0\u793a\u627e\u4e0d\u5230\u7b26\u53f7(1.16 \u7684 Lombok \u5e94\u8be5\u662f\u65e0\u6cd5\u4e0e IDEA 2020.1 \u4ee5\u540e\u7684\u7248\u672c\u914d\u5408\u4f7f\u7528\u7684)\u3002\u8fd9\u53ea\u662f\u5176\u4e2d\u4e00\u4e2a\u95ee\u9898\u3002<\/p>\n<p>\u8fd8\u6709\u5c31\u662f\u4ee3\u7801\u672c\u8eab\u6ca1\u95ee\u9898\uff0c\u7136\u540e IDEA \u7f16\u8bd1\u5c31\u62a5\u9519\uff0c\u6587\u4ef6\u7206\u7ea2\u4e86\uff0c\u7ed3\u679c\u6253\u5f00\u6587\u4ef6\uff0c\u7206\u7ea2\u81ea\u5df1\u4e00\u4f1a\u6d88\u5931\u4e86\u3002\u65e0\u5948\u3002<\/p>\n<p>\u4e0a\u9762\u4f60\u8fd9\u4e24\u4e2a\u95ee\u9898\u90fd\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528 Maven \u6784\u5efa\u89e3\u51b3\u3002\u4f46\u662f\u4eca\u5929\u78b0\u5230\u4e86\u4e2a\u95ee\u9898\uff0cSmartTomcat \u63d2\u4ef6\u914d\u5408 Tomcat8.5 \u542f\u52a8\u4e00\u4e2a\u9879\u76ee\uff0c\u534a\u5929\u542f\u52a8\u4e0d\u8d77\u6765\uff0c\u4e0d\u662f\u62a5\u6ca1\u627e\u5230\u7b26\u53f7\uff0c\u5c31\u662f\u62a5\u201c\u5b9e\u9645\u53c2\u6570\u5217\u8868\u548c\u5f62\u5f0f\u53c2\u6570\u5217\u8868\u957f\u5ea6\u4e0d\u540c\u201d\uff0cJAR \u5305\u7248\u672c\u4ec0\u4e48\u90fd\u68c0\u67e5\u8fc7\u4e86\uff0c\u6700\u540e\u542f\u52a8\u8d77\u6765\u4e86\uff0cIDEA \u81ea\u5df1\u53c8\u62a5\u4e86\u4e2a\u201cModuleUtilCore.findModuleForFile must not be null\u201d\uff0c<\/p>\n<p>\u4e5f\u542f\u52a8\u6210\u529f\u8fc7\u51e0\u6b21\uff0c\u6700\u540e\u603b\u7ed3\u5c31\u662f\u80fd\u4e0d\u80fd\u542f\u52a8\u5b8c\u5168\u770b\u8138&#8230;\u771f&#8211;\u8ff7\u60d1\u3002\u4eca\u5929\u665a\u4e0a\u5b9e\u5728\u542f\u52a8\u4e0d\u8d77\u6765\u4e86\uff0c\u800c\u4e14\u8eab\u8fb9\u7684\u540c\u4e8b\u4e00\u76f4\u90fd\u6ca1\u8fd9\u4e9b\u95ee\u9898(\u5176\u4ed6\u4eba\u4e00\u76f4\u7528\u7684\u65d7\u8230\u7248)\uff0c\u9042\u4e3b\u4e5f\u8bd5\u4e86\u4e0b\u65d7\u8230\u7248\uff0c\u4e00\u6b21\u542f\u52a8\u6210\u529f&#8230;\u975e\u5e38\u8f7b\u677e&#8230;.\u771f\u5fc3\u8dea\u4e86\u3002<\/p>\n<p>\u4e2a\u4eba\u611f\u89c9 IDEA \u793e\u533a\u7248\u548c\u65d7\u8230\u7248\uff0c\u9664\u4e86\u652f\u6301 JavaEE \u548c Spring \u8fd8\u6709 JS \u4ee5\u5916&#8230;\u8fd8\u662f\u6709\u5185\u5728\u533a\u522b\u7684&#8230;\u4e0d\u53ea\u662f\u529f\u80fd\u4e0a\u7684\u533a\u522b&#8230;\u6709\u4e86\u89e3\u7684\u5927\u4f6c\u5417\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>56<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4692705\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monetto <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u67e5\u4e86\u4e0b\uff0c\u4e2a\u4eba\u7248\u7684\u5e94\u8be5\u662f\u6ca1\u6709\u4f7f\u7528\u8bbe\u5907\u9650\u5236\u7684\u5427&#8230;\u90a3\u5c31\u662f\u4e70\u4e86\u4e2a\u4eba\u7248\u4e4b\u540e\uff0c\u5bb6\u91cc\u7684 Mac \u548c\u516c\u53f8\u7684 PC \u90fd\u80fd\u7528\u5427\uff1f\u6ca1\u6709\u8bbe\u5907\u6570\u91cf\u9650\u5236\u5427\uff08\u6709\u5927\u4f6c\u4e86\u89e3\u5417\uff1f\uff09<\/p>\n<p>\u7136\u540e\u518d\u5f31\u5f31\u7684\u95ee\u4e00\u4e0b\u54ea\u91cc\u6709\u65d7\u8230\u7248\u7684\u4f18\u60e0\u6e20\u9053&#8230;\u60f3\u641e\u4e00\u5e74\u7136\u540e\u83b7\u5f97&#8212;\u5f53\u524d\u7248\u672c\u7684&#8212;\u6c38\u4e45\u6fc0\u6d3b\u7801&#8230;.(\u8ba2\u9605\u6ee1 1 \u5e74\u53ef\u4ee5\u4e00\u76f4\u4e0d\u5347\u7ea7\u7528\u5f53\u524d\u7248\u672c)                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692706\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : acrisliu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e2a\u4eba\u7248\u4e70\u4e86\u53ef\u4ee5\u5728\u516c\u53f8\u548c\u4e2a\u4eba\u7535\u8111\u4e0a\u7528\uff0c\u4e5f\u80fd\u5f00\u53d1\u5546\u4e1a\u9879\u76ee\uff0c\u53ea\u662f\u4e0d\u80fd\u5171\u4eab\u7ed9\u5176\u4ed6\u4eba\u4f7f\u7528\uff0c\u4e5f\u4e0d\u80fd\u8ba9\u516c\u53f8\u4ee5\u4efb\u4f55\u65b9\u5f0f\u62a5\u9500\u4f60\u7684\u8d2d\u4e70\u8d39\u7528\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692707\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monetto <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @acrisliu \u90a3\u5c31\u662f\u8bf4\uff0c\u5c31\u6211\u4e2a\u4eba\u800c\u8a00\uff0c\u6211\u4e70\u5b8c\u4e4b\u540e\u5982\u679c\u6ca1\u6709\u5347\u7ea7\u8bc9\u6c42\uff0c\u6211\u5bb6\u91cc\u6240\u6709\u7684\u7535\u8111\u90fd\u53ef\u4ee5\u5b89\u88c5\uff0c\u4ee5\u540e\u6211\u81ea\u5df1\u7528\u5c31\u518d\u4e5f\u4e0d\u7528\u4ed8\u94b1\u4e86\uff1f\uff08\u4e0d\u8fc7\u4ed6\u600e\u4e48\u77e5\u9053\u662f\u6211\u81ea\u5df1\u7528\uff0c\u8fd8\u662f\u6211\u548c\u540c\u4e8b\u4e00\u8d77\u7528&#8230;\uff09                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692708\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : neoblackcap <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @monetto \u541b\u5b50\u534f\u8bae\uff0c\u4e0d\u8fc7\u8bdd\u8bf4\u4ed6\u4eec\u662f\u6709\u4e2d\u56fd\u533a\u7684\u9500\u552e\u7684\u3002\u4f60\u4eec\u516c\u53f8\u5927\u4e00\u70b9\u7684\u8bdd\uff0c\u901a\u8fc7\u9065\u611f\u6280\u672f\uff0c\u5e94\u8be5\u4f1a\u4e0a\u9762\u63a8\u9500\u6216\u8005\u6cd5\u52a1\u53d1\u90ae\u4ef6                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692709\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u76f4\u7528 CE \u7248\u672c\uff0c\u5546\u4e1a\u7248\u672c\u592a\u91cd\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692710\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u4eec\u516c\u53f8\u771f\u725b\u903c\uff0cJava6 \u7528\u5230\u73b0\u5728\u3002<\/p>\n<p>\u6211\u7684\u7684\u7ef4\u62a4\u89c2\u70b9\uff0c\u53ea\u8981\u662f\u516c\u53f8\u9879\u76ee\u8fd8\u6d3b\u7740\uff0c\u4e00\u5f8b\u66f4\u65b0\u5230\u6700\u65b0\u7a33\u5b9a\u7248\u672c\u3002\u9664\u4e86\u90a3\u4e2a\u9879\u76ee\u5b8c\u5168\u653e\u5f03\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692711\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monetto <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hantsy \u662f\u7684\u3002\u4e3b\u8981\u662f CE \u7248\u5b8c\u5168\u5f00\u6e90\u3002\u4e2a\u4eba\u4e5f\u975e\u5e38\u559c\u6b22&#8230;.\u5948\u4f55\u6cbb\u4e0d\u4e86\u5f00\u53d1\u56e2\u961f\u5927&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692712\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 12101111 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u8bf4\u7684\u90fd\u662f\u8f6f\u4ef6 bug, \u5e76\u4e0d\u662f\u529f\u80fd\u533a\u522b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692713\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monetto <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hantsy \u6210\u672c\u592a\u9ad8\u3002\u5750\u6807\u67d0\u7535\u5546\u516c\u53f8&#8230;\u5347\u7ea7\u51fa\u73b0\u95ee\u9898\uff0c\u51fa\u73b0\u635f\u5931\uff0c\u8c01\u4e5f\u627f\u62c5\u4e0d\u8d77\u554a&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692714\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monetto <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @12101111 \u786e\u5b9e&#8230;\u4e0d\u8fc7\u8fd9\u4e48\u4e00\u60f3 IDEA \u7684\u793e\u533a\u7248\u5e76\u6ca1\u6709\u60f3\u8c61\u7684\u90a3\u4e48\u597d\u4e86&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692715\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : TypeError <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             pycharm \u793e\u533a\u7248\u9664\u4e86\u6ca1\u6709\u6570\u636e\u5e93\u548c\u4e00\u4e9b\u6846\u67b6\u652f\u6301\uff0c\u6ca1\u611f\u89c9\u6709\u533a\u522b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692716\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : young1lin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u771f\u7684\u4e0d\u5efa\u8bae\u4f7f\u7528 Lombok\uff0c\u8fd8\u6709 AutoValue\uff0c\u90fd\u662f\u8840\u548c\u6cea\u7684\u6559\u8bad\uff0c\u5185\u7f51\u5f00\u53d1\u3002\u800c\u4e14 Lombok \u751f\u6210\u7684 set\/get \u65b9\u6cd5\u548c IDEA \u624b\u52a8\u751f\u6210\u4e0d\u4e00\u6837\uff0c\u6709\u5de8\u5751\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692717\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monetto <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @TypeError \u6211\u5728\u7528 IDEA \u793e\u533a\u7248\u5f00\u53d1 SpringBoot+Java8 \u7684\u65b0\u9879\u76ee\u7684\u65f6\u5019\u4e5f\u662f\u8fd9\u4e48\u60f3\u7684&#8230;\u914d\u5408 Python \u63d2\u4ef6\u611f\u89c9\u7b80\u76f4\u65e0\u654c&#8230;\u76f4\u5230\u53bb\u4e86\u73b0\u5728\u7684\u516c\u53f8&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692718\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monetto <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @young1lin \u662f\u7684\uff0c\u6211\u4e2a\u4eba\u4e5f\u5f88\u8ba8\u538c\u8fd9\u4e2a&#8230;\u8bf4\u662f\u795e\u5668\u4e0d\u5982\u8bf4\u662f\u81ea\u5df1\u56fe\u65b9\u4fbf\uff0c\u4fb5\u5165\u6027\u592a\u5f3a\uff0c\u4e00\u4e2a\u4eba\u7528\u6574\u4e2a\u56e2\u961f\u90fd\u8981\u88c5\u63d2\u4ef6&#8230;&#8230;\u771f\u60f3\u65b9\u4fbf\u628a\u6240\u6709\u53d8\u91cf\u8bbe\u7f6e\u4e3a Public \u4e0d\u662f\u66f4\u65b9\u4fbf\uff1f\uff08\u72d7\u5934\u4fdd\u547d\uff09\u3002\u6216\u8005\u7528 Python\uff0cPy \u5f00\u53d1\u662f\u771f\u7684\u5feb&#8230;\u53ea\u4e0d\u8fc7\u540e\u671f\u706b\u846c\u573a\u3002\u4e2a\u4eba\u611f\u89c9\u8fd8\u662f\u4e25\u8c28\u70b9\uff0c\u7ea6\u675f\u6027\u5f3a\u70b9\u6bd4\u8f83\u9002\u5408\u56e2\u961f\u5f00\u53d1\uff0c\u66f4\u4f55\u51b5 IDEA \u81ea\u52a8\u751f\u6210 getter \u548c setter \u5c31\u4e00\u952e\u7684\u4e8b\uff0c\u540c\u6837\u5f88\u65b9\u4fbf\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692719\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : echo1937 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @young1lin #12 Lombok \u751f\u6210\u7684 set\/get \u65b9\u6cd5\u548c IDEA \u624b\u52a8\u751f\u6210\u4e0d\u4e00\u6837\uff0c\u6709\u5de8\u5751\u3002 &#8212; \u5177\u4f53\u662f\u6307\u4ec0\u4e48\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692720\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chendy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @echo1937 lombok \u7684 get\/set \u547d\u540d\u5728\u4e00\u4e9b\u7279\u6b8a\u60c5\u51b5\u4e0b\u4e0d\u7b26\u5408 java bean \u7684\u547d\u540d\u89c4\u8303\uff0c\u5370\u8c61\u91cc\u6709\u201c\u540d\u5b57\u7b2c\u4e8c\u4e2a\u5b57\u6bcd\u662f\u5927\u5199\u5b57\u6bcd\u201d\u7684\u60c5\u51b5\uff0c\u603b\u4e4b\u4e0d\u662f\u5f88\u5e38\u89c1\uff0c\u4f46\u662f\u6700\u597d\u77e5\u9053\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692721\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : echo1937 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @chendy #16 \u8fd9\u4e2a\u6211\u77e5\u9053\uff0c\u4f46\u662f\u6211\u4e0d\u89c9\u5f97\u8fd9\u662f lombok \u7684\u95ee\u9898\u3002<\/p>\n<p>\u6bd4\u65b9\u8bf4\uff0c\u7c7b\u4e2d\u6709\u4e2a\u6210\u5458\u53d8\u91cf private String Uname\uff0c\u4f60\u624b\u5199\u7684 getter \u65b9\u6cd5\u80af\u5b9a\u8fd8\u662f getUname()\uff0c<\/p>\n<p>\u6b64\u65f6\u4f7f\u7528 Jackson \u8fdb\u884c\u5e8f\u5217\u5316\uff0c\u4f60\u5f97\u5230\u7684\u9ed8\u8ba4\u7ed3\u679c\u5fc5\u7136\u662f{&#8220;uname&#8221;:&#8221;xxxx&#8221;}\uff0c\u800c\u4e0d\u662f\u4f17\u6240\u671f\u5f85\u7684{&#8220;Uname&#8221;:&#8221;xxxx&#8221;}\uff0c<\/p>\n<p>\u4e5f\u5c31\u662f\u8bf4\uff0c\u5982\u679c\u5b58\u5728\u8fdd\u53cd java bean \u547d\u540d\u89c4\u8303\u7684\u6210\u5458\u53d8\u91cf\uff0c<\/p>\n<p>\u4e0b\u6e38\u4e00\u5927\u5806\u7684\u63d2\u4ef6\uff0c\u5305\u62ec\u4e14\u4e0d\u4ec5\u9650\u4e8e lombok\/Jackson&#8230;\uff0c\u6709\u4e00\u4e2a\u7b97\u4e00\u4e2a\u90fd\u4f1a\u51fa\u95ee\u9898\uff0c<\/p>\n<p>\u6240\u4ee5\u95ee\u9898\u4e0d\u662f\u8fd9\u4e9b\u4e0b\u6e38\u7ec4\u4ef6\u7684\u5751\uff0c\u800c\u662f\u53d8\u91cf\u547d\u540d\u89c4\u8303\u6ca1\u6709\u5f97\u5230\u5f88\u597d\u7684\u9075\u5b88\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692722\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : FreeEx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bf4 Lombok \u6709\u5751\u7684\u5c31\u662f\u81ea\u5df1\u83dc\u602a\u5de5\u5177\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692723\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zmq175 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u516c\u53f8\u5f97\u4e00\u4e2a\u9879\u76ee\u5c31\u662f lombok \u7248\u672c\u53ea\u80fd\u642d\u914d 1.8 \u4f7f\u7528\uff0c\u4e4b\u524d\u88c5\u7684 13 \u5c31\u662f\u4e0d\u517c\u5bb9\u3002\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692724\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : w292614191 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @echo1937 #17 <br \/>\u9996\u5b57\u6bcd\u5927\u5199\uff1f\u4e0d\u51fa\u95ee\u9898\u6709\u9b3c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692725\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kingfalse <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u62d2\u7edd lombok \u662f\u4e2a\u597d\u4e60\u60ef                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692726\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tinyuu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u62d2\u7edd lombok \u662f\u4e2a\u597d\u4e60\u60ef                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692727\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cjh1095358798 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             java \u5c31\u662f\u9ebb\u70e6                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692728\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @chendy \u4e0d\u7b26\u5408\u89c4\u8303\uff0c\u5c31\u5148\u53bb\u505a\u89c4\u8303\u95ee\u9898\u3002<\/p>\n<p>\u4e0d\u80fd\u8bf4\u4e0a\u5395\u6240\u7684\u65f6\u4faf\uff0c\u5c3f\u5230\u88e4\u5b50\u4e0a\u4e86\uff0c\u6700\u540e\u4f60\u7684\u5f52\u7ed3\u7684\u539f\u56e0\u662f\u90a3\u4e2a\u5c3f\u6c60\u505a\u5f97\u4e0d\u884c\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692729\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : young1lin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @echo1937 \u5c31\u662f\u4ed6\u8bf4\u7684\u8fd9\u4e2a\u95ee\u9898\uff0c\u8fd9\u662f\u5176\u4e00\uff0c\u5176\u4e8c\u662f\u5185\u7f51\u5f00\u53d1\uff0c\u4e0d\u7ed9\u4f60\u88c5 Lombok \u63d2\u4ef6\u3002\u7136\u540e\u9879\u76ee\u4e2d\u6709\u4eba\u7528\uff0c\u9879\u76ee\u662f\u5f00\u59cb\u65f6\u662f\u5916\u7f51\u5f00\u53d1\u7684\uff0c\u7136\u540e\u4ece\u5916\u7f51\u4f20\u5230\u5185\u7f51\uff0c\u8f6c\u5230\u5185\u7f51\u5f00\u53d1\u7684\u3002\u6211\u5f97\u4e00\u4e2a\u4e2a\u5220\u4e86 Lombok \u7684\u6ce8\u89e3\uff0c\u7136\u540e\u518d\u641e\u3002\u5176\u4e09\uff0c\u6709\u4e9b\u4eba\u4e0d\u77e5\u9053 @Log4j \u548c @Slf4j \u7684\u533a\u522b\uff0c\u641e\u5f97\u6253\u5370\u65e5\u5fd7\u4e5f\u6709\u95ee\u9898\uff08\u6211\u662f\u5728\u4e1c\u65b9\u8bc1\u5238\u90a3\u770b\u5230\u522b\u4eba\u5185\u7f51\u7528 Lombok \u8fd9\u4e48\u641e\u7684\uff0c\u6211\u548c\u4ed6\u89e3\u91ca\u4e86\u4e24\u4e2a\u7684\u533a\u522b\uff09\u3002<\/p>\n<p>\u603b\u4e4b\uff0cLombok \u8fd9\u4e2a\u201c\u7cd6\u201d\u5f88\u751c\uff0c\u4f46\u5c0f\u5fc3\u751c\u6389\u7259\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692730\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @monetto \u5982\u679c\u79ef\u7d2f\u4e0b\u53bb\uff0c\u4ee5\u540e\u5347\u7ea7\u6210\u672c\u4f1a\u66f4\u9ad8\u3002<\/p>\n<p>\u8fd9\u4e2a\u53ea\u8981\u7528\u4e86 CI\/CD \u7684\u8bdd\uff0c\u5e73\u65f6\u4f9d\u8d56\u73af\u5883\u5347\u7ea7\u4e0d\u662f\u4ec0\u4e48\u96be\u4e8b\uff0c\u6709\u65f6\u5c31\u662f\u5207\u6362\u4e00\u4e0b\u914d\u7f6e\u800c\u5df2\u3002<\/p>\n<p>\u73b0\u5728\u5f88\u96be\u60f3\u50cf Java 6 \u4ee3\u7801\u957f\u4ec0\u4e48\u6837\u5b50\u3002\u4e2a\u4eba\u4e60\u60ef\u4e0a\uff0c\u7279\u522b\u662f\u8bed\u6cd5\u4e0a\u6211\u771f\u4e0d\u9002\u5e94 Java 8 \u4ee5\u524d\u7684\u5566\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692731\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @monetto \u65e2\u7136\u662f\u7535\u5546\uff0c\u4e00\u822c\u90fd\u662f\u70e7\u94b1\u5982\u6d41\u6c34\uff0c\u8fd8\u5728\u7528 Java 6 \u7684\uff0c\u5e94\u8be5\u5df2\u7ecf\u6301\u7eed\u4e86 10 \u5e74\u4e86\uff0c\u4e5f\u4e0d\u4f1a\u7f3a\u5c11\u90a3\u4e48\u70b9\u94b1\u53bb\u4e70 Jetbrains \u5168\u5957\u5546\u4e1a\u534f\u8bae\u5427\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692732\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wr516516 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @young1lin \u62f7\u8d1d\u4e2a\u63d2\u4ef6\u5b89\u88c5\u5305\u79bb\u7ebf\u88c5\u5457                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692733\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Lombok \u5728 IDEA\uff0cEclipse \u4e0b\u90fd\u662f\u9700\u8981\u53e6\u5916\u5b89\u88c5\u63d2\u4ef6\u3002NetBeans \u4e0d\u9700\u8981\u3002<\/p>\n<p>Lombok \u662f\u5229\u7528 JavaC APT \u7279\u6027\u800c\u5df2\uff0c\u4f46\u662f\u5404 IDE \u5728 Java Compiler \u4e0a\u5904\u7406\u4e0d\u4e00\u6837\uff0cNetBeans \u6709\u4e13\u95e8\u7684 Compiler \u6269\u5c55\uff0cEclipse \u6709\u81ea\u5df1 Compiler \u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692734\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wr516516 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6700\u65b0\u7248\u7684 spring \u548c idea \u597d\u50cf\u90fd\u9ed8\u8ba4\u96c6\u6210 lombok \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692735\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Geekerstar <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bf4 Lombok \u6709\u5751\u7684\u5c31\u662f\u81ea\u5df1\u83dc\u602a\u5de5\u5177\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692736\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @young1lin <\/p>\n<p>\u751f\u6210\u7684 Class \u81ea\u5df1\u7684\u53cd\u7f16\u8bd1\u4e00\u4e0b\u5c31\u77e5\u9053\uff0c\u5b83\u5e72\u4e86\u4ec0\u4e48\u4e1c\u897f\uff0c\u518d\u6765\u6bd4\u8f83\u5b83\u7684 Getter\/Setter\uff0c\u96be\u9053\u4f60\u7684 IDE \u751f\u6210\u7684\u5783\u573e Getter \u548c Setter \u8fd8\u80fd\u6709\u4ec0\u4e48\u82b1\u6837\uff1f<\/p>\n<p>\u4e00\u822c\u6765\u8bb2\uff0c\u6211\u7528 Lombok \u662f\u975e\u5e38\u559c\u6b22\u7528\u5b83\u751f\u6210\u7684 Builder\uff0cGetter \u548c Setter \u4ece\u6765\u6ca1\u8c03\u7528\u8fc7\u3002<\/p>\n<p>\u81f3\u4e8e\u66ff\u4ee3\u54c1\uff0c\u6211\u5efa\u8bae\u66f4\u65b0 Java \u7248\u672c\u7528 record \u3002<\/p>\n<p>https:\/\/github.com\/hantsy\/spring-playground\/blob\/master\/programming-models\/webmvc-fn\/src\/main\/java\/com\/example\/demo\/DemoApplication.java#L117<\/p>\n<p>\u6216\u8005\u76f4\u63a5\u4f7f\u7528 Kotlin \u8bed\u8a00\uff0cdata class \u5565\u4e5f\u4e0d\u7528\u5199\u3002<\/p>\n<p>https:\/\/github.com\/hantsy\/spring-playground\/blob\/master\/programming-models\/webflux-ktco-fn\/src\/main\/kotlin\/com\/example\/demo\/DemoApplication.kt#L185                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692737\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pushback <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e3a\u5565\u8981\u4e00\u4e2a\u4e2a\u5220\u6ce8\u89e3\u5462\uff1f\u627e\u540c\u4e8b\u5bfc\u5165 jar \u63d2\u4ef6\u4e0d\u884c\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692738\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : echo1937 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hantsy #29 2020.3 \u7248\u672c\u5f00\u59cb\uff0clombok \u5185\u7f6e\u4e86\uff0c\u4e0d\u9700\u8981\u989d\u5916\u5b89\u88c5<\/p>\n<p>@young1lin #25 \u4f60\u8fd9\u4e2a\u95ee\u9898\uff0c\u662f\u73af\u5883\u95ee\u9898\uff0c\u800c\u975e lombok \u95ee\u9898\uff0c<\/p>\n<p>\u8fd9\u597d\u6bd4\u6211\u4ece Maven \u4e2d\u592e\u4ed3\u5e93\u5f15\u4e86\u4e00\u4e2a\u5305\uff0c\u5230\u4e86\u5185\u7f51\u7684\u79c1\u670d\u6ca1\u8fd9\u4e2a\u5305\u6216\u8005\u6ca1\u6709\u8fd9\u4e2a\u7248\u672c\u7684\uff0c<\/p>\n<p>\u4f60\u7167\u6837\u9700\u8981\u53bb\u4fee\u6539 \/\u5220\u9664\u76f8\u5173\u4ee3\u7801\uff0c\u8fd9\u771f\u4e0d\u80fd\u602a\u8fd9\u4e2a\u5305\uff0c<\/p>\n<p>JDK \u7248\u672c \/\u9879\u76ee\u73af\u5883 \/\u751a\u81f3\u5f00\u53d1\u5de5\u5177\uff0c\u8fd9\u90fd\u5c5e\u4e8e\u5de5\u7a0b\u7ba1\u7406\u95ee\u9898\u3002<\/p>\n<p>\u53e6\u5916\u5c31\u50cf\u521a\u624d\u8bf4\u7684\uff0c2020.3 \u7248\u672c\u5f00\u59cb\uff0c\u4e0d\u9700\u8981\u989d\u5916\u5b89\u88c5 lombok \u63d2\u4ef6\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692739\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @echo1937 \u6211\u7684 IDEA \u597d\u4e45\u6ca1\u91cd\u65b0\u5b89\u88c5\u8fc7\u4e86\uff0c\u4e24\u5e74\u4e86\u4e00\u76f4\u90fd\u662f\u7528 JetBrains Toolbox \u7ba1\u7406\u81ea\u52a8\u66f4\u65b0\u3002\u73b0\u5728\u5185\u7f6e\u4e86 Lombok\uff0c\u8fd9\u4e2a\u771f\u4e0d\u6e05\u695a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692740\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @echo1937 \u73b0\u5728\u770b\u5230\u6709\u4e00\u4e2a Edu \u8ddf CE \u6709\u4ec0\u4e48\u5dee\u522b\uff0cCE+\u90a3\u4e2a Edu \u63d2\u4ef6\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692741\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : libook <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @monetto \u4efb\u4f55\u7591\u95ee\u90fd\u53ef\u4ee5\u95ee JetBrains \u7684\u5ba2\u670d\uff0c\u53ef\u4ee5\u7ed9\u4ed6\u4eec\u53d1\u90ae\u4ef6\u4e5f\u53ef\u4ee5\u53bb Twitter \u4e0a\u827e\u7279\u4ed6\u4eec\u3002<\/p>\n<p>\u6211\u95ee\u8fc7\u4ed6\u4eec\u7684\u5ba2\u670d\uff1a<br \/>1. \u4e2a\u4eba\u7248\u53ef\u4ee5\u7528\u4e8e\u5f00\u53d1\u5546\u4e1a\u9879\u76ee\uff0c\u4f46\u4ec5\u9650\u4e8e\u81ea\u5df1\u4f7f\u7528\u3002<br \/>2. \u4e2a\u4eba\u8bbe\u5907\u5b89\u88c5\u6570\u91cf\u65e0\u9650\u5236\uff0c\u4f46\u662f\u4e0d\u80fd\u540c\u65f6\u5728\u591a\u4e2a\u8bbe\u5907\u4e0a\u4f7f\u7528\u3002\u6211\u7684\u8bbe\u5907\u8d85\u591a\uff0c\u4e14\u4e00\u53f0 PC \u53ef\u80fd\u90fd\u6709\u4e09\u7cfb\u7edf\u73af\u5883\uff0c\u90fd\u88c5\u4e86 IDEA \u767b\u5f55\u4e86\u8d26\u53f7\uff0c\u6ca1\u51fa\u73b0\u8fc7\u88ab\u5c01\u6216\u4e0d\u80fd\u7528\u7684\u60c5\u51b5\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692742\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @wr516516 Spring \u5185\u7f6e\uff1f\u4f60\u662f\u8bf4 Spring Boot \uff1f\u8fd8\u662f Spring \u6838\u5fc3\u6846\u67b6\uff1f Spring \u6838\u5fc3\uff0c\u6211\u4e2a\u4eba\u89c9\u5f97\u53ef\u80fd\u6027\u4e0d\u5927\uff0cSpring \u4e00\u76f4\u5728\u907f\u514d\u7b2c\u4e09\u65b9\u4f9d\u8d56\uff0cSpring 5.0 \u91cd\u65b0\u5199\u4e86\u4e00\u4e2a\u65e5\u5fd7\u62bd\u8c61\uff08 spring-jcl \uff09\u53bb\u6389\u4e86 Apache Commons Logging \u4f9d\u8d56\u3002<\/p>\n<p>\u636e\u6211\u77e5\u9053\uff0cSpring Cloud \u4ece\u4e00\u5f00\u59cb\u5c31\u6dfb\u52a0\u4e86 Lombok \u4f9d\u8d56\u3002Spring Boot\uff0c\u6ca1\u6ce8\u610f\u6700\u65b0\u7248\u672c 2.4 \u7684\u65b0\u7279\u6027\u6709\u8fd9\u4e2a\u8bf4\u660e\uff0c\u4e4b\u524d\u662f\u80af\u5b9a\u6ca1\u6709 Lombok \u4f9d\u8d56\u7684\uff0c\u6211\u4e00\u76f4\u90fd\u662f\u624b\u52a8\u6dfb\u52a0\u4e86\u4f9d\u8d56\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692743\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Hurriance <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528\u8fc7 lombok\uff0c\u4fb5\u5165\u6027\u5f3a\uff0c\u8bf4 lombok \u4e0d\u5751\u7684\u6015\u662f\u6ca1\u6709\u56e0\u4e3a\u8fd9\u4e2a\u51fa\u73b0\u8fc7\u95ee\u9898\uff0c\u51fa\u8fc7\u95ee\u9898\u4f60\u5c31\u77e5\u9053\u591a\u96be\u6392\u67e5\u8fd9\u4e2a\u5751                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692744\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Hurriance Lombok \u662f\u96f6\u5165\u4fb5\u7684\u3002\u4ec5\u4ec5\u662f\u7f16\u8bd1\u65f6\u9700\u8981\uff0c\u8fd0\u884c\u65f6\u6839\u672c\u4e0d\u9700\u8981\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692745\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wbprime <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Lombok \u4f1a\u5728\u7f16\u8bd1\u9636\u6bb5\u4fee\u6539\u7c7b\u7684\u5b57\u8282\u7801\uff0c\u5bfc\u81f4\u5b57\u8282\u7801\u548c Java \u6e90\u7801\u4e0d\u4e00\u81f4\uff1b\u5f00\u53d1\u7684\u65f6\u5019\u662f\u9762\u5411\u5b57\u8282\u7801\u8c03\u7528\u800c\u4e0d\u662f\u9762\u5411\u6e90\u7801\uff1b\u5982\u679c\u80fd\u63a5\u53d7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u76f4\u63a5\u4f7f\u7528 Kotlin \u6216 Groovy \u6765\u4e0e Java \u534f\u540c\u5f00\u53d1\u5462<\/p>\n<p>AutoValue \u5219\u4e0d\u4e00\u6837\uff0c\u9075\u5faa APT \u89c4\u8303\uff0c\u53ea\u4f1a\u751f\u6210\u5b57\u8282\u7801\u800c\u4e0d\u4fee\u6539\u5b57\u8282\u7801\uff1b\u5f00\u53d1\u7684\u65f6\u5019\u8fd8\u662f\u9075\u5faa\u7684 Java \u7684\u9762\u5411\u63a5\u53e3\u5f00\u53d1\u7684\u4f20\u7edf\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692746\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yazinnnn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u5982\u62e5\u62b1 kotlin\uff0c\u62d2\u7edd java                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692747\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : RedBeanIce <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u793e\u533a\u7248\u672c\u7684 idea\uff0c\u597d\u50cf\u65e0\u6cd5\u8fd0\u884c springboot \u9879\u76ee                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692748\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lishen226 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @RedBeanIce \u53ef\u4ee5\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692749\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jzmws <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @young1lin \u771f\u7684\u6ca1\u5fc5\u8981\u53bb\u7701\u4e2a get\/set \u65b9\u6cd5, \u600e\u4e48\u8bf4\u628a\u4ee3\u7801\u66f4\u591a\u662f\u7ed9\u4eba\u770b\u4e86 , \u7528\u6cd5\u4e86 lombok \u770b\u4e0d\u5230 get\/set \u633a\u5947\u602a\u7684.<br \/>\u8fd8\u6709\u5c31\u662f lombok \u662f\u57fa\u4e8e ide \u7684\u8fd9\u4e2a\u5c31\u5f88\u5751\u4e86,\u5176\u4ed6\u4eba\u7528\u5c31\u8981\u5b89\u88c5\u63d2\u4ef6.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692750\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hangszhang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8001\u5b50\u5c31\u662f\u8981\u7528 lombok, \u8001\u5b50\u5c31\u662f\u559c\u6b22                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692751\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @jzmws \u7b2c\u4e00\u6b21\u542c\u8bf4 Lombok \u57fa\u4e8e IDE \u3002\u4e0a\u9762\u90fd\u8bf4\uff0c\u5b83\u662f\u5229\u7528 JavaC APT\uff0c\u53ea\u8981\u6709 JavaC\uff0c\u8131\u79bb IDE, \u4f7f\u7528 Maven\uff0cGradle \u7b49\u5c31\u53ef\u4ee5\u7f16\u8bd1\u7684\u3002<\/p>\n<p>\u800c\u53ea\u6709 NetBeans IDE \u4e00\u5f00\u59cb\u5c31\u662f\u9ed8\u8ba4\u542f\u7528 APT \uff08\u540c\u65f6\u652f\u6301\u6e90\u7801\u5904\u7406\uff0cClasses \u5904\u7406\uff09\uff0c\u5f88\u957f\u4e00\u6bb5\u65f6\u95f4\u6211\u90fd\u662f NetBeans \u5f00\u53d1\uff0c\u6240\u6709\u57fa\u4e8e APT \u7684\u90fd\u662f\u4e0d\u5173\u5fc3\u7684\u3002\u6bd4\u5982 JPA Metamodels\uff0cQueryDSL models\uff0cLombok \u7b49\u5168\u90e8\u652f\u6301\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692752\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @wbprime Lombok \u4fee\u6539 Classes \u8fd9\u79cd\u65b9\u5f0f\u592a\u5e38\u89c1\u4e86\u3002<\/p>\n<p>\u5f88\u65e9\u4ee5\u524d AspectJ Compiler \u4e5f\u652f\u6301 Classes \u5c42\u9762\u7684 Weaving, \u5728 Spring \u4e2d\u53ef\u4ee5\u5b9e\u73b0\u4e00\u4e9b\u975e Spring \u7ba1\u7406\u53ef\u4ee5\u7528\u6ce8\u5165\uff08@Inject\uff0c@Autowired \uff09\u3002<\/p>\n<p>\u51e0\u4e4e\u6240\u6709\u7684 JPA \u5b9e\u73b0\uff0c\u5305\u62ec Hibernate\uff0cEclipseLink \u7b49\uff0c\u90fd\u662f\u53ef\u4ee5\u4f7f\u7528 ByteCode Enchancing \u4ee3\u66ff Runtime Proxy\uff0c\u5b9e\u73b0\u9897\u7c92\u5ea6\u66f4\u7ec6\u7684 Lazy \u64cd\u4f5c\uff0c\u6bd4\u5982 Hibernate \u7528 ByteCode Enchaner \u53ef\u4ee5\u5b9e\u73b0 Property \u7ea7\u522b\u7684 Lazy \u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692753\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6574\u4e2a\u90fd\u662f\u6b6a\u4e86\u3002<\/p>\n<p>Lombok \u53ef\u4ee5\u5e26\u6765\u5f00\u53d1\u4e0a\u6548\u7387\uff0c\u8ba9\u4ee3\u7801\u770b\u8d77\u6765\u66f4\u7b80\u6d01\uff0c\u5728\u6ca1\u6709\u4f7f\u7528 Record \u6216\u8005\u5207\u6362\u5230 Kotlin \u4e4b\u524d\uff0c\u8fd9\u662f\u4e2a\u975e\u5e38\u4e0d\u9519\u7684\u65b9\u6848\u3002<\/p>\n<p>\u81f3\u4e8e\u62b1\u6028\u7f16\u8bd1\u9519\u8bef\u7684\uff0c\u5e94\u8be5\u591a\u627e\u627e\u81ea\u5df1\u7684\u539f\u56e0\u3002\u5982\u679c\u4e00\u4e2a\u56e2\u961f\uff0c\u56e0\u4e3a\u67d0\u4e2a\u4eba\u6ca1\u6709\u5b89\u88c5 Lombok Plugin \u7b49\u4ea7\u751f\u62b1\u6028\uff0c\u591a\u60f3\u60f3\u56e2\u961f\u7ba1\u7406\u65b9\u9762\u7684\u95ee\u9898\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692754\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @RedBeanIce \u53ea\u8981\u662f\u4e2a Java IDE \u90fd\u662f\u53ef\u4ee5\u8fd0\u884c Java Application main \u65b9\u6cd5\u3002VSCode Java pack \u4e5f\u53ef\u4ee5\u8f7b\u677e\u89e3\u51b3\u3002<br \/>\u53e6\u5916 \uff0cCommand CLI\uff0c\u4e0d\u7ba1\u662f Maven \u8fd8\u662f\u7528 Gradle \u4eba\u4eba\u90fd\u662f\u4f1a\u7528\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692755\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jzmws <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hantsy \u5982\u679c\u7528\u4e86 Lombok \u5176\u4ed6\u4eba\u7528 ide \u4fee\u6539\u65f6\u5019\u5c31\u8981\u8981\u5b89\u88c5 Lombok \u63d2\u4ef6<\/p>\n<p>\u8fd9\u4e2a\u4e1c\u897f\u6211\u5728 18 \u5e74\u65f6\u5019\u7528\u8fc7\u4e00\u6b21, \u5176\u4ed6\u540c\u4e8b\u4e0a\u6ca1\u6709 lombok \u63d2\u4ef6\u5bfc\u81f4\u90fd\u662f\u62a5\u9519,\u7136\u540e\u5c31\u4e0d\u7528\u4e86 ,<br \/>\u5bf9\u4e86\u8fd9\u4e2a\u9b3c\u4e1c\u897f\u5728\u505a\u4ee3\u7801\u9759\u626b\u63cf\u4e5f\u662f\u51fa\u9519\u7684.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692756\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jzmws <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hantsy \u6b6a\u4e86,lombok \u8fd9\u4e2a\u4e1c\u897f\u662f\u559c\u6b22\u7684\u4eba\u5bf9\u4ed6\u7231\u4e0d\u91ca\u624b,\u8ba8\u538c\u7684\u4eba\u5bf9\u5b83\u6068\u4e4b\u5165\u9aa8;<\/p>\n<p>\u9996\u5148 Lombok \u505a\u4e86\u4ec0\u4e48\u4e8b\u60c5 ,\u4e0d\u7528\u5199 set\/get\/toStirng \u65b9\u6cd5(set\/get \u7528\u7684\u6700\u591a\u628a,\u5176\u4ed6\u7684\u529f\u80fd\u7528\u5230\u7684\u6bd4\u8f83\u5c11\u628a),\u8fd8\u6709\u5c31\u662f\u65e5\u5fd7,\u662f\u89e3\u51b3\u4e86\u4e00\u5927\u75db\u70b9. \u6240\u4ee5\u6709\u5b83\u5b58\u5728\u7684\u610f\u4e49,\u5c11\u4e86 set\/get \u65e5\u5e38\u5199\u7684 bug \u4e5f\u6e05\u723d\u5e72\u51c0\u591a\u4e86 <\/p>\n<p>\u53e6\u5916\u4e00\u4e2a\u662f \u4ee3\u7801\u66f4\u591a\u65f6\u5019\u662f\u7ed9\u4eba\u770b\u7684,\u5c11\u4e86 get\/set \u4fee\u6539\u65f6\u5019\u4e0d\u591f\u76f4\u89c2(\u8fd9\u4e2a\u4e5f\u7b97\u662f\u81ea\u5df1\u80fd\u529b\u4e0d\u591f) ,\u53e6\u5916\u4e00\u4e2a\u662f\u522b\u4eba\u8981\u770b\u5e26 Lombok \u6ce8\u89e3\u7684\u4ee3\u7801 \u5c31\u8981\u5728 ide \u4e0a\u6309\u7167 Lombok \u63d2\u4ef6(\u4e0a\u8bf4 idea 2020.3 \u81ea\u5e26\u4e86,\u4f01\u4e1a\u4e0a\u7528 \u4e00\u822c\u4e0d\u8f7b\u6613\u5347\u7ea7 idea \u7684,\u5982\u679c\u7528 eclipse \u7684\u5462?) \u7f3a\u5c11\u4e86\u901a\u7528\u6027 . \u53e6\u5916\u7528 ide \u4e0a\u81ea\u52a8\u751f\u6210\u7684 get\/set \u65b9\u6cd5\u4e5f\u662f\u5f88\u65b9\u4fbf. <\/p>\n<p>\u6211\u7684\u770b\u6cd5\u662f lombok \u4f60\u53ef\u4ee5\u7528,\u4f46\u662f\u4e0d\u80fd\u7528\u5728\u5de5\u4f5c\u9879\u76ee\u4e0a, \u6240\u6709\u5de5\u4f5c\u7684\u8981\u4ee5\u7a33\u4e3a\u5148, \u65b0\u7684\u6280\u672f\u4e5f\u8981\u5927\u80c6\u5b66\u4e60\u4f7f\u7528.                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692757\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jzmws <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hantsy <\/p>\n<p>@Hurriance \u8bf4\u7684\u5165\u4fb5\u65f6\u503c\u522b\u4eba\u518d\u7f16\u8bd1\u8fd9\u4efd\u4ee3\u7801\u7684\u65f6\u5019\u628a                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692758\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wbprime <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hantsy \u611f\u89c9\u4f60\u5728\u6df7\u6dc6\u6982\u5ff5\u3002<\/p>\n<p>Lombok \u662f\u5728\u7f16\u8bd1\u671f\u4fee\u6539 AST \u7684\u65b9\u5f0f\u4fee\u6539\u5b57\u8282\u7801\uff0c\u8fd9\u79cd\u884c\u4e3a\u662f\u975e\u9884\u671f\u7684\u4e0d\u5177\u6709\u53ef\u79fb\u690d\u6027\u7684\u3002\u800c\u4e14\u7531\u4e8e getter setter constructor logger \u7b49\u90fd\u662f\u5728\u7f16\u8bd1\u671f\u751f\u6210\u7684\uff0c\u5bfc\u81f4\u7684\u4e00\u4e2a\u73b0\u8c61\u5c31\u662f\u5f00\u53d1\u8005\u5728\u5f00\u53d1\u65f6\u9762\u5411\u60f3\u8c61\u7f16\u7a0b\u7684\uff08\u5c31\u7b97\u5728 IDE \u63d2\u4ef6\u7684\u5e2e\u52a9\u4e0b\u80fd\u81ea\u52a8\u63d0\u793a\uff09\u3002\u6b63\u7ecf\u7684 APT \u7c7b\u7684\u5de5\u5177\u662f\u751f\u6210\u65b0\u7684\u7c7b\uff0c\u4f7f\u7528\u7684\u65f6\u5019\u4e00\u822c\u662f\u901a\u8fc7\u63a5\u53e3\u6216\u7236\u7c7b\u6765\u4f7f\u7528\uff0c\u8fd9\u4e2a\u662f\u7b26\u5408 Java \u5f00\u53d1\u5b9e\u8df5\u7684\u3002<\/p>\n<p>\u800c\u4f60\u6240\u8bf4\u7684 weaving\uff0c\u662f\u5728\u8fd0\u884c\u671f\u7684\u3002\u8fd9\u4e2a\u884c\u4e3a\u4e5f\u662f\u6807\u51c6\u7684\uff0c\u8de8 JDK \u517c\u5bb9\u7684\u3002\u800c\u4e14\u8fd9\u79cd\u8fd0\u884c\u65f6\u4e5f\u5927\u90e8\u5206\u662f\u751f\u6210\u5b57\u8282\u7801\u800c\u4e0d\u662f\u4fee\u6539\u5b57\u8282\u7801\uff0c\u901a\u8fc7 DI \u6765 intercept \u5bf9\u8c61\u521b\u5efa\u8fc7\u7a0b\u3002\u5c11\u91cf\u7684\u4fee\u6539\u5b57\u8282\u7801\u7684\u5de5\u5177\uff0c\u4e00\u822c\u7528\u5728\u6d4b\u8bd5\u4e2d\u3002<\/p>\n<p>\u6211\u4e4b\u6240\u4ee5\u4e0d\u559c\u6b22\u5728 Java \u9879\u76ee\u4e2d\u4f7f\u7528 Lombok\uff0c\u662f\u56e0\u4e3a\u5176\u4f7f\u7528\u4e86\u975e\u6807\u51c6\u5316\u7684\u79c1\u6709\u7684 API\uff0c\u76f8\u5f53\u4e8e\u81ea\u5df1\u5b9e\u73b0\u4e86\u4e00\u4e2a JAVM based language \u7684\u7f16\u8bd1\u5668\uff0c\u5bfc\u81f4\u4ee3\u7801\u4e0d\u7eaf\u6d01\uff1b\u81f3\u4e8e IDE \u4ec0\u4e48\u7684\u5012\u662f\u6b21\u8981\u7684\u3002Lombok \u60f3\u8981\u89e3\u51b3\u7684\u95ee\u9898\u786e\u5b9e\u5b58\u5728\uff0c\u4f46\u662f\u4e5f\u90fd\u6709\u5176\u4ed6\u66ff\u4ee3\u65b9\u6848\uff1aGetter\/Setter\/Builder \u8003\u8651 AutoValue &amp; FreeBuilder \uff1b Log support \u8003\u8651\u4f7f\u7528 Google Flogger \uff1b var \u8003\u8651 JDK 11 \uff1b\u7b49\u7b49\u3002<\/p>\n<p>\u4ee5\u4e0a _^_^_\u3002<\/p>\n<p>\u8865\u5145\uff0clombok \u4e0d\u4ec5\u4ec5\u662f\u4f7f\u7528\u4e86 APT \u6280\u672f\uff0cAPT \u6ca1\u6709\u63d0\u4f9b\u4fee\u6539 AST \u7684\u65b9\u6cd5\uff0clombok \u4f7f\u7528\u4e86 OpenJDK\/Oracle JDK javac \u79c1\u6709\u7684 API\uff0c\u800c\u8fd9\u4e9b API \u4e0d\u4fdd\u8bc1\u517c\u5bb9\u6027\uff0csee &lt;https:\/\/notatube.blogspot.com\/2010\/11\/project-lombok-trick-explained.html&gt;\u3002\u867d\u7136\u5f53\u524d\u7684\u4e3b\u6d41 JDK \u90fd\u662f OpenJDK based\uff0cLombok \u4e5f\u5bf9 OpenJ9 \u505a\u4e86\u9002\u914d\uff0c\u4f46\u662f\u6280\u672f\u7684\u53d1\u5c55\u662f\u96be\u4ee5\u9884\u8ba1\u7684\uff0c\u6ca1\u51c6\u51e0\u5e74\u5185\u6709\u53e6\u5916\u4e00\u4e2a Anti-OpenJDK \u7684\u65b0 JDK \u53d1\u884c\u7248\u9762\u4e16\u4e14\u83b7\u5f97\u4e86\u5de8\u5927\u6210\u529f\u5462\uff08\u8fd9\u5e76\u975e\u4e0d\u53ef\u80fd\u7684\uff0c\u60f3\u60f3 GraalVM \u3002\u3002\u3002\uff09                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692759\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @wbprime AspectJ \u7f16\u8bd1\u65f6\u5904\u7406\uff0c\u8fd9\u4e2a\u6211\u4ee5\u524d\u7684\u7528\u6cd5\uff0chttps:\/\/github.com\/hantsy\/angularjs-springmvc-sample\/blob\/master\/pom.xml#L513<\/p>\n<p>\u8fd9\u662f\u8fd0\u884c\u65f6\uff1f<\/p>\n<p>\u4ee5\u524d Spring \u5b98\u65b9\u7684 Spring Roo \uff08\u5f3a\u4f9d\u8d56 AspectJ \u7f16\u8bd1\u5668\uff09\uff0c\u5982\u679c\u7528\u8fc7\u5c31\u77e5\u9053\u4ec0\u4e48\u53eb\u7f16\u8bd1\u65f6\u5904\u7406\u4e86\u3002\u8fd9\u79cd\u4fee\u6539 Classes \u7684 Bytecode Enchaner \u6280\u672f\u592a\u5e38\u89c1\u4e86\u3002\u6bd4\u5982\uff0cByteMan\uff0cJavaassit \u7b49\u9879\u76ee\u3002<\/p>\n<p>Lombok \u5185\u90e8\u4f7f\u7528\u4e86 APT\uff0c\u8fd8\u505a ByteCode \u4fee\u6539\uff0c\u6211\u4e00\u70b9\u4e5f\u4e0d\u5173\u5fc3\uff0c\u56e0\u4e3a\u5230\u73b0\u5728\u4e3a\u6b62\uff0c\u8fd9\u4e48\u591a\u5e74\u7684\u4f7f\u7528\uff0c\u4ec5\u9047\u5230\u4e00\u6b21\u517c\u5bb9\u6027\u95ee\u9898\uff08\u800c\u4e14 Google \u4e0b\uff0c\u65e9\u5c31\u6709\u7b54\u6848\uff09\u3002\u5bf9\u6211\u7684\u9879\u76ee\uff0c\u6211\u53ea\u5173\u5fc3\u4ee3\u7801\u7b80\u6d01\u4e86\u5f88\u591a\u3002\u5728\u4f60\u9879\u76ee\u6ca1\u4e0a Java 15 \u4ee5\u4e0a\uff0c\u6ca1\u7528\u4e0a Record \u524d\uff0c\u4f60\u8fd8\u9700\u8981\u8fd9\u7c7b\u7684\u8f85\u52a9\u5de5\u5177\u6765\u6e05\u7406\u4ee3\u7801\u3002setter,getters \u5f88\u591a\u65f6\u5019\u90fd\u662f\u6ee1\u8db3\u4e00\u4e9b JavaBean \u89c4\u8303\u7684\u9700\u8981\u3002\u800c\u5728\u5f00\u53d1\u6211\u66f4\u591a\u7684\u662f\u4f7f\u7528\u751f\u6210\u7684 Builder\uff0c\u7528 RequiredArgsConstructor \u53bb\u6389 Constructor\uff0c\u751f\u6210\u9759\u6001\u5de5\u5382 of, Value \u53ea\u8bfb\uff08 Dto \uff09 \u7b49\u3002\u5b83\u5b9e\u5b9e\u5728\u5728\u7684\u7b80\u5316\u6211\u7684\u4ee3\u7801\u3002AutoValue \u80fd\u9ad8\u660e\u4e00\u4e9b\uff1f                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4692760\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f00\u59cb\u7528\u8fd9\u7c7b\u5de5\u5177\u7684\u65f6\u5019\uff0c\u505a\u4e86\u5f88\u591a\u5bf9\u6bd4\uff0c\u9664\u4e86 AutoValue, \u6709\u597d\u51e0\u4e2a\u7c7b\u4f3c\u7684\uff0c<br \/>\u6bd4\u5982 Immutables\uff0chttps:\/\/immutables.github.io\/<\/p>\n<p>Lombok \u529f\u80fd\u6700\u5168\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>IDEA \u793e\u533a\u7248\u548c\u65d7\u8230\u7248\u679c\u7136\u8fd8\u662f\u6709&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/228974"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=228974"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/228974\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=228974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=228974"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=228974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}