{"action":"created","comment":{"url":"https://api.github.com/repos/scala-ide/scala-search/pulls/comments/47754820","id":47754820,"diff_hunk":"@@ -67,16 +68,18 @@ object OccurrenceCollector extends HasLogger {\n           // Method definitions\n           case DefDef(mods, name, _, args, _, body) if !isSynthetic(pc)(t) =>\n             occurrences += mkOccurrence(name.decodedName.toString, Declaration)\n+            ci =  t.pos.point :: ci\n             traverseTrees(mods.annotations)\n             traverseTreess(args)\n             traverse(body)\n-\n+            ci= ci.tail\n           // Val's and arguments.\n           case ValDef(_, name, tpt, rhs) =>\n             occurrences += mkOccurrence(name.decodedName.toString, Declaration)\n+            ci =  t.pos.point :: ci\n             traverse(tpt)\n             traverse(rhs)\n-\n+            ci= ci.tail","path":"org.scala.tools.eclipse.search/src/org/scala/tools/eclipse/search/indexing/OccurrenceCollector.scala","position":30,"original_position":30,"commit_id":"067ed7600a82e5c6ba2ef7e58298b591a18797d1","original_commit_id":"067ed7600a82e5c6ba2ef7e58298b591a18797d1","user":{"login":"sschaef","id":488530,"avatar_url":"https://avatars.githubusercontent.com/u/488530?v=3","gravatar_id":"","url":"https://api.github.com/users/sschaef","html_url":"https://github.com/sschaef","followers_url":"https://api.github.com/users/sschaef/followers","following_url":"https://api.github.com/users/sschaef/following{/other_user}","gists_url":"https://api.github.com/users/sschaef/gists{/gist_id}","starred_url":"https://api.github.com/users/sschaef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sschaef/subscriptions","organizations_url":"https://api.github.com/users/sschaef/orgs","repos_url":"https://api.github.com/users/sschaef/repos","events_url":"https://api.github.com/users/sschaef/events{/privacy}","received_events_url":"https://api.github.com/users/sschaef/received_events","type":"User","site_admin":false},"body":"missing space before `=`","created_at":"2015-12-16T09:45:38Z","updated_at":"2015-12-16T09:45:38Z","html_url":"https://github.com/scala-ide/scala-search/pull/111#discussion_r47754820","pull_request_url":"https://api.github.com/repos/scala-ide/scala-search/pulls/111","_links":{"self":{"href":"https://api.github.com/repos/scala-ide/scala-search/pulls/comments/47754820"},"html":{"href":"https://github.com/scala-ide/scala-search/pull/111#discussion_r47754820"},"pull_request":{"href":"https://api.github.com/repos/scala-ide/scala-search/pulls/111"}}},"pull_request":{"url":"https://api.github.com/repos/scala-ide/scala-search/pulls/111","id":53803550,"html_url":"https://github.com/scala-ide/scala-search/pull/111","diff_url":"https://github.com/scala-ide/scala-search/pull/111.diff","patch_url":"https://github.com/scala-ide/scala-search/pull/111.patch","issue_url":"https://api.github.com/repos/scala-ide/scala-search/issues/111","number":111,"state":"open","locked":false,"title":"create Call Hierarchy View.","user":{"login":"andrey-ilinykh","id":6088292,"avatar_url":"https://avatars.githubusercontent.com/u/6088292?v=3","gravatar_id":"","url":"https://api.github.com/users/andrey-ilinykh","html_url":"https://github.com/andrey-ilinykh","followers_url":"https://api.github.com/users/andrey-ilinykh/followers","following_url":"https://api.github.com/users/andrey-ilinykh/following{/other_user}","gists_url":"https://api.github.com/users/andrey-ilinykh/gists{/gist_id}","starred_url":"https://api.github.com/users/andrey-ilinykh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrey-ilinykh/subscriptions","organizations_url":"https://api.github.com/users/andrey-ilinykh/orgs","repos_url":"https://api.github.com/users/andrey-ilinykh/repos","events_url":"https://api.github.com/users/andrey-ilinykh/events{/privacy}","received_events_url":"https://api.github.com/users/andrey-ilinykh/received_events","type":"User","site_admin":false},"body":"It is written o the top of Find Occurrences  API. One field (caller offset) is added to lucent index. This field is used to build the  hierarchy.\r\n\r\nFix #1000872\r\n","created_at":"2015-12-16T06:20:12Z","updated_at":"2015-12-16T09:45:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75ad5c374c808bfb7f285d96b17ca0e41f20d12a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scala-ide/scala-search/pulls/111/commits","review_comments_url":"https://api.github.com/repos/scala-ide/scala-search/pulls/111/comments","review_comment_url":"https://api.github.com/repos/scala-ide/scala-search/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scala-ide/scala-search/issues/111/comments","statuses_url":"https://api.github.com/repos/scala-ide/scala-search/statuses/067ed7600a82e5c6ba2ef7e58298b591a18797d1","head":{"label":"andrey-ilinykh:issue/add-call-hierarchy-1000872","ref":"issue/add-call-hierarchy-1000872","sha":"067ed7600a82e5c6ba2ef7e58298b591a18797d1","user":{"login":"andrey-ilinykh","id":6088292,"avatar_url":"https://avatars.githubusercontent.com/u/6088292?v=3","gravatar_id":"","url":"https://api.github.com/users/andrey-ilinykh","html_url":"https://github.com/andrey-ilinykh","followers_url":"https://api.github.com/users/andrey-ilinykh/followers","following_url":"https://api.github.com/users/andrey-ilinykh/following{/other_user}","gists_url":"https://api.github.com/users/andrey-ilinykh/gists{/gist_id}","starred_url":"https://api.github.com/users/andrey-ilinykh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrey-ilinykh/subscriptions","organizations_url":"https://api.github.com/users/andrey-ilinykh/orgs","repos_url":"https://api.github.com/users/andrey-ilinykh/repos","events_url":"https://api.github.com/users/andrey-ilinykh/events{/privacy}","received_events_url":"https://api.github.com/users/andrey-ilinykh/received_events","type":"User","site_admin":false},"repo":{"id":46248176,"name":"scala-search","full_name":"andrey-ilinykh/scala-search","owner":{"login":"andrey-ilinykh","id":6088292,"avatar_url":"https://avatars.githubusercontent.com/u/6088292?v=3","gravatar_id":"","url":"https://api.github.com/users/andrey-ilinykh","html_url":"https://github.com/andrey-ilinykh","followers_url":"https://api.github.com/users/andrey-ilinykh/followers","following_url":"https://api.github.com/users/andrey-ilinykh/following{/other_user}","gists_url":"https://api.github.com/users/andrey-ilinykh/gists{/gist_id}","starred_url":"https://api.github.com/users/andrey-ilinykh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrey-ilinykh/subscriptions","organizations_url":"https://api.github.com/users/andrey-ilinykh/orgs","repos_url":"https://api.github.com/users/andrey-ilinykh/repos","events_url":"https://api.github.com/users/andrey-ilinykh/events{/privacy}","received_events_url":"https://api.github.com/users/andrey-ilinykh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrey-ilinykh/scala-search","description":"Next Scala Search Engine","fork":true,"url":"https://api.github.com/repos/andrey-ilinykh/scala-search","forks_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/forks","keys_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/teams","hooks_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/hooks","issue_events_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/issues/events{/number}","events_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/events","assignees_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/assignees{/user}","branches_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/branches{/branch}","tags_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/tags","blobs_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/statuses/{sha}","languages_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/languages","stargazers_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/stargazers","contributors_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/contributors","subscribers_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/subscribers","subscription_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/subscription","commits_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/contents/{+path}","compare_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/merges","archive_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/downloads","issues_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/issues{/number}","pulls_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/pulls{/number}","milestones_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/milestones{/number}","notifications_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/labels{/name}","releases_url":"https://api.github.com/repos/andrey-ilinykh/scala-search/releases{/id}","created_at":"2015-11-16T02:51:35Z","updated_at":"2015-11-16T02:51:36Z","pushed_at":"2015-12-16T06:17:26Z","git_url":"git://github.com/andrey-ilinykh/scala-search.git","ssh_url":"git@github.com:andrey-ilinykh/scala-search.git","clone_url":"https://github.com/andrey-ilinykh/scala-search.git","svn_url":"https://github.com/andrey-ilinykh/scala-search","homepage":null,"size":411,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"scala-ide:master","ref":"master","sha":"65fd3c0cd2eb5a24f587b9caf1fa8914a913929e","user":{"login":"scala-ide","id":1026788,"avatar_url":"https://avatars.githubusercontent.com/u/1026788?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-ide","html_url":"https://github.com/scala-ide","followers_url":"https://api.github.com/users/scala-ide/followers","following_url":"https://api.github.com/users/scala-ide/following{/other_user}","gists_url":"https://api.github.com/users/scala-ide/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-ide/subscriptions","organizations_url":"https://api.github.com/users/scala-ide/orgs","repos_url":"https://api.github.com/users/scala-ide/repos","events_url":"https://api.github.com/users/scala-ide/events{/privacy}","received_events_url":"https://api.github.com/users/scala-ide/received_events","type":"Organization","site_admin":false},"repo":{"id":6561760,"name":"scala-search","full_name":"scala-ide/scala-search","owner":{"login":"scala-ide","id":1026788,"avatar_url":"https://avatars.githubusercontent.com/u/1026788?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-ide","html_url":"https://github.com/scala-ide","followers_url":"https://api.github.com/users/scala-ide/followers","following_url":"https://api.github.com/users/scala-ide/following{/other_user}","gists_url":"https://api.github.com/users/scala-ide/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-ide/subscriptions","organizations_url":"https://api.github.com/users/scala-ide/orgs","repos_url":"https://api.github.com/users/scala-ide/repos","events_url":"https://api.github.com/users/scala-ide/events{/privacy}","received_events_url":"https://api.github.com/users/scala-ide/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scala-ide/scala-search","description":"Next Scala Search Engine","fork":false,"url":"https://api.github.com/repos/scala-ide/scala-search","forks_url":"https://api.github.com/repos/scala-ide/scala-search/forks","keys_url":"https://api.github.com/repos/scala-ide/scala-search/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scala-ide/scala-search/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scala-ide/scala-search/teams","hooks_url":"https://api.github.com/repos/scala-ide/scala-search/hooks","issue_events_url":"https://api.github.com/repos/scala-ide/scala-search/issues/events{/number}","events_url":"https://api.github.com/repos/scala-ide/scala-search/events","assignees_url":"https://api.github.com/repos/scala-ide/scala-search/assignees{/user}","branches_url":"https://api.github.com/repos/scala-ide/scala-search/branches{/branch}","tags_url":"https://api.github.com/repos/scala-ide/scala-search/tags","blobs_url":"https://api.github.com/repos/scala-ide/scala-search/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scala-ide/scala-search/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scala-ide/scala-search/git/refs{/sha}","trees_url":"https://api.github.com/repos/scala-ide/scala-search/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scala-ide/scala-search/statuses/{sha}","languages_url":"https://api.github.com/repos/scala-ide/scala-search/languages","stargazers_url":"https://api.github.com/repos/scala-ide/scala-search/stargazers","contributors_url":"https://api.github.com/repos/scala-ide/scala-search/contributors","subscribers_url":"https://api.github.com/repos/scala-ide/scala-search/subscribers","subscription_url":"https://api.github.com/repos/scala-ide/scala-search/subscription","commits_url":"https://api.github.com/repos/scala-ide/scala-search/commits{/sha}","git_commits_url":"https://api.github.com/repos/scala-ide/scala-search/git/commits{/sha}","comments_url":"https://api.github.com/repos/scala-ide/scala-search/comments{/number}","issue_comment_url":"https://api.github.com/repos/scala-ide/scala-search/issues/comments{/number}","contents_url":"https://api.github.com/repos/scala-ide/scala-search/contents/{+path}","compare_url":"https://api.github.com/repos/scala-ide/scala-search/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scala-ide/scala-search/merges","archive_url":"https://api.github.com/repos/scala-ide/scala-search/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scala-ide/scala-search/downloads","issues_url":"https://api.github.com/repos/scala-ide/scala-search/issues{/number}","pulls_url":"https://api.github.com/repos/scala-ide/scala-search/pulls{/number}","milestones_url":"https://api.github.com/repos/scala-ide/scala-search/milestones{/number}","notifications_url":"https://api.github.com/repos/scala-ide/scala-search/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scala-ide/scala-search/labels{/name}","releases_url":"https://api.github.com/repos/scala-ide/scala-search/releases{/id}","created_at":"2012-11-06T12:33:36Z","updated_at":"2015-06-04T12:23:52Z","pushed_at":"2015-12-16T06:20:12Z","git_url":"git://github.com/scala-ide/scala-search.git","ssh_url":"git@github.com:scala-ide/scala-search.git","clone_url":"https://github.com/scala-ide/scala-search.git","svn_url":"https://github.com/scala-ide/scala-search","homepage":null,"size":508,"stargazers_count":5,"watchers_count":5,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":3,"forks":10,"open_issues":3,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scala-ide/scala-search/pulls/111"},"html":{"href":"https://github.com/scala-ide/scala-search/pull/111"},"issue":{"href":"https://api.github.com/repos/scala-ide/scala-search/issues/111"},"comments":{"href":"https://api.github.com/repos/scala-ide/scala-search/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/scala-ide/scala-search/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/scala-ide/scala-search/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scala-ide/scala-search/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/scala-ide/scala-search/statuses/067ed7600a82e5c6ba2ef7e58298b591a18797d1"}}}}