{"action":"created","issue":{"url":"https://api.github.com/repos/square/javapoet/issues/480","repository_url":"https://api.github.com/repos/square/javapoet","labels_url":"https://api.github.com/repos/square/javapoet/issues/480/labels{/name}","comments_url":"https://api.github.com/repos/square/javapoet/issues/480/comments","events_url":"https://api.github.com/repos/square/javapoet/issues/480/events","html_url":"https://github.com/square/javapoet/issues/480","id":166974805,"number":480,"title":"MethodSpec.overriding() for interface's default methods","user":{"login":"yevhen13","id":15789095,"avatar_url":"https://avatars.githubusercontent.com/u/15789095?v=3","gravatar_id":"","url":"https://api.github.com/users/yevhen13","html_url":"https://github.com/yevhen13","followers_url":"https://api.github.com/users/yevhen13/followers","following_url":"https://api.github.com/users/yevhen13/following{/other_user}","gists_url":"https://api.github.com/users/yevhen13/gists{/gist_id}","starred_url":"https://api.github.com/users/yevhen13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yevhen13/subscriptions","organizations_url":"https://api.github.com/users/yevhen13/orgs","repos_url":"https://api.github.com/users/yevhen13/repos","events_url":"https://api.github.com/users/yevhen13/events{/privacy}","received_events_url":"https://api.github.com/users/yevhen13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-22T05:51:29Z","updated_at":"2016-07-22T06:14:24Z","closed_at":null,"body":"... is not always usable.\r\n\r\n'default' modifier is being (automatically) copied to the destination MethodSpec.Builder, and there is no way to remove it afterwards.\r\n\r\nTherefore, if destination class is not an interface itself, then [_all hope is lost_](https://github.com/yevhen13/JFwdClassGen/issues/10)."},"comment":{"url":"https://api.github.com/repos/square/javapoet/issues/comments/234463059","html_url":"https://github.com/square/javapoet/issues/480#issuecomment-234463059","issue_url":"https://api.github.com/repos/square/javapoet/issues/480","id":234463059,"user":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T06:14:24Z","updated_at":"2016-07-22T06:14:24Z","body":"Default should be removed by this method. This is a trivial change. I can\nsend a PR tomorrow unless someone beats me to it.\n\nOn Fri, Jul 22, 2016, 2:02 AM Yevhen Bondarenko <notifications@github.com>\nwrote:\n\n> It seems like there should be a way of either:\n>\n>    - removing the modifier from the MethodSpec.Builder - e.g.\n>    *MethodSpec.Builder.removeModifier(modifier)*;\n>    - or *somehow* dropping the modifier in MethodSpec.overriding().\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/square/javapoet/issues/480#issuecomment-234461650>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AAEEEdrJQvgLfODGnoZhfkfBJqVfGwxiks5qYF0NgaJpZM4JSdbg>\n> .\n>\n"}}
{"actor":{"display_login":"JakeWharton"}}