{"action":"opened","number":46,"pull_request":{"url":"https://api.github.com/repos/jhalterman/typetools/pulls/46","id":240776755,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwNzc2NzU1","html_url":"https://github.com/jhalterman/typetools/pull/46","diff_url":"https://github.com/jhalterman/typetools/pull/46.diff","patch_url":"https://github.com/jhalterman/typetools/pull/46.patch","issue_url":"https://api.github.com/repos/jhalterman/typetools/issues/46","number":46,"state":"open","locked":false,"title":"Implement substitution of generics","user":{"login":"lorenzleutgeb","id":542154,"node_id":"MDQ6VXNlcjU0MjE1NA==","avatar_url":"https://avatars1.githubusercontent.com/u/542154?v=4","gravatar_id":"","url":"https://api.github.com/users/lorenzleutgeb","html_url":"https://github.com/lorenzleutgeb","followers_url":"https://api.github.com/users/lorenzleutgeb/followers","following_url":"https://api.github.com/users/lorenzleutgeb/following{/other_user}","gists_url":"https://api.github.com/users/lorenzleutgeb/gists{/gist_id}","starred_url":"https://api.github.com/users/lorenzleutgeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorenzleutgeb/subscriptions","organizations_url":"https://api.github.com/users/lorenzleutgeb/orgs","repos_url":"https://api.github.com/users/lorenzleutgeb/repos","events_url":"https://api.github.com/users/lorenzleutgeb/events{/privacy}","received_events_url":"https://api.github.com/users/lorenzleutgeb/received_events","type":"User","site_admin":false},"body":"This is another attempt to resolve #8, meant to supersede #12.\r\n\r\nDifferent from what @jhalterman originally proposed, this approach does /not/ use type tokens. Rather it traverses common implementations of `Type` and replaces type variables in there recursively. The benefit I see doing this, is that it is compatible with the existing type hierarchy. A generic parameterized type is just resolved to look like a concrete parameterized type.","created_at":"2018-12-24T13:39:14Z","updated_at":"2018-12-24T13:39:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jhalterman/typetools/pulls/46/commits","review_comments_url":"https://api.github.com/repos/jhalterman/typetools/pulls/46/comments","review_comment_url":"https://api.github.com/repos/jhalterman/typetools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jhalterman/typetools/issues/46/comments","statuses_url":"https://api.github.com/repos/jhalterman/typetools/statuses/71e2349a254fa19e3fe66d65bf45f9c600ef3fe2","head":{"label":"lorenzleutgeb:resolve","ref":"resolve","sha":"71e2349a254fa19e3fe66d65bf45f9c600ef3fe2","user":{"login":"lorenzleutgeb","id":542154,"node_id":"MDQ6VXNlcjU0MjE1NA==","avatar_url":"https://avatars1.githubusercontent.com/u/542154?v=4","gravatar_id":"","url":"https://api.github.com/users/lorenzleutgeb","html_url":"https://github.com/lorenzleutgeb","followers_url":"https://api.github.com/users/lorenzleutgeb/followers","following_url":"https://api.github.com/users/lorenzleutgeb/following{/other_user}","gists_url":"https://api.github.com/users/lorenzleutgeb/gists{/gist_id}","starred_url":"https://api.github.com/users/lorenzleutgeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorenzleutgeb/subscriptions","organizations_url":"https://api.github.com/users/lorenzleutgeb/orgs","repos_url":"https://api.github.com/users/lorenzleutgeb/repos","events_url":"https://api.github.com/users/lorenzleutgeb/events{/privacy}","received_events_url":"https://api.github.com/users/lorenzleutgeb/received_events","type":"User","site_admin":false},"repo":{"id":162733987,"node_id":"MDEwOlJlcG9zaXRvcnkxNjI3MzM5ODc=","name":"typetools","full_name":"lorenzleutgeb/typetools","private":false,"owner":{"login":"lorenzleutgeb","id":542154,"node_id":"MDQ6VXNlcjU0MjE1NA==","avatar_url":"https://avatars1.githubusercontent.com/u/542154?v=4","gravatar_id":"","url":"https://api.github.com/users/lorenzleutgeb","html_url":"https://github.com/lorenzleutgeb","followers_url":"https://api.github.com/users/lorenzleutgeb/followers","following_url":"https://api.github.com/users/lorenzleutgeb/following{/other_user}","gists_url":"https://api.github.com/users/lorenzleutgeb/gists{/gist_id}","starred_url":"https://api.github.com/users/lorenzleutgeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorenzleutgeb/subscriptions","organizations_url":"https://api.github.com/users/lorenzleutgeb/orgs","repos_url":"https://api.github.com/users/lorenzleutgeb/repos","events_url":"https://api.github.com/users/lorenzleutgeb/events{/privacy}","received_events_url":"https://api.github.com/users/lorenzleutgeb/received_events","type":"User","site_admin":false},"html_url":"https://github.com/lorenzleutgeb/typetools","description":"Tools for resolving generic types","fork":true,"url":"https://api.github.com/repos/lorenzleutgeb/typetools","forks_url":"https://api.github.com/repos/lorenzleutgeb/typetools/forks","keys_url":"https://api.github.com/repos/lorenzleutgeb/typetools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lorenzleutgeb/typetools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lorenzleutgeb/typetools/teams","hooks_url":"https://api.github.com/repos/lorenzleutgeb/typetools/hooks","issue_events_url":"https://api.github.com/repos/lorenzleutgeb/typetools/issues/events{/number}","events_url":"https://api.github.com/repos/lorenzleutgeb/typetools/events","assignees_url":"https://api.github.com/repos/lorenzleutgeb/typetools/assignees{/user}","branches_url":"https://api.github.com/repos/lorenzleutgeb/typetools/branches{/branch}","tags_url":"https://api.github.com/repos/lorenzleutgeb/typetools/tags","blobs_url":"https://api.github.com/repos/lorenzleutgeb/typetools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lorenzleutgeb/typetools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lorenzleutgeb/typetools/git/refs{/sha}","trees_url":"https://api.github.com/repos/lorenzleutgeb/typetools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lorenzleutgeb/typetools/statuses/{sha}","languages_url":"https://api.github.com/repos/lorenzleutgeb/typetools/languages","stargazers_url":"https://api.github.com/repos/lorenzleutgeb/typetools/stargazers","contributors_url":"https://api.github.com/repos/lorenzleutgeb/typetools/contributors","subscribers_url":"https://api.github.com/repos/lorenzleutgeb/typetools/subscribers","subscription_url":"https://api.github.com/repos/lorenzleutgeb/typetools/subscription","commits_url":"https://api.github.com/repos/lorenzleutgeb/typetools/commits{/sha}","git_commits_url":"https://api.github.com/repos/lorenzleutgeb/typetools/git/commits{/sha}","comments_url":"https://api.github.com/repos/lorenzleutgeb/typetools/comments{/number}","issue_comment_url":"https://api.github.com/repos/lorenzleutgeb/typetools/issues/comments{/number}","contents_url":"https://api.github.com/repos/lorenzleutgeb/typetools/contents/{+path}","compare_url":"https://api.github.com/repos/lorenzleutgeb/typetools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lorenzleutgeb/typetools/merges","archive_url":"https://api.github.com/repos/lorenzleutgeb/typetools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lorenzleutgeb/typetools/downloads","issues_url":"https://api.github.com/repos/lorenzleutgeb/typetools/issues{/number}","pulls_url":"https://api.github.com/repos/lorenzleutgeb/typetools/pulls{/number}","milestones_url":"https://api.github.com/repos/lorenzleutgeb/typetools/milestones{/number}","notifications_url":"https://api.github.com/repos/lorenzleutgeb/typetools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lorenzleutgeb/typetools/labels{/name}","releases_url":"https://api.github.com/repos/lorenzleutgeb/typetools/releases{/id}","deployments_url":"https://api.github.com/repos/lorenzleutgeb/typetools/deployments","created_at":"2018-12-21T16:12:26Z","updated_at":"2018-12-21T16:12:28Z","pushed_at":"2018-12-24T13:34:37Z","git_url":"git://github.com/lorenzleutgeb/typetools.git","ssh_url":"git@github.com:lorenzleutgeb/typetools.git","clone_url":"https://github.com/lorenzleutgeb/typetools.git","svn_url":"https://github.com/lorenzleutgeb/typetools","homepage":"","size":263,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jhalterman:master","ref":"master","sha":"dc5f6d01fe5340c912b8d092a4c26b5d514c6c1c","user":{"login":"jhalterman","id":228804,"node_id":"MDQ6VXNlcjIyODgwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/228804?v=4","gravatar_id":"","url":"https://api.github.com/users/jhalterman","html_url":"https://github.com/jhalterman","followers_url":"https://api.github.com/users/jhalterman/followers","following_url":"https://api.github.com/users/jhalterman/following{/other_user}","gists_url":"https://api.github.com/users/jhalterman/gists{/gist_id}","starred_url":"https://api.github.com/users/jhalterman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhalterman/subscriptions","organizations_url":"https://api.github.com/users/jhalterman/orgs","repos_url":"https://api.github.com/users/jhalterman/repos","events_url":"https://api.github.com/users/jhalterman/events{/privacy}","received_events_url":"https://api.github.com/users/jhalterman/received_events","type":"User","site_admin":false},"repo":{"id":1019228,"node_id":"MDEwOlJlcG9zaXRvcnkxMDE5MjI4","name":"typetools","full_name":"jhalterman/typetools","private":false,"owner":{"login":"jhalterman","id":228804,"node_id":"MDQ6VXNlcjIyODgwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/228804?v=4","gravatar_id":"","url":"https://api.github.com/users/jhalterman","html_url":"https://github.com/jhalterman","followers_url":"https://api.github.com/users/jhalterman/followers","following_url":"https://api.github.com/users/jhalterman/following{/other_user}","gists_url":"https://api.github.com/users/jhalterman/gists{/gist_id}","starred_url":"https://api.github.com/users/jhalterman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhalterman/subscriptions","organizations_url":"https://api.github.com/users/jhalterman/orgs","repos_url":"https://api.github.com/users/jhalterman/repos","events_url":"https://api.github.com/users/jhalterman/events{/privacy}","received_events_url":"https://api.github.com/users/jhalterman/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jhalterman/typetools","description":"Tools for resolving generic types","fork":false,"url":"https://api.github.com/repos/jhalterman/typetools","forks_url":"https://api.github.com/repos/jhalterman/typetools/forks","keys_url":"https://api.github.com/repos/jhalterman/typetools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhalterman/typetools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhalterman/typetools/teams","hooks_url":"https://api.github.com/repos/jhalterman/typetools/hooks","issue_events_url":"https://api.github.com/repos/jhalterman/typetools/issues/events{/number}","events_url":"https://api.github.com/repos/jhalterman/typetools/events","assignees_url":"https://api.github.com/repos/jhalterman/typetools/assignees{/user}","branches_url":"https://api.github.com/repos/jhalterman/typetools/branches{/branch}","tags_url":"https://api.github.com/repos/jhalterman/typetools/tags","blobs_url":"https://api.github.com/repos/jhalterman/typetools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhalterman/typetools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhalterman/typetools/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhalterman/typetools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhalterman/typetools/statuses/{sha}","languages_url":"https://api.github.com/repos/jhalterman/typetools/languages","stargazers_url":"https://api.github.com/repos/jhalterman/typetools/stargazers","contributors_url":"https://api.github.com/repos/jhalterman/typetools/contributors","subscribers_url":"https://api.github.com/repos/jhalterman/typetools/subscribers","subscription_url":"https://api.github.com/repos/jhalterman/typetools/subscription","commits_url":"https://api.github.com/repos/jhalterman/typetools/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhalterman/typetools/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhalterman/typetools/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhalterman/typetools/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhalterman/typetools/contents/{+path}","compare_url":"https://api.github.com/repos/jhalterman/typetools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhalterman/typetools/merges","archive_url":"https://api.github.com/repos/jhalterman/typetools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhalterman/typetools/downloads","issues_url":"https://api.github.com/repos/jhalterman/typetools/issues{/number}","pulls_url":"https://api.github.com/repos/jhalterman/typetools/pulls{/number}","milestones_url":"https://api.github.com/repos/jhalterman/typetools/milestones{/number}","notifications_url":"https://api.github.com/repos/jhalterman/typetools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhalterman/typetools/labels{/name}","releases_url":"https://api.github.com/repos/jhalterman/typetools/releases{/id}","deployments_url":"https://api.github.com/repos/jhalterman/typetools/deployments","created_at":"2010-10-24T07:11:54Z","updated_at":"2018-12-20T23:41:34Z","pushed_at":"2017-05-09T14:54:22Z","git_url":"git://github.com/jhalterman/typetools.git","ssh_url":"git@github.com:jhalterman/typetools.git","clone_url":"https://github.com/jhalterman/typetools.git","svn_url":"https://github.com/jhalterman/typetools","homepage":"","size":263,"stargazers_count":349,"watchers_count":349,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":51,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":51,"open_issues":14,"watchers":349,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jhalterman/typetools/pulls/46"},"html":{"href":"https://github.com/jhalterman/typetools/pull/46"},"issue":{"href":"https://api.github.com/repos/jhalterman/typetools/issues/46"},"comments":{"href":"https://api.github.com/repos/jhalterman/typetools/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/jhalterman/typetools/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/jhalterman/typetools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jhalterman/typetools/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/jhalterman/typetools/statuses/71e2349a254fa19e3fe66d65bf45f9c600ef3fe2"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":223,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"lorenzleutgeb"}}