{"action":"created","comment":{"url":"https://api.github.com/repos/INRIA/spoon/pulls/comments/45312150","id":45312150,"diff_hunk":"@@ -63,12 +63,10 @@\n \n \t@Override\n \tpublic <T> void visitCtInvocation(CtInvocation<T> invocation) {\n-\t\t// For a ctinvocation, we don't have to import declaring type\n \t\tenter(invocation);\n \t\tscan(invocation.getAnnotations());\n \t\tscanReferences(invocation.getTypeCasts());\n \t\tscan(invocation.getTarget());\n-\t\tscan(invocation.getExecutable());","path":"src/main/java/spoon/reflect/visitor/ImportScannerImpl.java","position":9,"original_position":9,"commit_id":"adc117b47e33dc22eb094c4bc1dc51bb5ae03b53","original_commit_id":"adc117b47e33dc22eb094c4bc1dc51bb5ae03b53","user":{"login":"tdurieux","id":5577568,"avatar_url":"https://avatars.githubusercontent.com/u/5577568?v=3","gravatar_id":"","url":"https://api.github.com/users/tdurieux","html_url":"https://github.com/tdurieux","followers_url":"https://api.github.com/users/tdurieux/followers","following_url":"https://api.github.com/users/tdurieux/following{/other_user}","gists_url":"https://api.github.com/users/tdurieux/gists{/gist_id}","starred_url":"https://api.github.com/users/tdurieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdurieux/subscriptions","organizations_url":"https://api.github.com/users/tdurieux/orgs","repos_url":"https://api.github.com/users/tdurieux/repos","events_url":"https://api.github.com/users/tdurieux/events{/privacy}","received_events_url":"https://api.github.com/users/tdurieux/received_events","type":"User","site_admin":false},"body":"I already try to remove this line but some time this line is required.\r\nI don't remember in which case (may be in static call).","created_at":"2015-11-19T08:19:57Z","updated_at":"2015-11-19T08:19:57Z","html_url":"https://github.com/INRIA/spoon/pull/414#discussion_r45312150","pull_request_url":"https://api.github.com/repos/INRIA/spoon/pulls/414","_links":{"self":{"href":"https://api.github.com/repos/INRIA/spoon/pulls/comments/45312150"},"html":{"href":"https://github.com/INRIA/spoon/pull/414#discussion_r45312150"},"pull_request":{"href":"https://api.github.com/repos/INRIA/spoon/pulls/414"}}},"pull_request":{"url":"https://api.github.com/repos/INRIA/spoon/pulls/414","id":51128489,"html_url":"https://github.com/INRIA/spoon/pull/414","diff_url":"https://github.com/INRIA/spoon/pull/414.diff","patch_url":"https://github.com/INRIA/spoon/pull/414.patch","issue_url":"https://api.github.com/repos/INRIA/spoon/issues/414","number":414,"state":"open","locked":false,"title":"Fix a bug in ImportScannerImpl.visitCtInvocation","user":{"login":"leventov","id":609240,"avatar_url":"https://avatars.githubusercontent.com/u/609240?v=3","gravatar_id":"","url":"https://api.github.com/users/leventov","html_url":"https://github.com/leventov","followers_url":"https://api.github.com/users/leventov/followers","following_url":"https://api.github.com/users/leventov/following{/other_user}","gists_url":"https://api.github.com/users/leventov/gists{/gist_id}","starred_url":"https://api.github.com/users/leventov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leventov/subscriptions","organizations_url":"https://api.github.com/users/leventov/orgs","repos_url":"https://api.github.com/users/leventov/repos","events_url":"https://api.github.com/users/leventov/events{/privacy}","received_events_url":"https://api.github.com/users/leventov/received_events","type":"User","site_admin":false},"body":"shouldn't import invoked method declaration classes","created_at":"2015-11-18T19:17:21Z","updated_at":"2015-11-19T08:19:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a02fbc28e121af721b3f71c20e7ff49d5f2e5ff0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/INRIA/spoon/pulls/414/commits","review_comments_url":"https://api.github.com/repos/INRIA/spoon/pulls/414/comments","review_comment_url":"https://api.github.com/repos/INRIA/spoon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/INRIA/spoon/issues/414/comments","statuses_url":"https://api.github.com/repos/INRIA/spoon/statuses/adc117b47e33dc22eb094c4bc1dc51bb5ae03b53","head":{"label":"leventov:spoon_master","ref":"spoon_master","sha":"adc117b47e33dc22eb094c4bc1dc51bb5ae03b53","user":{"login":"leventov","id":609240,"avatar_url":"https://avatars.githubusercontent.com/u/609240?v=3","gravatar_id":"","url":"https://api.github.com/users/leventov","html_url":"https://github.com/leventov","followers_url":"https://api.github.com/users/leventov/followers","following_url":"https://api.github.com/users/leventov/following{/other_user}","gists_url":"https://api.github.com/users/leventov/gists{/gist_id}","starred_url":"https://api.github.com/users/leventov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leventov/subscriptions","organizations_url":"https://api.github.com/users/leventov/orgs","repos_url":"https://api.github.com/users/leventov/repos","events_url":"https://api.github.com/users/leventov/events{/privacy}","received_events_url":"https://api.github.com/users/leventov/received_events","type":"User","site_admin":false},"repo":{"id":35324947,"name":"spoon","full_name":"leventov/spoon","owner":{"login":"leventov","id":609240,"avatar_url":"https://avatars.githubusercontent.com/u/609240?v=3","gravatar_id":"","url":"https://api.github.com/users/leventov","html_url":"https://github.com/leventov","followers_url":"https://api.github.com/users/leventov/followers","following_url":"https://api.github.com/users/leventov/following{/other_user}","gists_url":"https://api.github.com/users/leventov/gists{/gist_id}","starred_url":"https://api.github.com/users/leventov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leventov/subscriptions","organizations_url":"https://api.github.com/users/leventov/orgs","repos_url":"https://api.github.com/users/leventov/repos","events_url":"https://api.github.com/users/leventov/events{/privacy}","received_events_url":"https://api.github.com/users/leventov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leventov/spoon","description":"Spoon is a library for analyzing and transforming Java source code.","fork":true,"url":"https://api.github.com/repos/leventov/spoon","forks_url":"https://api.github.com/repos/leventov/spoon/forks","keys_url":"https://api.github.com/repos/leventov/spoon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leventov/spoon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leventov/spoon/teams","hooks_url":"https://api.github.com/repos/leventov/spoon/hooks","issue_events_url":"https://api.github.com/repos/leventov/spoon/issues/events{/number}","events_url":"https://api.github.com/repos/leventov/spoon/events","assignees_url":"https://api.github.com/repos/leventov/spoon/assignees{/user}","branches_url":"https://api.github.com/repos/leventov/spoon/branches{/branch}","tags_url":"https://api.github.com/repos/leventov/spoon/tags","blobs_url":"https://api.github.com/repos/leventov/spoon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leventov/spoon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leventov/spoon/git/refs{/sha}","trees_url":"https://api.github.com/repos/leventov/spoon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leventov/spoon/statuses/{sha}","languages_url":"https://api.github.com/repos/leventov/spoon/languages","stargazers_url":"https://api.github.com/repos/leventov/spoon/stargazers","contributors_url":"https://api.github.com/repos/leventov/spoon/contributors","subscribers_url":"https://api.github.com/repos/leventov/spoon/subscribers","subscription_url":"https://api.github.com/repos/leventov/spoon/subscription","commits_url":"https://api.github.com/repos/leventov/spoon/commits{/sha}","git_commits_url":"https://api.github.com/repos/leventov/spoon/git/commits{/sha}","comments_url":"https://api.github.com/repos/leventov/spoon/comments{/number}","issue_comment_url":"https://api.github.com/repos/leventov/spoon/issues/comments{/number}","contents_url":"https://api.github.com/repos/leventov/spoon/contents/{+path}","compare_url":"https://api.github.com/repos/leventov/spoon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leventov/spoon/merges","archive_url":"https://api.github.com/repos/leventov/spoon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leventov/spoon/downloads","issues_url":"https://api.github.com/repos/leventov/spoon/issues{/number}","pulls_url":"https://api.github.com/repos/leventov/spoon/pulls{/number}","milestones_url":"https://api.github.com/repos/leventov/spoon/milestones{/number}","notifications_url":"https://api.github.com/repos/leventov/spoon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leventov/spoon/labels{/name}","releases_url":"https://api.github.com/repos/leventov/spoon/releases{/id}","created_at":"2015-05-09T10:43:42Z","updated_at":"2015-05-09T10:43:44Z","pushed_at":"2015-11-18T19:16:39Z","git_url":"git://github.com/leventov/spoon.git","ssh_url":"git@github.com:leventov/spoon.git","clone_url":"https://github.com/leventov/spoon.git","svn_url":"https://github.com/leventov/spoon","homepage":"http://spoon.gforge.inria.fr/","size":8588,"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":"INRIA:master","ref":"master","sha":"631bc6c10a42cf1a88af81b40c5f0f4ad9b6fa3e","user":{"login":"INRIA","id":2951919,"avatar_url":"https://avatars.githubusercontent.com/u/2951919?v=3","gravatar_id":"","url":"https://api.github.com/users/INRIA","html_url":"https://github.com/INRIA","followers_url":"https://api.github.com/users/INRIA/followers","following_url":"https://api.github.com/users/INRIA/following{/other_user}","gists_url":"https://api.github.com/users/INRIA/gists{/gist_id}","starred_url":"https://api.github.com/users/INRIA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/INRIA/subscriptions","organizations_url":"https://api.github.com/users/INRIA/orgs","repos_url":"https://api.github.com/users/INRIA/repos","events_url":"https://api.github.com/users/INRIA/events{/privacy}","received_events_url":"https://api.github.com/users/INRIA/received_events","type":"Organization","site_admin":false},"repo":{"id":14176513,"name":"spoon","full_name":"INRIA/spoon","owner":{"login":"INRIA","id":2951919,"avatar_url":"https://avatars.githubusercontent.com/u/2951919?v=3","gravatar_id":"","url":"https://api.github.com/users/INRIA","html_url":"https://github.com/INRIA","followers_url":"https://api.github.com/users/INRIA/followers","following_url":"https://api.github.com/users/INRIA/following{/other_user}","gists_url":"https://api.github.com/users/INRIA/gists{/gist_id}","starred_url":"https://api.github.com/users/INRIA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/INRIA/subscriptions","organizations_url":"https://api.github.com/users/INRIA/orgs","repos_url":"https://api.github.com/users/INRIA/repos","events_url":"https://api.github.com/users/INRIA/events{/privacy}","received_events_url":"https://api.github.com/users/INRIA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/INRIA/spoon","description":"Spoon is a library for analyzing and transforming Java source code AST(1.8 included) .","fork":false,"url":"https://api.github.com/repos/INRIA/spoon","forks_url":"https://api.github.com/repos/INRIA/spoon/forks","keys_url":"https://api.github.com/repos/INRIA/spoon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/INRIA/spoon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/INRIA/spoon/teams","hooks_url":"https://api.github.com/repos/INRIA/spoon/hooks","issue_events_url":"https://api.github.com/repos/INRIA/spoon/issues/events{/number}","events_url":"https://api.github.com/repos/INRIA/spoon/events","assignees_url":"https://api.github.com/repos/INRIA/spoon/assignees{/user}","branches_url":"https://api.github.com/repos/INRIA/spoon/branches{/branch}","tags_url":"https://api.github.com/repos/INRIA/spoon/tags","blobs_url":"https://api.github.com/repos/INRIA/spoon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/INRIA/spoon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/INRIA/spoon/git/refs{/sha}","trees_url":"https://api.github.com/repos/INRIA/spoon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/INRIA/spoon/statuses/{sha}","languages_url":"https://api.github.com/repos/INRIA/spoon/languages","stargazers_url":"https://api.github.com/repos/INRIA/spoon/stargazers","contributors_url":"https://api.github.com/repos/INRIA/spoon/contributors","subscribers_url":"https://api.github.com/repos/INRIA/spoon/subscribers","subscription_url":"https://api.github.com/repos/INRIA/spoon/subscription","commits_url":"https://api.github.com/repos/INRIA/spoon/commits{/sha}","git_commits_url":"https://api.github.com/repos/INRIA/spoon/git/commits{/sha}","comments_url":"https://api.github.com/repos/INRIA/spoon/comments{/number}","issue_comment_url":"https://api.github.com/repos/INRIA/spoon/issues/comments{/number}","contents_url":"https://api.github.com/repos/INRIA/spoon/contents/{+path}","compare_url":"https://api.github.com/repos/INRIA/spoon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/INRIA/spoon/merges","archive_url":"https://api.github.com/repos/INRIA/spoon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/INRIA/spoon/downloads","issues_url":"https://api.github.com/repos/INRIA/spoon/issues{/number}","pulls_url":"https://api.github.com/repos/INRIA/spoon/pulls{/number}","milestones_url":"https://api.github.com/repos/INRIA/spoon/milestones{/number}","notifications_url":"https://api.github.com/repos/INRIA/spoon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/INRIA/spoon/labels{/name}","releases_url":"https://api.github.com/repos/INRIA/spoon/releases{/id}","created_at":"2013-11-06T15:29:59Z","updated_at":"2015-11-18T07:33:47Z","pushed_at":"2015-11-18T19:17:23Z","git_url":"git://github.com/INRIA/spoon.git","ssh_url":"git@github.com:INRIA/spoon.git","clone_url":"https://github.com/INRIA/spoon.git","svn_url":"https://github.com/INRIA/spoon","homepage":"http://spoon.gforge.inria.fr/","size":9098,"stargazers_count":167,"watchers_count":167,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":21,"forks":37,"open_issues":21,"watchers":167,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/INRIA/spoon/pulls/414"},"html":{"href":"https://github.com/INRIA/spoon/pull/414"},"issue":{"href":"https://api.github.com/repos/INRIA/spoon/issues/414"},"comments":{"href":"https://api.github.com/repos/INRIA/spoon/issues/414/comments"},"review_comments":{"href":"https://api.github.com/repos/INRIA/spoon/pulls/414/comments"},"review_comment":{"href":"https://api.github.com/repos/INRIA/spoon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/INRIA/spoon/pulls/414/commits"},"statuses":{"href":"https://api.github.com/repos/INRIA/spoon/statuses/adc117b47e33dc22eb094c4bc1dc51bb5ae03b53"}}}}