{"action":"created","comment":{"url":"https://api.github.com/repos/excilys/androidannotations/pulls/comments/31699704","id":31699704,"diff_hunk":"@@ -58,6 +71,28 @@ protected final Res getResourceType() {\n \t\treturn Res.STRING;\n \t}\n \n+\tprotected final boolean isPreferenceOrSubclass(TypeMirror elementType) {\n+\t\tString type = elementType.toString();\n+\t\tif (type.equals(CanonicalNameConstants.PREFERENCE)) {","path":"AndroidAnnotations/androidannotations/src/main/java/org/androidannotations/handler/AbstractPreferenceListenerHandler.java","position":44,"original_position":44,"commit_id":"01715305f37daf7ea4a084d193a78b25216ba82c","original_commit_id":"01715305f37daf7ea4a084d193a78b25216ba82c","user":{"login":"dodgex","id":204013,"avatar_url":"https://avatars.githubusercontent.com/u/204013?v=3","gravatar_id":"","url":"https://api.github.com/users/dodgex","html_url":"https://github.com/dodgex","followers_url":"https://api.github.com/users/dodgex/followers","following_url":"https://api.github.com/users/dodgex/following{/other_user}","gists_url":"https://api.github.com/users/dodgex/gists{/gist_id}","starred_url":"https://api.github.com/users/dodgex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodgex/subscriptions","organizations_url":"https://api.github.com/users/dodgex/orgs","repos_url":"https://api.github.com/users/dodgex/repos","events_url":"https://api.github.com/users/dodgex/events{/privacy}","received_events_url":"https://api.github.com/users/dodgex/received_events","type":"User","site_admin":false},"body":"okay. i'll change that","created_at":"2015-06-04T07:57:20Z","updated_at":"2015-06-04T07:57:20Z","html_url":"https://github.com/excilys/androidannotations/pull/1441#discussion_r31699704","pull_request_url":"https://api.github.com/repos/excilys/androidannotations/pulls/1441","_links":{"self":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/comments/31699704"},"html":{"href":"https://github.com/excilys/androidannotations/pull/1441#discussion_r31699704"},"pull_request":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/1441"}}},"pull_request":{"url":"https://api.github.com/repos/excilys/androidannotations/pulls/1441","id":36907951,"html_url":"https://github.com/excilys/androidannotations/pull/1441","diff_url":"https://github.com/excilys/androidannotations/pull/1441.diff","patch_url":"https://github.com/excilys/androidannotations/pull/1441.patch","issue_url":"https://api.github.com/repos/excilys/androidannotations/issues/1441","number":1441,"state":"open","locked":false,"title":"allow sublcasses as parameters (#1285)","user":{"login":"dodgex","id":204013,"avatar_url":"https://avatars.githubusercontent.com/u/204013?v=3","gravatar_id":"","url":"https://api.github.com/users/dodgex","html_url":"https://github.com/dodgex","followers_url":"https://api.github.com/users/dodgex/followers","following_url":"https://api.github.com/users/dodgex/following{/other_user}","gists_url":"https://api.github.com/users/dodgex/gists{/gist_id}","starred_url":"https://api.github.com/users/dodgex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodgex/subscriptions","organizations_url":"https://api.github.com/users/dodgex/orgs","repos_url":"https://api.github.com/users/dodgex/repos","events_url":"https://api.github.com/users/dodgex/events{/privacy}","received_events_url":"https://api.github.com/users/dodgex/received_events","type":"User","site_admin":false},"body":"see https://github.com/excilys/androidannotations/issues/1285\r\n\r\ni started with `@PreferenceClick` and `@PreferenceChange`\r\n\r\nfeel free to hint for other annotations where this would be usefull!","created_at":"2015-06-04T07:15:41Z","updated_at":"2015-06-04T07:57:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b224abbe344630af32137b9ac34fd8967a5cd51","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/excilys/androidannotations/pulls/1441/commits","review_comments_url":"https://api.github.com/repos/excilys/androidannotations/pulls/1441/comments","review_comment_url":"https://api.github.com/repos/excilys/androidannotations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/excilys/androidannotations/issues/1441/comments","statuses_url":"https://api.github.com/repos/excilys/androidannotations/statuses/01715305f37daf7ea4a084d193a78b25216ba82c","head":{"label":"dodgex:1285_allow_sublcasses_as_parameters","ref":"1285_allow_sublcasses_as_parameters","sha":"01715305f37daf7ea4a084d193a78b25216ba82c","user":{"login":"dodgex","id":204013,"avatar_url":"https://avatars.githubusercontent.com/u/204013?v=3","gravatar_id":"","url":"https://api.github.com/users/dodgex","html_url":"https://github.com/dodgex","followers_url":"https://api.github.com/users/dodgex/followers","following_url":"https://api.github.com/users/dodgex/following{/other_user}","gists_url":"https://api.github.com/users/dodgex/gists{/gist_id}","starred_url":"https://api.github.com/users/dodgex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodgex/subscriptions","organizations_url":"https://api.github.com/users/dodgex/orgs","repos_url":"https://api.github.com/users/dodgex/repos","events_url":"https://api.github.com/users/dodgex/events{/privacy}","received_events_url":"https://api.github.com/users/dodgex/received_events","type":"User","site_admin":false},"repo":{"id":13364807,"name":"androidannotations","full_name":"dodgex/androidannotations","owner":{"login":"dodgex","id":204013,"avatar_url":"https://avatars.githubusercontent.com/u/204013?v=3","gravatar_id":"","url":"https://api.github.com/users/dodgex","html_url":"https://github.com/dodgex","followers_url":"https://api.github.com/users/dodgex/followers","following_url":"https://api.github.com/users/dodgex/following{/other_user}","gists_url":"https://api.github.com/users/dodgex/gists{/gist_id}","starred_url":"https://api.github.com/users/dodgex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodgex/subscriptions","organizations_url":"https://api.github.com/users/dodgex/orgs","repos_url":"https://api.github.com/users/dodgex/repos","events_url":"https://api.github.com/users/dodgex/events{/privacy}","received_events_url":"https://api.github.com/users/dodgex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dodgex/androidannotations","description":"Fast Android Development. Easy maintainance.","fork":true,"url":"https://api.github.com/repos/dodgex/androidannotations","forks_url":"https://api.github.com/repos/dodgex/androidannotations/forks","keys_url":"https://api.github.com/repos/dodgex/androidannotations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dodgex/androidannotations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dodgex/androidannotations/teams","hooks_url":"https://api.github.com/repos/dodgex/androidannotations/hooks","issue_events_url":"https://api.github.com/repos/dodgex/androidannotations/issues/events{/number}","events_url":"https://api.github.com/repos/dodgex/androidannotations/events","assignees_url":"https://api.github.com/repos/dodgex/androidannotations/assignees{/user}","branches_url":"https://api.github.com/repos/dodgex/androidannotations/branches{/branch}","tags_url":"https://api.github.com/repos/dodgex/androidannotations/tags","blobs_url":"https://api.github.com/repos/dodgex/androidannotations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dodgex/androidannotations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dodgex/androidannotations/git/refs{/sha}","trees_url":"https://api.github.com/repos/dodgex/androidannotations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dodgex/androidannotations/statuses/{sha}","languages_url":"https://api.github.com/repos/dodgex/androidannotations/languages","stargazers_url":"https://api.github.com/repos/dodgex/androidannotations/stargazers","contributors_url":"https://api.github.com/repos/dodgex/androidannotations/contributors","subscribers_url":"https://api.github.com/repos/dodgex/androidannotations/subscribers","subscription_url":"https://api.github.com/repos/dodgex/androidannotations/subscription","commits_url":"https://api.github.com/repos/dodgex/androidannotations/commits{/sha}","git_commits_url":"https://api.github.com/repos/dodgex/androidannotations/git/commits{/sha}","comments_url":"https://api.github.com/repos/dodgex/androidannotations/comments{/number}","issue_comment_url":"https://api.github.com/repos/dodgex/androidannotations/issues/comments{/number}","contents_url":"https://api.github.com/repos/dodgex/androidannotations/contents/{+path}","compare_url":"https://api.github.com/repos/dodgex/androidannotations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dodgex/androidannotations/merges","archive_url":"https://api.github.com/repos/dodgex/androidannotations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dodgex/androidannotations/downloads","issues_url":"https://api.github.com/repos/dodgex/androidannotations/issues{/number}","pulls_url":"https://api.github.com/repos/dodgex/androidannotations/pulls{/number}","milestones_url":"https://api.github.com/repos/dodgex/androidannotations/milestones{/number}","notifications_url":"https://api.github.com/repos/dodgex/androidannotations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dodgex/androidannotations/labels{/name}","releases_url":"https://api.github.com/repos/dodgex/androidannotations/releases{/id}","created_at":"2013-10-06T16:13:51Z","updated_at":"2015-05-05T16:37:59Z","pushed_at":"2015-06-04T07:12:54Z","git_url":"git://github.com/dodgex/androidannotations.git","ssh_url":"git@github.com:dodgex/androidannotations.git","clone_url":"https://github.com/dodgex/androidannotations.git","svn_url":"https://github.com/dodgex/androidannotations","homepage":"http://androidannotations.org","size":16854,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"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":"develop"}},"base":{"label":"excilys:develop","ref":"develop","sha":"0c2b18ef37d51534ae5bed9aa400560dc983b0de","user":{"login":"excilys","id":668697,"avatar_url":"https://avatars.githubusercontent.com/u/668697?v=3","gravatar_id":"","url":"https://api.github.com/users/excilys","html_url":"https://github.com/excilys","followers_url":"https://api.github.com/users/excilys/followers","following_url":"https://api.github.com/users/excilys/following{/other_user}","gists_url":"https://api.github.com/users/excilys/gists{/gist_id}","starred_url":"https://api.github.com/users/excilys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/excilys/subscriptions","organizations_url":"https://api.github.com/users/excilys/orgs","repos_url":"https://api.github.com/users/excilys/repos","events_url":"https://api.github.com/users/excilys/events{/privacy}","received_events_url":"https://api.github.com/users/excilys/received_events","type":"Organization","site_admin":false},"repo":{"id":3116751,"name":"androidannotations","full_name":"excilys/androidannotations","owner":{"login":"excilys","id":668697,"avatar_url":"https://avatars.githubusercontent.com/u/668697?v=3","gravatar_id":"","url":"https://api.github.com/users/excilys","html_url":"https://github.com/excilys","followers_url":"https://api.github.com/users/excilys/followers","following_url":"https://api.github.com/users/excilys/following{/other_user}","gists_url":"https://api.github.com/users/excilys/gists{/gist_id}","starred_url":"https://api.github.com/users/excilys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/excilys/subscriptions","organizations_url":"https://api.github.com/users/excilys/orgs","repos_url":"https://api.github.com/users/excilys/repos","events_url":"https://api.github.com/users/excilys/events{/privacy}","received_events_url":"https://api.github.com/users/excilys/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/excilys/androidannotations","description":"Fast Android Development. Easy maintainance.","fork":false,"url":"https://api.github.com/repos/excilys/androidannotations","forks_url":"https://api.github.com/repos/excilys/androidannotations/forks","keys_url":"https://api.github.com/repos/excilys/androidannotations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/excilys/androidannotations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/excilys/androidannotations/teams","hooks_url":"https://api.github.com/repos/excilys/androidannotations/hooks","issue_events_url":"https://api.github.com/repos/excilys/androidannotations/issues/events{/number}","events_url":"https://api.github.com/repos/excilys/androidannotations/events","assignees_url":"https://api.github.com/repos/excilys/androidannotations/assignees{/user}","branches_url":"https://api.github.com/repos/excilys/androidannotations/branches{/branch}","tags_url":"https://api.github.com/repos/excilys/androidannotations/tags","blobs_url":"https://api.github.com/repos/excilys/androidannotations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/excilys/androidannotations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/excilys/androidannotations/git/refs{/sha}","trees_url":"https://api.github.com/repos/excilys/androidannotations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/excilys/androidannotations/statuses/{sha}","languages_url":"https://api.github.com/repos/excilys/androidannotations/languages","stargazers_url":"https://api.github.com/repos/excilys/androidannotations/stargazers","contributors_url":"https://api.github.com/repos/excilys/androidannotations/contributors","subscribers_url":"https://api.github.com/repos/excilys/androidannotations/subscribers","subscription_url":"https://api.github.com/repos/excilys/androidannotations/subscription","commits_url":"https://api.github.com/repos/excilys/androidannotations/commits{/sha}","git_commits_url":"https://api.github.com/repos/excilys/androidannotations/git/commits{/sha}","comments_url":"https://api.github.com/repos/excilys/androidannotations/comments{/number}","issue_comment_url":"https://api.github.com/repos/excilys/androidannotations/issues/comments{/number}","contents_url":"https://api.github.com/repos/excilys/androidannotations/contents/{+path}","compare_url":"https://api.github.com/repos/excilys/androidannotations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/excilys/androidannotations/merges","archive_url":"https://api.github.com/repos/excilys/androidannotations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/excilys/androidannotations/downloads","issues_url":"https://api.github.com/repos/excilys/androidannotations/issues{/number}","pulls_url":"https://api.github.com/repos/excilys/androidannotations/pulls{/number}","milestones_url":"https://api.github.com/repos/excilys/androidannotations/milestones{/number}","notifications_url":"https://api.github.com/repos/excilys/androidannotations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/excilys/androidannotations/labels{/name}","releases_url":"https://api.github.com/repos/excilys/androidannotations/releases{/id}","created_at":"2012-01-06T08:48:03Z","updated_at":"2015-06-04T07:38:49Z","pushed_at":"2015-06-04T07:15:41Z","git_url":"git://github.com/excilys/androidannotations.git","ssh_url":"git@github.com:excilys/androidannotations.git","clone_url":"https://github.com/excilys/androidannotations.git","svn_url":"https://github.com/excilys/androidannotations","homepage":"http://androidannotations.org","size":43286,"stargazers_count":5222,"watchers_count":5222,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1474,"mirror_url":null,"open_issues_count":88,"forks":1474,"open_issues":88,"watchers":5222,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/1441"},"html":{"href":"https://github.com/excilys/androidannotations/pull/1441"},"issue":{"href":"https://api.github.com/repos/excilys/androidannotations/issues/1441"},"comments":{"href":"https://api.github.com/repos/excilys/androidannotations/issues/1441/comments"},"review_comments":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/1441/comments"},"review_comment":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/1441/commits"},"statuses":{"href":"https://api.github.com/repos/excilys/androidannotations/statuses/01715305f37daf7ea4a084d193a78b25216ba82c"}}}}