{"action":"created","comment":{"url":"https://api.github.com/repos/square/javapoet/pulls/comments/74913238","id":74913238,"diff_hunk":"@@ -269,6 +278,13 @@ public Builder addStatement(String format, Object... args) {\n       return this;\n     }\n \n+    public Builder addStatement(CodeBlock codeBlock) {","path":"src/main/java/com/squareup/javapoet/CodeBlock.java","position":26,"original_position":27,"commit_id":"b183d569444e41137a7355cb5ae330185ef88ae0","original_commit_id":"95521e5f4152bf011cf26a19601a6f78a8e76536","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},"body":"In that case I usually just put the `';\\n'` myself instead of using addStatement.","created_at":"2016-08-16T10:49:59Z","updated_at":"2016-08-16T10:49:59Z","html_url":"https://github.com/square/javapoet/pull/493#discussion_r74913238","pull_request_url":"https://api.github.com/repos/square/javapoet/pulls/493","_links":{"self":{"href":"https://api.github.com/repos/square/javapoet/pulls/comments/74913238"},"html":{"href":"https://github.com/square/javapoet/pull/493#discussion_r74913238"},"pull_request":{"href":"https://api.github.com/repos/square/javapoet/pulls/493"}}},"pull_request":{"url":"https://api.github.com/repos/square/javapoet/pulls/493","id":81437096,"html_url":"https://github.com/square/javapoet/pull/493","diff_url":"https://github.com/square/javapoet/pull/493.diff","patch_url":"https://github.com/square/javapoet/pull/493.patch","issue_url":"https://api.github.com/repos/square/javapoet/issues/493","number":493,"state":"open","locked":false,"title":"Add the possibility to use CodeBlock in format and adding statement of CodeBlock","user":{"login":"lundibundi","id":9109612,"avatar_url":"https://avatars.githubusercontent.com/u/9109612?v=3","gravatar_id":"","url":"https://api.github.com/users/lundibundi","html_url":"https://github.com/lundibundi","followers_url":"https://api.github.com/users/lundibundi/followers","following_url":"https://api.github.com/users/lundibundi/following{/other_user}","gists_url":"https://api.github.com/users/lundibundi/gists{/gist_id}","starred_url":"https://api.github.com/users/lundibundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lundibundi/subscriptions","organizations_url":"https://api.github.com/users/lundibundi/orgs","repos_url":"https://api.github.com/users/lundibundi/repos","events_url":"https://api.github.com/users/lundibundi/events{/privacy}","received_events_url":"https://api.github.com/users/lundibundi/received_events","type":"User","site_admin":false},"body":"Just a few convenience changes that greatly helped me in my project, I've not encountered any problems with them. \r\nP.s. It's possible that I've missed something as I'm not very familiar with javapoet's codebase, so please point them out and I'll try to solve them.","created_at":"2016-08-16T09:04:19Z","updated_at":"2016-08-16T10:49:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35c4aef13ddc00006562013ca627a65df9733ce0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/square/javapoet/pulls/493/commits","review_comments_url":"https://api.github.com/repos/square/javapoet/pulls/493/comments","review_comment_url":"https://api.github.com/repos/square/javapoet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/square/javapoet/issues/493/comments","statuses_url":"https://api.github.com/repos/square/javapoet/statuses/b183d569444e41137a7355cb5ae330185ef88ae0","head":{"label":"lundibundi:master","ref":"master","sha":"b183d569444e41137a7355cb5ae330185ef88ae0","user":{"login":"lundibundi","id":9109612,"avatar_url":"https://avatars.githubusercontent.com/u/9109612?v=3","gravatar_id":"","url":"https://api.github.com/users/lundibundi","html_url":"https://github.com/lundibundi","followers_url":"https://api.github.com/users/lundibundi/followers","following_url":"https://api.github.com/users/lundibundi/following{/other_user}","gists_url":"https://api.github.com/users/lundibundi/gists{/gist_id}","starred_url":"https://api.github.com/users/lundibundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lundibundi/subscriptions","organizations_url":"https://api.github.com/users/lundibundi/orgs","repos_url":"https://api.github.com/users/lundibundi/repos","events_url":"https://api.github.com/users/lundibundi/events{/privacy}","received_events_url":"https://api.github.com/users/lundibundi/received_events","type":"User","site_admin":false},"repo":{"id":65626950,"name":"javapoet","full_name":"lundibundi/javapoet","owner":{"login":"lundibundi","id":9109612,"avatar_url":"https://avatars.githubusercontent.com/u/9109612?v=3","gravatar_id":"","url":"https://api.github.com/users/lundibundi","html_url":"https://github.com/lundibundi","followers_url":"https://api.github.com/users/lundibundi/followers","following_url":"https://api.github.com/users/lundibundi/following{/other_user}","gists_url":"https://api.github.com/users/lundibundi/gists{/gist_id}","starred_url":"https://api.github.com/users/lundibundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lundibundi/subscriptions","organizations_url":"https://api.github.com/users/lundibundi/orgs","repos_url":"https://api.github.com/users/lundibundi/repos","events_url":"https://api.github.com/users/lundibundi/events{/privacy}","received_events_url":"https://api.github.com/users/lundibundi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lundibundi/javapoet","description":"A Java API for generating .java source files.","fork":true,"url":"https://api.github.com/repos/lundibundi/javapoet","forks_url":"https://api.github.com/repos/lundibundi/javapoet/forks","keys_url":"https://api.github.com/repos/lundibundi/javapoet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lundibundi/javapoet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lundibundi/javapoet/teams","hooks_url":"https://api.github.com/repos/lundibundi/javapoet/hooks","issue_events_url":"https://api.github.com/repos/lundibundi/javapoet/issues/events{/number}","events_url":"https://api.github.com/repos/lundibundi/javapoet/events","assignees_url":"https://api.github.com/repos/lundibundi/javapoet/assignees{/user}","branches_url":"https://api.github.com/repos/lundibundi/javapoet/branches{/branch}","tags_url":"https://api.github.com/repos/lundibundi/javapoet/tags","blobs_url":"https://api.github.com/repos/lundibundi/javapoet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lundibundi/javapoet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lundibundi/javapoet/git/refs{/sha}","trees_url":"https://api.github.com/repos/lundibundi/javapoet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lundibundi/javapoet/statuses/{sha}","languages_url":"https://api.github.com/repos/lundibundi/javapoet/languages","stargazers_url":"https://api.github.com/repos/lundibundi/javapoet/stargazers","contributors_url":"https://api.github.com/repos/lundibundi/javapoet/contributors","subscribers_url":"https://api.github.com/repos/lundibundi/javapoet/subscribers","subscription_url":"https://api.github.com/repos/lundibundi/javapoet/subscription","commits_url":"https://api.github.com/repos/lundibundi/javapoet/commits{/sha}","git_commits_url":"https://api.github.com/repos/lundibundi/javapoet/git/commits{/sha}","comments_url":"https://api.github.com/repos/lundibundi/javapoet/comments{/number}","issue_comment_url":"https://api.github.com/repos/lundibundi/javapoet/issues/comments{/number}","contents_url":"https://api.github.com/repos/lundibundi/javapoet/contents/{+path}","compare_url":"https://api.github.com/repos/lundibundi/javapoet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lundibundi/javapoet/merges","archive_url":"https://api.github.com/repos/lundibundi/javapoet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lundibundi/javapoet/downloads","issues_url":"https://api.github.com/repos/lundibundi/javapoet/issues{/number}","pulls_url":"https://api.github.com/repos/lundibundi/javapoet/pulls{/number}","milestones_url":"https://api.github.com/repos/lundibundi/javapoet/milestones{/number}","notifications_url":"https://api.github.com/repos/lundibundi/javapoet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lundibundi/javapoet/labels{/name}","releases_url":"https://api.github.com/repos/lundibundi/javapoet/releases{/id}","deployments_url":"https://api.github.com/repos/lundibundi/javapoet/deployments","created_at":"2016-08-13T16:41:09Z","updated_at":"2016-08-13T16:41:10Z","pushed_at":"2016-08-16T10:41:24Z","git_url":"git://github.com/lundibundi/javapoet.git","ssh_url":"git@github.com:lundibundi/javapoet.git","clone_url":"https://github.com/lundibundi/javapoet.git","svn_url":"https://github.com/lundibundi/javapoet","homepage":"","size":1477,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"square:master","ref":"master","sha":"40e4c3a2bb288853ba9cbdcf300674552e26140b","user":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"repo":{"id":7961991,"name":"javapoet","full_name":"square/javapoet","owner":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/square/javapoet","description":"A Java API for generating .java source files.","fork":false,"url":"https://api.github.com/repos/square/javapoet","forks_url":"https://api.github.com/repos/square/javapoet/forks","keys_url":"https://api.github.com/repos/square/javapoet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/square/javapoet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/square/javapoet/teams","hooks_url":"https://api.github.com/repos/square/javapoet/hooks","issue_events_url":"https://api.github.com/repos/square/javapoet/issues/events{/number}","events_url":"https://api.github.com/repos/square/javapoet/events","assignees_url":"https://api.github.com/repos/square/javapoet/assignees{/user}","branches_url":"https://api.github.com/repos/square/javapoet/branches{/branch}","tags_url":"https://api.github.com/repos/square/javapoet/tags","blobs_url":"https://api.github.com/repos/square/javapoet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/square/javapoet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/square/javapoet/git/refs{/sha}","trees_url":"https://api.github.com/repos/square/javapoet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/square/javapoet/statuses/{sha}","languages_url":"https://api.github.com/repos/square/javapoet/languages","stargazers_url":"https://api.github.com/repos/square/javapoet/stargazers","contributors_url":"https://api.github.com/repos/square/javapoet/contributors","subscribers_url":"https://api.github.com/repos/square/javapoet/subscribers","subscription_url":"https://api.github.com/repos/square/javapoet/subscription","commits_url":"https://api.github.com/repos/square/javapoet/commits{/sha}","git_commits_url":"https://api.github.com/repos/square/javapoet/git/commits{/sha}","comments_url":"https://api.github.com/repos/square/javapoet/comments{/number}","issue_comment_url":"https://api.github.com/repos/square/javapoet/issues/comments{/number}","contents_url":"https://api.github.com/repos/square/javapoet/contents/{+path}","compare_url":"https://api.github.com/repos/square/javapoet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/square/javapoet/merges","archive_url":"https://api.github.com/repos/square/javapoet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/square/javapoet/downloads","issues_url":"https://api.github.com/repos/square/javapoet/issues{/number}","pulls_url":"https://api.github.com/repos/square/javapoet/pulls{/number}","milestones_url":"https://api.github.com/repos/square/javapoet/milestones{/number}","notifications_url":"https://api.github.com/repos/square/javapoet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/square/javapoet/labels{/name}","releases_url":"https://api.github.com/repos/square/javapoet/releases{/id}","deployments_url":"https://api.github.com/repos/square/javapoet/deployments","created_at":"2013-02-01T16:56:30Z","updated_at":"2016-08-16T10:35:56Z","pushed_at":"2016-08-16T10:41:24Z","git_url":"git://github.com/square/javapoet.git","ssh_url":"git@github.com:square/javapoet.git","clone_url":"https://github.com/square/javapoet.git","svn_url":"https://github.com/square/javapoet","homepage":"","size":2126,"stargazers_count":2243,"watchers_count":2243,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":334,"mirror_url":null,"open_issues_count":30,"forks":334,"open_issues":30,"watchers":2243,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/square/javapoet/pulls/493"},"html":{"href":"https://github.com/square/javapoet/pull/493"},"issue":{"href":"https://api.github.com/repos/square/javapoet/issues/493"},"comments":{"href":"https://api.github.com/repos/square/javapoet/issues/493/comments"},"review_comments":{"href":"https://api.github.com/repos/square/javapoet/pulls/493/comments"},"review_comment":{"href":"https://api.github.com/repos/square/javapoet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/square/javapoet/pulls/493/commits"},"statuses":{"href":"https://api.github.com/repos/square/javapoet/statuses/b183d569444e41137a7355cb5ae330185ef88ae0"}}}}
{"actor":{"display_login":"kenzierocks"}}