{"action":"opened","number":469,"pull_request":{"url":"https://api.github.com/repos/google/j2objc/pulls/469","id":27073661,"html_url":"https://github.com/google/j2objc/pull/469","diff_url":"https://github.com/google/j2objc/pull/469.diff","patch_url":"https://github.com/google/j2objc/pull/469.patch","issue_url":"https://api.github.com/repos/google/j2objc/issues/469","number":469,"state":"open","locked":false,"title":"Renamed IOSClass.classWithClass and classWithProtocol to IOSClass.classF...","user":{"login":"harrycheung","id":98389,"avatar_url":"https://avatars.githubusercontent.com/u/98389?v=3","gravatar_id":"","url":"https://api.github.com/users/harrycheung","html_url":"https://github.com/harrycheung","followers_url":"https://api.github.com/users/harrycheung/followers","following_url":"https://api.github.com/users/harrycheung/following{/other_user}","gists_url":"https://api.github.com/users/harrycheung/gists{/gist_id}","starred_url":"https://api.github.com/users/harrycheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrycheung/subscriptions","organizations_url":"https://api.github.com/users/harrycheung/orgs","repos_url":"https://api.github.com/users/harrycheung/repos","events_url":"https://api.github.com/users/harrycheung/events{/privacy}","received_events_url":"https://api.github.com/users/harrycheung/received_events","type":"User","site_admin":false},"body":"...romClass and classFromProtocol.\r\n\r\nSwift maps constructors out of class methods that follow a factory naming scheme. This becomes a problem since \"WithClass\" maps to \"class\" (and \"protocol\") which is a reserved word.\r\n\r\nclassWithClass and classWithProtocol have deprecated messages to maintain backwards compatiblity.\r\n\r\nFixes #468.","created_at":"2015-01-09T01:10:22Z","updated_at":"2015-01-09T01:10:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/j2objc/pulls/469/commits","review_comments_url":"https://api.github.com/repos/google/j2objc/pulls/469/comments","review_comment_url":"https://api.github.com/repos/google/j2objc/pulls/comments/{number}","comments_url":"https://api.github.com/repos/google/j2objc/issues/469/comments","statuses_url":"https://api.github.com/repos/google/j2objc/statuses/e63c01def11a637a65daddfe3ef16d998976e91b","head":{"label":"harrycheung:iosclass_fix","ref":"iosclass_fix","sha":"e63c01def11a637a65daddfe3ef16d998976e91b","user":{"login":"harrycheung","id":98389,"avatar_url":"https://avatars.githubusercontent.com/u/98389?v=3","gravatar_id":"","url":"https://api.github.com/users/harrycheung","html_url":"https://github.com/harrycheung","followers_url":"https://api.github.com/users/harrycheung/followers","following_url":"https://api.github.com/users/harrycheung/following{/other_user}","gists_url":"https://api.github.com/users/harrycheung/gists{/gist_id}","starred_url":"https://api.github.com/users/harrycheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrycheung/subscriptions","organizations_url":"https://api.github.com/users/harrycheung/orgs","repos_url":"https://api.github.com/users/harrycheung/repos","events_url":"https://api.github.com/users/harrycheung/events{/privacy}","received_events_url":"https://api.github.com/users/harrycheung/received_events","type":"User","site_admin":false},"repo":{"id":26992537,"name":"j2objc","full_name":"harrycheung/j2objc","owner":{"login":"harrycheung","id":98389,"avatar_url":"https://avatars.githubusercontent.com/u/98389?v=3","gravatar_id":"","url":"https://api.github.com/users/harrycheung","html_url":"https://github.com/harrycheung","followers_url":"https://api.github.com/users/harrycheung/followers","following_url":"https://api.github.com/users/harrycheung/following{/other_user}","gists_url":"https://api.github.com/users/harrycheung/gists{/gist_id}","starred_url":"https://api.github.com/users/harrycheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrycheung/subscriptions","organizations_url":"https://api.github.com/users/harrycheung/orgs","repos_url":"https://api.github.com/users/harrycheung/repos","events_url":"https://api.github.com/users/harrycheung/events{/privacy}","received_events_url":"https://api.github.com/users/harrycheung/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/harrycheung/j2objc","description":"A Java to iOS Objective-C translation tool and runtime.","fork":true,"url":"https://api.github.com/repos/harrycheung/j2objc","forks_url":"https://api.github.com/repos/harrycheung/j2objc/forks","keys_url":"https://api.github.com/repos/harrycheung/j2objc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/harrycheung/j2objc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/harrycheung/j2objc/teams","hooks_url":"https://api.github.com/repos/harrycheung/j2objc/hooks","issue_events_url":"https://api.github.com/repos/harrycheung/j2objc/issues/events{/number}","events_url":"https://api.github.com/repos/harrycheung/j2objc/events","assignees_url":"https://api.github.com/repos/harrycheung/j2objc/assignees{/user}","branches_url":"https://api.github.com/repos/harrycheung/j2objc/branches{/branch}","tags_url":"https://api.github.com/repos/harrycheung/j2objc/tags","blobs_url":"https://api.github.com/repos/harrycheung/j2objc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/harrycheung/j2objc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/harrycheung/j2objc/git/refs{/sha}","trees_url":"https://api.github.com/repos/harrycheung/j2objc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/harrycheung/j2objc/statuses/{sha}","languages_url":"https://api.github.com/repos/harrycheung/j2objc/languages","stargazers_url":"https://api.github.com/repos/harrycheung/j2objc/stargazers","contributors_url":"https://api.github.com/repos/harrycheung/j2objc/contributors","subscribers_url":"https://api.github.com/repos/harrycheung/j2objc/subscribers","subscription_url":"https://api.github.com/repos/harrycheung/j2objc/subscription","commits_url":"https://api.github.com/repos/harrycheung/j2objc/commits{/sha}","git_commits_url":"https://api.github.com/repos/harrycheung/j2objc/git/commits{/sha}","comments_url":"https://api.github.com/repos/harrycheung/j2objc/comments{/number}","issue_comment_url":"https://api.github.com/repos/harrycheung/j2objc/issues/comments/{number}","contents_url":"https://api.github.com/repos/harrycheung/j2objc/contents/{+path}","compare_url":"https://api.github.com/repos/harrycheung/j2objc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/harrycheung/j2objc/merges","archive_url":"https://api.github.com/repos/harrycheung/j2objc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/harrycheung/j2objc/downloads","issues_url":"https://api.github.com/repos/harrycheung/j2objc/issues{/number}","pulls_url":"https://api.github.com/repos/harrycheung/j2objc/pulls{/number}","milestones_url":"https://api.github.com/repos/harrycheung/j2objc/milestones{/number}","notifications_url":"https://api.github.com/repos/harrycheung/j2objc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/harrycheung/j2objc/labels{/name}","releases_url":"https://api.github.com/repos/harrycheung/j2objc/releases{/id}","created_at":"2014-11-22T07:52:26Z","updated_at":"2015-01-06T18:24:49Z","pushed_at":"2015-01-09T01:09:08Z","git_url":"git://github.com/harrycheung/j2objc.git","ssh_url":"git@github.com:harrycheung/j2objc.git","clone_url":"https://github.com/harrycheung/j2objc.git","svn_url":"https://github.com/harrycheung/j2objc","homepage":"https://code.google.com/p/j2objc/","size":14066,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"8ee9dc12ad8c9fdffebf0ae8f01f6c21f0224d09","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":16389681,"name":"j2objc","full_name":"google/j2objc","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/j2objc","description":"A Java to iOS Objective-C translation tool and runtime.","fork":false,"url":"https://api.github.com/repos/google/j2objc","forks_url":"https://api.github.com/repos/google/j2objc/forks","keys_url":"https://api.github.com/repos/google/j2objc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/j2objc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/j2objc/teams","hooks_url":"https://api.github.com/repos/google/j2objc/hooks","issue_events_url":"https://api.github.com/repos/google/j2objc/issues/events{/number}","events_url":"https://api.github.com/repos/google/j2objc/events","assignees_url":"https://api.github.com/repos/google/j2objc/assignees{/user}","branches_url":"https://api.github.com/repos/google/j2objc/branches{/branch}","tags_url":"https://api.github.com/repos/google/j2objc/tags","blobs_url":"https://api.github.com/repos/google/j2objc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/j2objc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/j2objc/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/j2objc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/j2objc/statuses/{sha}","languages_url":"https://api.github.com/repos/google/j2objc/languages","stargazers_url":"https://api.github.com/repos/google/j2objc/stargazers","contributors_url":"https://api.github.com/repos/google/j2objc/contributors","subscribers_url":"https://api.github.com/repos/google/j2objc/subscribers","subscription_url":"https://api.github.com/repos/google/j2objc/subscription","commits_url":"https://api.github.com/repos/google/j2objc/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/j2objc/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/j2objc/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/j2objc/issues/comments/{number}","contents_url":"https://api.github.com/repos/google/j2objc/contents/{+path}","compare_url":"https://api.github.com/repos/google/j2objc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/j2objc/merges","archive_url":"https://api.github.com/repos/google/j2objc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/j2objc/downloads","issues_url":"https://api.github.com/repos/google/j2objc/issues{/number}","pulls_url":"https://api.github.com/repos/google/j2objc/pulls{/number}","milestones_url":"https://api.github.com/repos/google/j2objc/milestones{/number}","notifications_url":"https://api.github.com/repos/google/j2objc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/j2objc/labels{/name}","releases_url":"https://api.github.com/repos/google/j2objc/releases{/id}","created_at":"2014-01-30T20:19:56Z","updated_at":"2015-01-08T10:29:05Z","pushed_at":"2014-12-23T19:15:02Z","git_url":"git://github.com/google/j2objc.git","ssh_url":"git@github.com:google/j2objc.git","clone_url":"https://github.com/google/j2objc.git","svn_url":"https://github.com/google/j2objc","homepage":"https://code.google.com/p/j2objc/","size":16573,"stargazers_count":1731,"watchers_count":1731,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":186,"mirror_url":null,"open_issues_count":116,"forks":186,"open_issues":116,"watchers":1731,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/j2objc/pulls/469"},"html":{"href":"https://github.com/google/j2objc/pull/469"},"issue":{"href":"https://api.github.com/repos/google/j2objc/issues/469"},"comments":{"href":"https://api.github.com/repos/google/j2objc/issues/469/comments"},"review_comments":{"href":"https://api.github.com/repos/google/j2objc/pulls/469/comments"},"review_comment":{"href":"https://api.github.com/repos/google/j2objc/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/google/j2objc/pulls/469/commits"},"statuses":{"href":"https://api.github.com/repos/google/j2objc/statuses/e63c01def11a637a65daddfe3ef16d998976e91b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":126,"deletions":116,"changed_files":34}}