{"action":"created","issue":{"url":"https://api.github.com/repos/square/javapoet/issues/243","labels_url":"https://api.github.com/repos/square/javapoet/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/square/javapoet/issues/243/comments","events_url":"https://api.github.com/repos/square/javapoet/issues/243/events","html_url":"https://github.com/square/javapoet/pull/243","id":60118925,"number":243,"title":"Rename toBuilder() to builder().","user":{"login":"swankjesse","id":133019,"avatar_url":"https://avatars.githubusercontent.com/u/133019?v=3","gravatar_id":"","url":"https://api.github.com/users/swankjesse","html_url":"https://github.com/swankjesse","followers_url":"https://api.github.com/users/swankjesse/followers","following_url":"https://api.github.com/users/swankjesse/following{/other_user}","gists_url":"https://api.github.com/users/swankjesse/gists{/gist_id}","starred_url":"https://api.github.com/users/swankjesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swankjesse/subscriptions","organizations_url":"https://api.github.com/users/swankjesse/orgs","repos_url":"https://api.github.com/users/swankjesse/repos","events_url":"https://api.github.com/users/swankjesse/events{/privacy}","received_events_url":"https://api.github.com/users/swankjesse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-06T15:50:34Z","updated_at":"2015-03-06T15:56:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/square/javapoet/pulls/243","html_url":"https://github.com/square/javapoet/pull/243","diff_url":"https://github.com/square/javapoet/pull/243.diff","patch_url":"https://github.com/square/javapoet/pull/243.patch"},"body":"I had a small insight: the only place where the static builder()\r\nmethod conflicted with the non-static builder() method was in\r\nCodeBlock. That class is composable: it's just as easy to create\r\na new code block, and call add(), as it is to convert an existing\r\ncode block into a builder. So we don't need the toBuilder() method\r\nthere anyway."},"comment":{"url":"https://api.github.com/repos/square/javapoet/issues/comments/77582081","html_url":"https://github.com/square/javapoet/pull/243#issuecomment-77582081","issue_url":"https://api.github.com/repos/square/javapoet/issues/243","id":77582081,"user":{"login":"kenzierocks","id":2093023,"avatar_url":"https://avatars.githubusercontent.com/u/2093023?v=3","gravatar_id":"","url":"https://api.github.com/users/kenzierocks","html_url":"https://github.com/kenzierocks","followers_url":"https://api.github.com/users/kenzierocks/followers","following_url":"https://api.github.com/users/kenzierocks/following{/other_user}","gists_url":"https://api.github.com/users/kenzierocks/gists{/gist_id}","starred_url":"https://api.github.com/users/kenzierocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenzierocks/subscriptions","organizations_url":"https://api.github.com/users/kenzierocks/orgs","repos_url":"https://api.github.com/users/kenzierocks/repos","events_url":"https://api.github.com/users/kenzierocks/events{/privacy}","received_events_url":"https://api.github.com/users/kenzierocks/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T15:56:59Z","updated_at":"2015-03-06T15:56:59Z","body":"Yea, that works. Good thinking!"}}