{"action":"created","comment":{"url":"https://api.github.com/repos/square/javapoet/pulls/comments/54676295","id":54676295,"diff_hunk":"@@ -47,6 +50,27 @@\n     assertEquals(annotated, annotated.annotated());\n   }\n \n+  // https://github.com/square/javapoet/issues/431\n+  @Test public void annotatedNestedType() {\n+    String tuacanon = TypeUseAnnotation.class.getCanonicalName();\n+    String expected = \"java.util.Map.@\" + tuacanon + \" Entry\";","path":"src/test/java/com/squareup/javapoet/AnnotatedTypeNameTest.java","position":28,"original_position":28,"commit_id":"b192592048b72ee48ebe1bff5a548c92c9219693","original_commit_id":"b192592048b72ee48ebe1bff5a548c92c9219693","user":{"login":"swankjesse","id":133019,"avatar_url":"https://avatars.githubusercontent.com/u/133019?v=3","gravatar_id":"","url":"https://api.github.com/users/swankjesse","html_url":"https://github.com/swankjesse","followers_url":"https://api.github.com/users/swankjesse/followers","following_url":"https://api.github.com/users/swankjesse/following{/other_user}","gists_url":"https://api.github.com/users/swankjesse/gists{/gist_id}","starred_url":"https://api.github.com/users/swankjesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swankjesse/subscriptions","organizations_url":"https://api.github.com/users/swankjesse/orgs","repos_url":"https://api.github.com/users/swankjesse/repos","events_url":"https://api.github.com/users/swankjesse/events{/privacy}","received_events_url":"https://api.github.com/users/swankjesse/received_events","type":"User","site_admin":false},"body":"wow!","created_at":"2016-03-02T03:55:21Z","updated_at":"2016-03-02T03:55:21Z","html_url":"https://github.com/square/javapoet/pull/432#discussion_r54676295","pull_request_url":"https://api.github.com/repos/square/javapoet/pulls/432","_links":{"self":{"href":"https://api.github.com/repos/square/javapoet/pulls/comments/54676295"},"html":{"href":"https://github.com/square/javapoet/pull/432#discussion_r54676295"},"pull_request":{"href":"https://api.github.com/repos/square/javapoet/pulls/432"}}},"pull_request":{"url":"https://api.github.com/repos/square/javapoet/pulls/432","id":61326342,"html_url":"https://github.com/square/javapoet/pull/432","diff_url":"https://github.com/square/javapoet/pull/432.diff","patch_url":"https://github.com/square/javapoet/pull/432.patch","issue_url":"https://api.github.com/repos/square/javapoet/issues/432","number":432,"state":"open","locked":false,"title":"Fixes location for type annotation on qualified names.","user":{"login":"sormuras","id":2319838,"avatar_url":"https://avatars.githubusercontent.com/u/2319838?v=3","gravatar_id":"","url":"https://api.github.com/users/sormuras","html_url":"https://github.com/sormuras","followers_url":"https://api.github.com/users/sormuras/followers","following_url":"https://api.github.com/users/sormuras/following{/other_user}","gists_url":"https://api.github.com/users/sormuras/gists{/gist_id}","starred_url":"https://api.github.com/users/sormuras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sormuras/subscriptions","organizations_url":"https://api.github.com/users/sormuras/orgs","repos_url":"https://api.github.com/users/sormuras/repos","events_url":"https://api.github.com/users/sormuras/events{/privacy}","received_events_url":"https://api.github.com/users/sormuras/received_events","type":"User","site_admin":false},"body":"https://github.com/square/javapoet/issues/431\r\n\r\nThis solution overrides the `TypeName.toString()` in `ClassName` and `ParameterizedTypeName` - had to remove the final modifier from the former.","created_at":"2016-03-01T23:23:21Z","updated_at":"2016-03-02T03:55:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5628e28dc8d03f7185309434d3f258dc05034527","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/square/javapoet/pulls/432/commits","review_comments_url":"https://api.github.com/repos/square/javapoet/pulls/432/comments","review_comment_url":"https://api.github.com/repos/square/javapoet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/square/javapoet/issues/432/comments","statuses_url":"https://api.github.com/repos/square/javapoet/statuses/b192592048b72ee48ebe1bff5a548c92c9219693","head":{"label":"sormuras:annos_on_qualified_names_fix","ref":"annos_on_qualified_names_fix","sha":"b192592048b72ee48ebe1bff5a548c92c9219693","user":{"login":"sormuras","id":2319838,"avatar_url":"https://avatars.githubusercontent.com/u/2319838?v=3","gravatar_id":"","url":"https://api.github.com/users/sormuras","html_url":"https://github.com/sormuras","followers_url":"https://api.github.com/users/sormuras/followers","following_url":"https://api.github.com/users/sormuras/following{/other_user}","gists_url":"https://api.github.com/users/sormuras/gists{/gist_id}","starred_url":"https://api.github.com/users/sormuras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sormuras/subscriptions","organizations_url":"https://api.github.com/users/sormuras/orgs","repos_url":"https://api.github.com/users/sormuras/repos","events_url":"https://api.github.com/users/sormuras/events{/privacy}","received_events_url":"https://api.github.com/users/sormuras/received_events","type":"User","site_admin":false},"repo":{"id":40235954,"name":"javapoet","full_name":"sormuras/javapoet","owner":{"login":"sormuras","id":2319838,"avatar_url":"https://avatars.githubusercontent.com/u/2319838?v=3","gravatar_id":"","url":"https://api.github.com/users/sormuras","html_url":"https://github.com/sormuras","followers_url":"https://api.github.com/users/sormuras/followers","following_url":"https://api.github.com/users/sormuras/following{/other_user}","gists_url":"https://api.github.com/users/sormuras/gists{/gist_id}","starred_url":"https://api.github.com/users/sormuras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sormuras/subscriptions","organizations_url":"https://api.github.com/users/sormuras/orgs","repos_url":"https://api.github.com/users/sormuras/repos","events_url":"https://api.github.com/users/sormuras/events{/privacy}","received_events_url":"https://api.github.com/users/sormuras/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sormuras/javapoet","description":"A Java API for generating .java source files.","fork":true,"url":"https://api.github.com/repos/sormuras/javapoet","forks_url":"https://api.github.com/repos/sormuras/javapoet/forks","keys_url":"https://api.github.com/repos/sormuras/javapoet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sormuras/javapoet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sormuras/javapoet/teams","hooks_url":"https://api.github.com/repos/sormuras/javapoet/hooks","issue_events_url":"https://api.github.com/repos/sormuras/javapoet/issues/events{/number}","events_url":"https://api.github.com/repos/sormuras/javapoet/events","assignees_url":"https://api.github.com/repos/sormuras/javapoet/assignees{/user}","branches_url":"https://api.github.com/repos/sormuras/javapoet/branches{/branch}","tags_url":"https://api.github.com/repos/sormuras/javapoet/tags","blobs_url":"https://api.github.com/repos/sormuras/javapoet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sormuras/javapoet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sormuras/javapoet/git/refs{/sha}","trees_url":"https://api.github.com/repos/sormuras/javapoet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sormuras/javapoet/statuses/{sha}","languages_url":"https://api.github.com/repos/sormuras/javapoet/languages","stargazers_url":"https://api.github.com/repos/sormuras/javapoet/stargazers","contributors_url":"https://api.github.com/repos/sormuras/javapoet/contributors","subscribers_url":"https://api.github.com/repos/sormuras/javapoet/subscribers","subscription_url":"https://api.github.com/repos/sormuras/javapoet/subscription","commits_url":"https://api.github.com/repos/sormuras/javapoet/commits{/sha}","git_commits_url":"https://api.github.com/repos/sormuras/javapoet/git/commits{/sha}","comments_url":"https://api.github.com/repos/sormuras/javapoet/comments{/number}","issue_comment_url":"https://api.github.com/repos/sormuras/javapoet/issues/comments{/number}","contents_url":"https://api.github.com/repos/sormuras/javapoet/contents/{+path}","compare_url":"https://api.github.com/repos/sormuras/javapoet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sormuras/javapoet/merges","archive_url":"https://api.github.com/repos/sormuras/javapoet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sormuras/javapoet/downloads","issues_url":"https://api.github.com/repos/sormuras/javapoet/issues{/number}","pulls_url":"https://api.github.com/repos/sormuras/javapoet/pulls{/number}","milestones_url":"https://api.github.com/repos/sormuras/javapoet/milestones{/number}","notifications_url":"https://api.github.com/repos/sormuras/javapoet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sormuras/javapoet/labels{/name}","releases_url":"https://api.github.com/repos/sormuras/javapoet/releases{/id}","deployments_url":"https://api.github.com/repos/sormuras/javapoet/deployments","created_at":"2015-08-05T09:12:10Z","updated_at":"2016-01-11T08:49:47Z","pushed_at":"2016-03-02T00:08:32Z","git_url":"git://github.com/sormuras/javapoet.git","ssh_url":"git@github.com:sormuras/javapoet.git","clone_url":"https://github.com/sormuras/javapoet.git","svn_url":"https://github.com/sormuras/javapoet","homepage":"","size":1269,"stargazers_count":0,"watchers_count":0,"language":"Java","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":0,"default_branch":"master"}},"base":{"label":"square:master","ref":"master","sha":"1a16944b319057b572bc5eab1267744a26b31835","user":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"repo":{"id":7961991,"name":"javapoet","full_name":"square/javapoet","owner":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/square/javapoet","description":"A Java API for generating .java source files.","fork":false,"url":"https://api.github.com/repos/square/javapoet","forks_url":"https://api.github.com/repos/square/javapoet/forks","keys_url":"https://api.github.com/repos/square/javapoet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/square/javapoet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/square/javapoet/teams","hooks_url":"https://api.github.com/repos/square/javapoet/hooks","issue_events_url":"https://api.github.com/repos/square/javapoet/issues/events{/number}","events_url":"https://api.github.com/repos/square/javapoet/events","assignees_url":"https://api.github.com/repos/square/javapoet/assignees{/user}","branches_url":"https://api.github.com/repos/square/javapoet/branches{/branch}","tags_url":"https://api.github.com/repos/square/javapoet/tags","blobs_url":"https://api.github.com/repos/square/javapoet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/square/javapoet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/square/javapoet/git/refs{/sha}","trees_url":"https://api.github.com/repos/square/javapoet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/square/javapoet/statuses/{sha}","languages_url":"https://api.github.com/repos/square/javapoet/languages","stargazers_url":"https://api.github.com/repos/square/javapoet/stargazers","contributors_url":"https://api.github.com/repos/square/javapoet/contributors","subscribers_url":"https://api.github.com/repos/square/javapoet/subscribers","subscription_url":"https://api.github.com/repos/square/javapoet/subscription","commits_url":"https://api.github.com/repos/square/javapoet/commits{/sha}","git_commits_url":"https://api.github.com/repos/square/javapoet/git/commits{/sha}","comments_url":"https://api.github.com/repos/square/javapoet/comments{/number}","issue_comment_url":"https://api.github.com/repos/square/javapoet/issues/comments{/number}","contents_url":"https://api.github.com/repos/square/javapoet/contents/{+path}","compare_url":"https://api.github.com/repos/square/javapoet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/square/javapoet/merges","archive_url":"https://api.github.com/repos/square/javapoet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/square/javapoet/downloads","issues_url":"https://api.github.com/repos/square/javapoet/issues{/number}","pulls_url":"https://api.github.com/repos/square/javapoet/pulls{/number}","milestones_url":"https://api.github.com/repos/square/javapoet/milestones{/number}","notifications_url":"https://api.github.com/repos/square/javapoet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/square/javapoet/labels{/name}","releases_url":"https://api.github.com/repos/square/javapoet/releases{/id}","deployments_url":"https://api.github.com/repos/square/javapoet/deployments","created_at":"2013-02-01T16:56:30Z","updated_at":"2016-03-02T02:11:46Z","pushed_at":"2016-03-02T00:08:32Z","git_url":"git://github.com/square/javapoet.git","ssh_url":"git@github.com:square/javapoet.git","clone_url":"https://github.com/square/javapoet.git","svn_url":"https://github.com/square/javapoet","homepage":"","size":1788,"stargazers_count":1713,"watchers_count":1713,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":235,"mirror_url":null,"open_issues_count":18,"forks":235,"open_issues":18,"watchers":1713,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/square/javapoet/pulls/432"},"html":{"href":"https://github.com/square/javapoet/pull/432"},"issue":{"href":"https://api.github.com/repos/square/javapoet/issues/432"},"comments":{"href":"https://api.github.com/repos/square/javapoet/issues/432/comments"},"review_comments":{"href":"https://api.github.com/repos/square/javapoet/pulls/432/comments"},"review_comment":{"href":"https://api.github.com/repos/square/javapoet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/square/javapoet/pulls/432/commits"},"statuses":{"href":"https://api.github.com/repos/square/javapoet/statuses/b192592048b72ee48ebe1bff5a548c92c9219693"}}}}