{"id":1673,"date":"2013-01-30T10:15:22","date_gmt":"2013-01-30T08:15:22","guid":{"rendered":"http:\/\/www.tutego.de\/blog\/javainsel\/?p=1673"},"modified":"2013-01-30T10:15:22","modified_gmt":"2013-01-30T08:15:22","slug":"doch-erst-mal-keine-privaten-interface-methoden","status":"publish","type":"post","link":"https:\/\/www.tutego.de\/blog\/javainsel\/2013\/01\/doch-erst-mal-keine-privaten-interface-methoden\/","title":{"rendered":"Doch erst mal keine privaten Interface-Methoden"},"content":{"rendered":"<p>So schreibt Brian Goetz:<\/p>\n<pre>&gt;<i> We would like to pull back two small features from the JSR-335 feature plan:\n<\/i>&gt;<i>\n<\/i>&gt;<i>  - private methods in interfaces\n<\/i>&gt;<i>  - &quot;package modifier&quot; for package-private visibility\n<\/i>&gt;<i>\n<\/i>&gt;<i> The primary reason is resourcing; cutting some small and inessential\n<\/i>&gt;<i> features made room for deeper work on more important things like type\n<\/i>&gt;<i> inference (on which we've made some big improvements lately!)  Private\n<\/i>&gt;<i> methods are also an incomplete feature; we'd like the full set of\n<\/i>&gt;<i> visibilities, and limiting to public\/private was already a compromise based\n<\/i>&gt;<i> on what we thought we could get done in the timeframe we had.  But it would\n<\/i>&gt;<i> still be a rough edge that protected\/package were missing.\n<\/i>&gt;<i>\n<\/i>&gt;<i> The second feature, while trivial (though nothing is really trivial), loses\n<\/i>&gt;<i> a lot of justification without at least a move towards the full set of\n<\/i>&gt;<i> accessibilities.  As it stands, it is pretty far afield of lambda, nothing\n<\/i>&gt;<i> else depends on it, and not doing it now does not preclude doing it later.\n<\/i>&gt;<i> (The only remaining connection to lambda is accelerating the death of the\n<\/i>&gt;<i> phrase &quot;default visibility&quot; to avoid confusion with default methods.)\n<\/i>&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>So schreibt Brian Goetz: &gt; We would like to pull back two small features from the JSR-335 feature plan: &gt; &gt; &#8211; private methods in interfaces &gt; &#8211; &quot;package modifier&quot; for package-private visibility &gt; &gt; The primary reason is resourcing; cutting some small and inessential &gt; features made room for deeper work on more important [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[66],"tags":[],"class_list":["post-1673","post","type-post","status-publish","format-standard","hentry","category-java-8"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/posts\/1673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/comments?post=1673"}],"version-history":[{"count":0,"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/posts\/1673\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/media?parent=1673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/categories?post=1673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/tags?post=1673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}