{"action":"opened","number":730,"pull_request":{"url":"https://api.github.com/repos/universal-ctags/ctags/pulls/730","id":54346242,"html_url":"https://github.com/universal-ctags/ctags/pull/730","diff_url":"https://github.com/universal-ctags/ctags/pull/730.diff","patch_url":"https://github.com/universal-ctags/ctags/pull/730.patch","issue_url":"https://api.github.com/repos/universal-ctags/ctags/issues/730","number":730,"state":"open","locked":false,"title":"Java: implement `imported' role","user":{"login":"masatake","id":77077,"avatar_url":"https://avatars.githubusercontent.com/u/77077?v=3","gravatar_id":"","url":"https://api.github.com/users/masatake","html_url":"https://github.com/masatake","followers_url":"https://api.github.com/users/masatake/followers","following_url":"https://api.github.com/users/masatake/following{/other_user}","gists_url":"https://api.github.com/users/masatake/gists{/gist_id}","starred_url":"https://api.github.com/users/masatake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masatake/subscriptions","organizations_url":"https://api.github.com/users/masatake/orgs","repos_url":"https://api.github.com/users/masatake/repos","events_url":"https://api.github.com/users/masatake/events{/privacy}","received_events_url":"https://api.github.com/users/masatake/received_events","type":"User","site_admin":false},"body":"Packages imported with keyword `import' are tagged as reference tags\r\nwith this commit. The wild-card(*) used in package specification is\r\nrecorded asis.\r\n\r\nExample output:\r\n\r\n    [yamato@x201]~/var/ctags-github% cat foo.java\r\n    import java.util.Map;\r\n    import java.util.*;\r\n\r\n    package X;\r\n\r\n    [yamato@x201]~/var/ctags-github% ./ctags --fields=+r --extra=+r -o - foo.java\r\n    X\tfoo.java\t/^package X;$/;\"\tp\r\n    java.util.*\tfoo.java\t/^import java.util.*;$/;\"\tp\trole:imported\r\n    java.util.Map\tfoo.java\t/^import java.util.Map;$/;\"\tp\trole:imported\r\n\r\nSigned-off-by: Masatake YAMATO <yamato@redhat.com>","created_at":"2015-12-22T08:56:04Z","updated_at":"2015-12-22T08:56:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aaac4b506e9ed02428ae8f5152173099cfb0413d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/universal-ctags/ctags/pulls/730/commits","review_comments_url":"https://api.github.com/repos/universal-ctags/ctags/pulls/730/comments","review_comment_url":"https://api.github.com/repos/universal-ctags/ctags/pulls/comments{/number}","comments_url":"https://api.github.com/repos/universal-ctags/ctags/issues/730/comments","statuses_url":"https://api.github.com/repos/universal-ctags/ctags/statuses/4515262395f8fd3c4c3523b66762396873a3004a","head":{"label":"masatake:java-imported-role","ref":"java-imported-role","sha":"4515262395f8fd3c4c3523b66762396873a3004a","user":{"login":"masatake","id":77077,"avatar_url":"https://avatars.githubusercontent.com/u/77077?v=3","gravatar_id":"","url":"https://api.github.com/users/masatake","html_url":"https://github.com/masatake","followers_url":"https://api.github.com/users/masatake/followers","following_url":"https://api.github.com/users/masatake/following{/other_user}","gists_url":"https://api.github.com/users/masatake/gists{/gist_id}","starred_url":"https://api.github.com/users/masatake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masatake/subscriptions","organizations_url":"https://api.github.com/users/masatake/orgs","repos_url":"https://api.github.com/users/masatake/repos","events_url":"https://api.github.com/users/masatake/events{/privacy}","received_events_url":"https://api.github.com/users/masatake/received_events","type":"User","site_admin":false},"repo":{"id":10986388,"name":"ctags","full_name":"masatake/ctags","owner":{"login":"masatake","id":77077,"avatar_url":"https://avatars.githubusercontent.com/u/77077?v=3","gravatar_id":"","url":"https://api.github.com/users/masatake","html_url":"https://github.com/masatake","followers_url":"https://api.github.com/users/masatake/followers","following_url":"https://api.github.com/users/masatake/following{/other_user}","gists_url":"https://api.github.com/users/masatake/gists{/gist_id}","starred_url":"https://api.github.com/users/masatake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masatake/subscriptions","organizations_url":"https://api.github.com/users/masatake/orgs","repos_url":"https://api.github.com/users/masatake/repos","events_url":"https://api.github.com/users/masatake/events{/privacy}","received_events_url":"https://api.github.com/users/masatake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/masatake/ctags","description":"clone of official ctags repo with obj-c and css patches added","fork":true,"url":"https://api.github.com/repos/masatake/ctags","forks_url":"https://api.github.com/repos/masatake/ctags/forks","keys_url":"https://api.github.com/repos/masatake/ctags/keys{/key_id}","collaborators_url":"https://api.github.com/repos/masatake/ctags/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/masatake/ctags/teams","hooks_url":"https://api.github.com/repos/masatake/ctags/hooks","issue_events_url":"https://api.github.com/repos/masatake/ctags/issues/events{/number}","events_url":"https://api.github.com/repos/masatake/ctags/events","assignees_url":"https://api.github.com/repos/masatake/ctags/assignees{/user}","branches_url":"https://api.github.com/repos/masatake/ctags/branches{/branch}","tags_url":"https://api.github.com/repos/masatake/ctags/tags","blobs_url":"https://api.github.com/repos/masatake/ctags/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/masatake/ctags/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/masatake/ctags/git/refs{/sha}","trees_url":"https://api.github.com/repos/masatake/ctags/git/trees{/sha}","statuses_url":"https://api.github.com/repos/masatake/ctags/statuses/{sha}","languages_url":"https://api.github.com/repos/masatake/ctags/languages","stargazers_url":"https://api.github.com/repos/masatake/ctags/stargazers","contributors_url":"https://api.github.com/repos/masatake/ctags/contributors","subscribers_url":"https://api.github.com/repos/masatake/ctags/subscribers","subscription_url":"https://api.github.com/repos/masatake/ctags/subscription","commits_url":"https://api.github.com/repos/masatake/ctags/commits{/sha}","git_commits_url":"https://api.github.com/repos/masatake/ctags/git/commits{/sha}","comments_url":"https://api.github.com/repos/masatake/ctags/comments{/number}","issue_comment_url":"https://api.github.com/repos/masatake/ctags/issues/comments{/number}","contents_url":"https://api.github.com/repos/masatake/ctags/contents/{+path}","compare_url":"https://api.github.com/repos/masatake/ctags/compare/{base}...{head}","merges_url":"https://api.github.com/repos/masatake/ctags/merges","archive_url":"https://api.github.com/repos/masatake/ctags/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/masatake/ctags/downloads","issues_url":"https://api.github.com/repos/masatake/ctags/issues{/number}","pulls_url":"https://api.github.com/repos/masatake/ctags/pulls{/number}","milestones_url":"https://api.github.com/repos/masatake/ctags/milestones{/number}","notifications_url":"https://api.github.com/repos/masatake/ctags/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/masatake/ctags/labels{/name}","releases_url":"https://api.github.com/repos/masatake/ctags/releases{/id}","created_at":"2013-06-27T03:38:55Z","updated_at":"2015-07-23T19:04:33Z","pushed_at":"2015-12-22T08:52:48Z","git_url":"git://github.com/masatake/ctags.git","ssh_url":"git@github.com:masatake/ctags.git","clone_url":"https://github.com/masatake/ctags.git","svn_url":"https://github.com/masatake/ctags","homepage":"","size":5883,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":true,"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":1,"default_branch":"master"}},"base":{"label":"universal-ctags:master","ref":"master","sha":"a51fb4856239cc795289414630c7e44bc339885b","user":{"login":"universal-ctags","id":9616766,"avatar_url":"https://avatars.githubusercontent.com/u/9616766?v=3","gravatar_id":"","url":"https://api.github.com/users/universal-ctags","html_url":"https://github.com/universal-ctags","followers_url":"https://api.github.com/users/universal-ctags/followers","following_url":"https://api.github.com/users/universal-ctags/following{/other_user}","gists_url":"https://api.github.com/users/universal-ctags/gists{/gist_id}","starred_url":"https://api.github.com/users/universal-ctags/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/universal-ctags/subscriptions","organizations_url":"https://api.github.com/users/universal-ctags/orgs","repos_url":"https://api.github.com/users/universal-ctags/repos","events_url":"https://api.github.com/users/universal-ctags/events{/privacy}","received_events_url":"https://api.github.com/users/universal-ctags/received_events","type":"Organization","site_admin":false},"repo":{"id":578839,"name":"ctags","full_name":"universal-ctags/ctags","owner":{"login":"universal-ctags","id":9616766,"avatar_url":"https://avatars.githubusercontent.com/u/9616766?v=3","gravatar_id":"","url":"https://api.github.com/users/universal-ctags","html_url":"https://github.com/universal-ctags","followers_url":"https://api.github.com/users/universal-ctags/followers","following_url":"https://api.github.com/users/universal-ctags/following{/other_user}","gists_url":"https://api.github.com/users/universal-ctags/gists{/gist_id}","starred_url":"https://api.github.com/users/universal-ctags/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/universal-ctags/subscriptions","organizations_url":"https://api.github.com/users/universal-ctags/orgs","repos_url":"https://api.github.com/users/universal-ctags/repos","events_url":"https://api.github.com/users/universal-ctags/events{/privacy}","received_events_url":"https://api.github.com/users/universal-ctags/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/universal-ctags/ctags","description":"A maintained ctags implementation","fork":false,"url":"https://api.github.com/repos/universal-ctags/ctags","forks_url":"https://api.github.com/repos/universal-ctags/ctags/forks","keys_url":"https://api.github.com/repos/universal-ctags/ctags/keys{/key_id}","collaborators_url":"https://api.github.com/repos/universal-ctags/ctags/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/universal-ctags/ctags/teams","hooks_url":"https://api.github.com/repos/universal-ctags/ctags/hooks","issue_events_url":"https://api.github.com/repos/universal-ctags/ctags/issues/events{/number}","events_url":"https://api.github.com/repos/universal-ctags/ctags/events","assignees_url":"https://api.github.com/repos/universal-ctags/ctags/assignees{/user}","branches_url":"https://api.github.com/repos/universal-ctags/ctags/branches{/branch}","tags_url":"https://api.github.com/repos/universal-ctags/ctags/tags","blobs_url":"https://api.github.com/repos/universal-ctags/ctags/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/universal-ctags/ctags/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/universal-ctags/ctags/git/refs{/sha}","trees_url":"https://api.github.com/repos/universal-ctags/ctags/git/trees{/sha}","statuses_url":"https://api.github.com/repos/universal-ctags/ctags/statuses/{sha}","languages_url":"https://api.github.com/repos/universal-ctags/ctags/languages","stargazers_url":"https://api.github.com/repos/universal-ctags/ctags/stargazers","contributors_url":"https://api.github.com/repos/universal-ctags/ctags/contributors","subscribers_url":"https://api.github.com/repos/universal-ctags/ctags/subscribers","subscription_url":"https://api.github.com/repos/universal-ctags/ctags/subscription","commits_url":"https://api.github.com/repos/universal-ctags/ctags/commits{/sha}","git_commits_url":"https://api.github.com/repos/universal-ctags/ctags/git/commits{/sha}","comments_url":"https://api.github.com/repos/universal-ctags/ctags/comments{/number}","issue_comment_url":"https://api.github.com/repos/universal-ctags/ctags/issues/comments{/number}","contents_url":"https://api.github.com/repos/universal-ctags/ctags/contents/{+path}","compare_url":"https://api.github.com/repos/universal-ctags/ctags/compare/{base}...{head}","merges_url":"https://api.github.com/repos/universal-ctags/ctags/merges","archive_url":"https://api.github.com/repos/universal-ctags/ctags/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/universal-ctags/ctags/downloads","issues_url":"https://api.github.com/repos/universal-ctags/ctags/issues{/number}","pulls_url":"https://api.github.com/repos/universal-ctags/ctags/pulls{/number}","milestones_url":"https://api.github.com/repos/universal-ctags/ctags/milestones{/number}","notifications_url":"https://api.github.com/repos/universal-ctags/ctags/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/universal-ctags/ctags/labels{/name}","releases_url":"https://api.github.com/repos/universal-ctags/ctags/releases{/id}","created_at":"2010-03-25T10:43:13Z","updated_at":"2015-12-20T10:01:04Z","pushed_at":"2015-12-22T08:56:04Z","git_url":"git://github.com/universal-ctags/ctags.git","ssh_url":"git@github.com:universal-ctags/ctags.git","clone_url":"https://github.com/universal-ctags/ctags.git","svn_url":"https://github.com/universal-ctags/ctags","homepage":"https://ctags.io","size":6443,"stargazers_count":507,"watchers_count":507,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":111,"mirror_url":null,"open_issues_count":78,"forks":111,"open_issues":78,"watchers":507,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/universal-ctags/ctags/pulls/730"},"html":{"href":"https://github.com/universal-ctags/ctags/pull/730"},"issue":{"href":"https://api.github.com/repos/universal-ctags/ctags/issues/730"},"comments":{"href":"https://api.github.com/repos/universal-ctags/ctags/issues/730/comments"},"review_comments":{"href":"https://api.github.com/repos/universal-ctags/ctags/pulls/730/comments"},"review_comment":{"href":"https://api.github.com/repos/universal-ctags/ctags/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/universal-ctags/ctags/pulls/730/commits"},"statuses":{"href":"https://api.github.com/repos/universal-ctags/ctags/statuses/4515262395f8fd3c4c3523b66762396873a3004a"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":68,"deletions":12,"changed_files":5}}