{"action":"created","comment":{"url":"https://api.github.com/repos/square/wire/pulls/comments/42929128","id":42929128,"diff_hunk":"@@ -301,14 +314,72 @@ public Location redact(Location value) {\n      */\n     public final List<Integer> span;\n \n-    public Location(List<Integer> path, List<Integer> span) {\n-      this(path, span, ByteString.EMPTY);\n+    /**\n+     * If this SourceCodeInfo represents a complete declaration, these are any\n+     * comments appearing before and after the declaration which appear to be\n+     * attached to the declaration.\n+     *\n+     * A series of line comments appearing on consecutive lines, with no other\n+     * tokens appearing on those lines, will be treated as a single comment.\n+     *\n+     * leading_detached_comments will keep paragraphs of comments that appear\n+     * before (but not connected to) the current element. Each paragraph,\n+     * separated by empty lines, will be one comment element in the repeated\n+     * field.\n+     *\n+     * Only the comment content is provided; comment markers (e.g. //) are\n+     * stripped out.  For block comments, leading whitespace and an asterisk\n+     * will be stripped from the beginning of each line other than the first.\n+     * Newlines are included in the output.\n+     *\n+     * Examples:\n+     *\n+     *   optional int32 foo = 1;  // Comment attached to foo.\n+     *   // Comment attached to bar.\n+     *   optional int32 bar = 2;\n+     *\n+     *   optional string baz = 3;\n+     *   // Comment attached to baz.\n+     *   // Another line attached to baz.\n+     *\n+     *   // Comment attached to qux.\n+     *   //\n+     *   // Another line attached to qux.\n+     *   optional double qux = 4;\n+     *\n+     *   // Detached comment for corge. This is not leading or trailing comments\n+     *   // to qux or corge because there are blank lines separating it from\n+     *   // both.\n+     *\n+     *   // Detached comment for corge paragraph 2.\n+     *\n+     *   optional string corge = 5;\n+     *   /* Block comment attached\n+     *    * to corge.  Leading asterisks\n+     *    * will be removed. *_/","path":"wire-runtime/src/test/proto-java/com/google/protobuf/SourceCodeInfo.java","position":96,"original_position":96,"commit_id":"de6c96169db2315b5db5fc9aa311e527616db956","original_commit_id":"de6c96169db2315b5db5fc9aa311e527616db956","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},"body":"`*_/`","created_at":"2015-10-24T02:40:42Z","updated_at":"2015-10-24T02:40:42Z","html_url":"https://github.com/square/wire/pull/505#discussion_r42929128","pull_request_url":"https://api.github.com/repos/square/wire/pulls/505","_links":{"self":{"href":"https://api.github.com/repos/square/wire/pulls/comments/42929128"},"html":{"href":"https://github.com/square/wire/pull/505#discussion_r42929128"},"pull_request":{"href":"https://api.github.com/repos/square/wire/pulls/505"}}},"pull_request":{"url":"https://api.github.com/repos/square/wire/pulls/505","id":48646889,"html_url":"https://github.com/square/wire/pull/505","diff_url":"https://github.com/square/wire/pull/505.diff","patch_url":"https://github.com/square/wire/pull/505.patch","issue_url":"https://api.github.com/repos/square/wire/issues/505","number":505,"state":"open","locked":false,"title":"Fix JavaGenerator to cleanly emit the latest descriptor.proto.","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},"body":"We'd been relying on an old descriptor.proto. The new one has a problem with the\r\ncomment delimiter. The fix is ugly, but I can't find anything neater.","created_at":"2015-10-24T02:37:26Z","updated_at":"2015-10-24T02:40:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ea6dbd67c061e667f541d191c3e257408deed19","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/square/wire/pulls/505/commits","review_comments_url":"https://api.github.com/repos/square/wire/pulls/505/comments","review_comment_url":"https://api.github.com/repos/square/wire/pulls/comments{/number}","comments_url":"https://api.github.com/repos/square/wire/issues/505/comments","statuses_url":"https://api.github.com/repos/square/wire/statuses/de6c96169db2315b5db5fc9aa311e527616db956","head":{"label":"square:jwilson_1023_latest_descriptor","ref":"jwilson_1023_latest_descriptor","sha":"de6c96169db2315b5db5fc9aa311e527616db956","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":12274147,"name":"wire","full_name":"square/wire","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/wire","description":"Clean, lightweight protocol buffers for Android and Java.","fork":false,"url":"https://api.github.com/repos/square/wire","forks_url":"https://api.github.com/repos/square/wire/forks","keys_url":"https://api.github.com/repos/square/wire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/square/wire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/square/wire/teams","hooks_url":"https://api.github.com/repos/square/wire/hooks","issue_events_url":"https://api.github.com/repos/square/wire/issues/events{/number}","events_url":"https://api.github.com/repos/square/wire/events","assignees_url":"https://api.github.com/repos/square/wire/assignees{/user}","branches_url":"https://api.github.com/repos/square/wire/branches{/branch}","tags_url":"https://api.github.com/repos/square/wire/tags","blobs_url":"https://api.github.com/repos/square/wire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/square/wire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/square/wire/git/refs{/sha}","trees_url":"https://api.github.com/repos/square/wire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/square/wire/statuses/{sha}","languages_url":"https://api.github.com/repos/square/wire/languages","stargazers_url":"https://api.github.com/repos/square/wire/stargazers","contributors_url":"https://api.github.com/repos/square/wire/contributors","subscribers_url":"https://api.github.com/repos/square/wire/subscribers","subscription_url":"https://api.github.com/repos/square/wire/subscription","commits_url":"https://api.github.com/repos/square/wire/commits{/sha}","git_commits_url":"https://api.github.com/repos/square/wire/git/commits{/sha}","comments_url":"https://api.github.com/repos/square/wire/comments{/number}","issue_comment_url":"https://api.github.com/repos/square/wire/issues/comments{/number}","contents_url":"https://api.github.com/repos/square/wire/contents/{+path}","compare_url":"https://api.github.com/repos/square/wire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/square/wire/merges","archive_url":"https://api.github.com/repos/square/wire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/square/wire/downloads","issues_url":"https://api.github.com/repos/square/wire/issues{/number}","pulls_url":"https://api.github.com/repos/square/wire/pulls{/number}","milestones_url":"https://api.github.com/repos/square/wire/milestones{/number}","notifications_url":"https://api.github.com/repos/square/wire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/square/wire/labels{/name}","releases_url":"https://api.github.com/repos/square/wire/releases{/id}","created_at":"2013-08-21T15:45:47Z","updated_at":"2015-10-23T03:20:35Z","pushed_at":"2015-10-24T02:37:28Z","git_url":"git://github.com/square/wire.git","ssh_url":"git@github.com:square/wire.git","clone_url":"https://github.com/square/wire.git","svn_url":"https://github.com/square/wire","homepage":"","size":8480,"stargazers_count":990,"watchers_count":990,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":154,"mirror_url":null,"open_issues_count":22,"forks":154,"open_issues":22,"watchers":990,"default_branch":"master"}},"base":{"label":"square:master","ref":"master","sha":"e5507198611ac815d50eea3b38c7240de78fde17","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":12274147,"name":"wire","full_name":"square/wire","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/wire","description":"Clean, lightweight protocol buffers for Android and Java.","fork":false,"url":"https://api.github.com/repos/square/wire","forks_url":"https://api.github.com/repos/square/wire/forks","keys_url":"https://api.github.com/repos/square/wire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/square/wire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/square/wire/teams","hooks_url":"https://api.github.com/repos/square/wire/hooks","issue_events_url":"https://api.github.com/repos/square/wire/issues/events{/number}","events_url":"https://api.github.com/repos/square/wire/events","assignees_url":"https://api.github.com/repos/square/wire/assignees{/user}","branches_url":"https://api.github.com/repos/square/wire/branches{/branch}","tags_url":"https://api.github.com/repos/square/wire/tags","blobs_url":"https://api.github.com/repos/square/wire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/square/wire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/square/wire/git/refs{/sha}","trees_url":"https://api.github.com/repos/square/wire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/square/wire/statuses/{sha}","languages_url":"https://api.github.com/repos/square/wire/languages","stargazers_url":"https://api.github.com/repos/square/wire/stargazers","contributors_url":"https://api.github.com/repos/square/wire/contributors","subscribers_url":"https://api.github.com/repos/square/wire/subscribers","subscription_url":"https://api.github.com/repos/square/wire/subscription","commits_url":"https://api.github.com/repos/square/wire/commits{/sha}","git_commits_url":"https://api.github.com/repos/square/wire/git/commits{/sha}","comments_url":"https://api.github.com/repos/square/wire/comments{/number}","issue_comment_url":"https://api.github.com/repos/square/wire/issues/comments{/number}","contents_url":"https://api.github.com/repos/square/wire/contents/{+path}","compare_url":"https://api.github.com/repos/square/wire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/square/wire/merges","archive_url":"https://api.github.com/repos/square/wire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/square/wire/downloads","issues_url":"https://api.github.com/repos/square/wire/issues{/number}","pulls_url":"https://api.github.com/repos/square/wire/pulls{/number}","milestones_url":"https://api.github.com/repos/square/wire/milestones{/number}","notifications_url":"https://api.github.com/repos/square/wire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/square/wire/labels{/name}","releases_url":"https://api.github.com/repos/square/wire/releases{/id}","created_at":"2013-08-21T15:45:47Z","updated_at":"2015-10-23T03:20:35Z","pushed_at":"2015-10-24T02:37:28Z","git_url":"git://github.com/square/wire.git","ssh_url":"git@github.com:square/wire.git","clone_url":"https://github.com/square/wire.git","svn_url":"https://github.com/square/wire","homepage":"","size":8480,"stargazers_count":990,"watchers_count":990,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":154,"mirror_url":null,"open_issues_count":22,"forks":154,"open_issues":22,"watchers":990,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/square/wire/pulls/505"},"html":{"href":"https://github.com/square/wire/pull/505"},"issue":{"href":"https://api.github.com/repos/square/wire/issues/505"},"comments":{"href":"https://api.github.com/repos/square/wire/issues/505/comments"},"review_comments":{"href":"https://api.github.com/repos/square/wire/pulls/505/comments"},"review_comment":{"href":"https://api.github.com/repos/square/wire/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/square/wire/pulls/505/commits"},"statuses":{"href":"https://api.github.com/repos/square/wire/statuses/de6c96169db2315b5db5fc9aa311e527616db956"}}}}