{"id":106,"date":"2008-07-29T23:17:01","date_gmt":"2008-07-30T04:17:01","guid":{"rendered":"http:\/\/www.efsavage.com\/blog\/?p=106"},"modified":"2008-07-29T23:17:01","modified_gmt":"2008-07-30T04:17:01","slug":"missing_java_annotations","status":"publish","type":"post","link":"https:\/\/efsavage.com\/blog\/posts\/missing_java_annotations\/","title":{"rendered":"Missing Java Annotations"},"content":{"rendered":"<p><strong>@SelfExplanatory<\/strong> &#8211; I&#8217;d love to be able to turn on JavaDoc warnings in Eclipse, but I can&#8217;t.  Why?  Because 90% + of the code is self explanatory.  Do I really need to see that getName() &#8220;Returns the name&#8221;, or that setName(String name) has the utter audacity to &#8220;Set the name&#8221;?  No, I don&#8217;t.  Put a @SelfExplanatory and JavaDoc can create these braindead comments without cluttering up my code, while Eclipse can reserve its warnings for the more interesting methods.<\/p>\n<p><strong>@NotNull<\/strong> &#8211; Other languages may have solved or avoided this problem, but I&#8217;d like to be able to dictate that a variable can be set to anything except null, and also that a method will never return null.  It would just save so many headaches (of the onerous Runtime variety, no less), as well as lots of &#8220;if (foo == null)&#8221;&#8230;<\/p>\n<p>The ulterior purpose of this post is to test the upgrade to WordPress 2.6.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>@SelfExplanatory &#8211; I&#8217;d love to be able to turn on JavaDoc warnings in Eclipse, but I can&#8217;t. Why? Because 90% + of the code is self explanatory. Do I really need to see that getName() &#8220;Returns the name&#8221;, or that setName(String name) has the utter audacity to &#8220;Set the name&#8221;? No, I don&#8217;t. Put a&hellip; <\/p>\n<p class=\"simppeli-read-more\"><a href=\"https:\/\/efsavage.com\/blog\/posts\/missing_java_annotations\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Missing Java Annotations<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[53,5,3],"tags":[],"series":[],"class_list":["post-106","post","type-post","status-publish","format-standard","hentry","category-ideas","category-java","category-software"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1AkJt-1I","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/efsavage.com\/blog\/wp-json\/wp\/v2\/posts\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/efsavage.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/efsavage.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/efsavage.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/efsavage.com\/blog\/wp-json\/wp\/v2\/comments?post=106"}],"version-history":[{"count":1,"href":"https:\/\/efsavage.com\/blog\/wp-json\/wp\/v2\/posts\/106\/revisions"}],"predecessor-version":[{"id":114,"href":"https:\/\/efsavage.com\/blog\/wp-json\/wp\/v2\/posts\/106\/revisions\/114"}],"wp:attachment":[{"href":"https:\/\/efsavage.com\/blog\/wp-json\/wp\/v2\/media?parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/efsavage.com\/blog\/wp-json\/wp\/v2\/categories?post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/efsavage.com\/blog\/wp-json\/wp\/v2\/tags?post=106"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/efsavage.com\/blog\/wp-json\/wp\/v2\/series?post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}