{"id":896,"date":"2023-03-03T00:54:30","date_gmt":"2023-03-02T16:54:30","guid":{"rendered":"https:\/\/explause.com\/?p=896"},"modified":"2023-03-03T00:54:30","modified_gmt":"2023-03-02T16:54:30","slug":"eclipse-ide%e6%b7%bb%e5%8a%a0lombok%e6%8f%92%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/devdoge.org\/?p=896","title":{"rendered":"Eclipse IDE\u6dfb\u52a0Lombok\u63d2\u4ef6"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u4f7f\u7528lombok\u53ef\u4ee5\u4e3aPOJO\u7c7b\u81ea\u52a8\u751f\u6210getter\u3001setter\u3001builder\u3001log\u3001hashCode\u548ctoString\u7b49\u4ee3\u7801\u3002<br>\u867d\u7136\u53ef\u4ee5\u901a\u8fc7\u8fd0\u884clombok\u7684jar\u6587\u4ef6\u81ea\u52a8\u4fee\u6539\u914d\u7f6e\uff0c\u4f46\u662f\u6dfb\u52a0\u7684\u914d\u7f6e\u662f\u7edd\u5bf9\u8def\u5f84\u7684\uff0c\u5f53Eclipse\u7684\u5b89\u88c5\u6587\u4ef6\u5939\u79fb\u52a8\u65f6\u5c31\u4f1a\u5931\u6548\u3002\u53ea\u8981\u6539\u6210\u76f8\u5bf9\u8def\u5f84\u5c31\u884c\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u4e0b\u8f7dlombok<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/mvnrepository.com\/artifact\/org.projectlombok\/lombok\">\u5148\u53bbmaven repository\u4e0b\u8f7dLombok\u7684jar\u6587\u4ef6<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"503\" src=\"https:\/\/explause.com\/wp-content\/uploads\/2023\/03\/lombok-1024x503.png\" alt=\"\" class=\"wp-image-897\" srcset=\"https:\/\/devdoge.org\/wp-content\/uploads\/2023\/03\/lombok-1024x503.png 1024w, https:\/\/devdoge.org\/wp-content\/uploads\/2023\/03\/lombok-300x147.png 300w, https:\/\/devdoge.org\/wp-content\/uploads\/2023\/03\/lombok-768x378.png 768w, https:\/\/devdoge.org\/wp-content\/uploads\/2023\/03\/lombok.png 1497w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u7248\u672c\u9009\u6700\u65b0\u7684\u5c31\u884c\uff0c\u70b9\u51fb\u7248\u672c\u53f7\u53ef\u8fdb\u5165\u4e0b\u8f7d\u9875\u9762\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"423\" src=\"https:\/\/explause.com\/wp-content\/uploads\/2023\/03\/download-1024x423.png\" alt=\"\" class=\"wp-image-898\" srcset=\"https:\/\/devdoge.org\/wp-content\/uploads\/2023\/03\/download-1024x423.png 1024w, https:\/\/devdoge.org\/wp-content\/uploads\/2023\/03\/download-300x124.png 300w, https:\/\/devdoge.org\/wp-content\/uploads\/2023\/03\/download-768x318.png 768w, https:\/\/devdoge.org\/wp-content\/uploads\/2023\/03\/download.png 1178w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">\u70b9\u51fbjar\u5373\u53ef\u4e0b\u8f7djar\u6587\u4ef6\u3002<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fdb\u5165Eclipse IDE\u7684\u5b89\u88c5\u6587\u4ef6\u5939\uff0c\u7136\u540e\u5c06\u4e0b\u8f7d\u7684\u6587\u4ef6\u590d\u5236\u8fdb\u6765\u5e76\u91cd\u547d\u540d\u4e3alombok.jar\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/explause.com\/wp-content\/uploads\/2023\/03\/directory.png\" alt=\"\" class=\"wp-image-900\" width=\"318\" height=\"261\" srcset=\"https:\/\/devdoge.org\/wp-content\/uploads\/2023\/03\/directory.png 443w, https:\/\/devdoge.org\/wp-content\/uploads\/2023\/03\/directory-300x247.png 300w\" sizes=\"auto, (max-width: 318px) 100vw, 318px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u4fee\u6539Eclipse IDE\u914d\u7f6e\u6587\u4ef6<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u7528\u6587\u672c\u7f16\u8f91\u5de5\u5177\uff08\u8bb0\u4e8b\u672c\u6216\u8005visual studio code\uff09\u6253\u5f00<strong><em>eclipse.ini<\/em><\/strong>\u6587\u4ef6\uff0c\u5e76\u5728\u6587\u4ef6\u672b\u5c3e\u6dfb\u52a0\u4e0b\u9762\u7684\u4ee3\u7801\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-javaagent:lombok.jar<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u4e0b\u5c55\u793a\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"598\" height=\"566\" src=\"https:\/\/explause.com\/wp-content\/uploads\/2023\/03\/config.png\" alt=\"\" class=\"wp-image-901\" srcset=\"https:\/\/devdoge.org\/wp-content\/uploads\/2023\/03\/config.png 598w, https:\/\/devdoge.org\/wp-content\/uploads\/2023\/03\/config-300x284.png 300w\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4fdd\u5b58\u5173\u95ed\uff0c\u7136\u540e\u6253\u5f00Eclipse IDE\uff0c\u5982\u679c\u6210\u529f\u8fdb\u5165\uff0c\u5c31\u5728\u83dc\u5355\u680f\u70b9\u51fb<strong>Help<\/strong>\uff0c\u7136\u540e\u9009<strong>About Eclipse IDE<\/strong>\uff0c\u627e\u5230\u6700\u4e0b\u9762\uff0c\u5982\u679c\u6709lombok\u5b57\u6837\u5c31\u8bc1\u660e\u5b89\u88c5\u6210\u529f\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/explause.com\/wp-content\/uploads\/2023\/03\/about.png\" alt=\"\" class=\"wp-image-902\" width=\"523\" height=\"334\" srcset=\"https:\/\/devdoge.org\/wp-content\/uploads\/2023\/03\/about.png 760w, https:\/\/devdoge.org\/wp-content\/uploads\/2023\/03\/about-300x192.png 300w\" sizes=\"auto, (max-width: 523px) 100vw, 523px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528lombok\u63d2\u4ef6\u51cf\u5c11\u5927\u91cf\u91cd\u590d\u7684\u4ee3\u7801\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[11],"class_list":["post-896","post","type-post","status-publish","format-standard","hentry","category-springboot","tag-eclipse"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/devdoge.org\/index.php?rest_route=\/wp\/v2\/posts\/896","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devdoge.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devdoge.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devdoge.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devdoge.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=896"}],"version-history":[{"count":2,"href":"https:\/\/devdoge.org\/index.php?rest_route=\/wp\/v2\/posts\/896\/revisions"}],"predecessor-version":[{"id":903,"href":"https:\/\/devdoge.org\/index.php?rest_route=\/wp\/v2\/posts\/896\/revisions\/903"}],"wp:attachment":[{"href":"https:\/\/devdoge.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=896"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devdoge.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=896"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devdoge.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}