{"action":"created","comment":{"url":"https://api.github.com/repos/excilys/androidannotations/pulls/comments/47912273","id":47912273,"diff_hunk":"@@ -64,6 +64,10 @@ public void validate(Element element, ElementValidation valid) {\n \n \t@Override\n \tpublic void process(Element element, EComponentHolder holder) throws Exception {\n+\t\tif (!annotationHelper.enclosingElementHasEnhancedComponentAnnotation(element)) {\n+\t\t\t// do nothing when otto annotations are used in non-enhanced classes\n+\t\t\treturn;\n+\t\t}","path":"AndroidAnnotations/androidannotations-otto/otto/src/main/java/org/androidannotations/otto/handler/AbstractOttoHandler.java","position":26,"original_position":16,"commit_id":"4ece8103ba8350da47b070eac4679ba722da600c","original_commit_id":"a374894bd41ac267a8624dac0a761461731e8d7c","user":{"login":"WonderCsabo","id":480485,"avatar_url":"https://avatars.githubusercontent.com/u/480485?v=3","gravatar_id":"","url":"https://api.github.com/users/WonderCsabo","html_url":"https://github.com/WonderCsabo","followers_url":"https://api.github.com/users/WonderCsabo/followers","following_url":"https://api.github.com/users/WonderCsabo/following{/other_user}","gists_url":"https://api.github.com/users/WonderCsabo/gists{/gist_id}","starred_url":"https://api.github.com/users/WonderCsabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WonderCsabo/subscriptions","organizations_url":"https://api.github.com/users/WonderCsabo/orgs","repos_url":"https://api.github.com/users/WonderCsabo/repos","events_url":"https://api.github.com/users/WonderCsabo/events{/privacy}","received_events_url":"https://api.github.com/users/WonderCsabo/received_events","type":"User","site_admin":false},"body":"Just to be clear, i am talking about this. https://github.com/dodgex/androidannotations/blob/1657_ignore_otto_annotions_for_not_enhanced_classes/AndroidAnnotations/androidannotations-otto/otto/src/main/java/org/androidannotations/otto/handler/AbstractOttoHandler.java#L48","created_at":"2015-12-17T14:41:18Z","updated_at":"2015-12-17T14:41:18Z","html_url":"https://github.com/excilys/androidannotations/pull/1658#discussion_r47912273","pull_request_url":"https://api.github.com/repos/excilys/androidannotations/pulls/1658","_links":{"self":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/comments/47912273"},"html":{"href":"https://github.com/excilys/androidannotations/pull/1658#discussion_r47912273"},"pull_request":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/1658"}}},"pull_request":{"url":"https://api.github.com/repos/excilys/androidannotations/pulls/1658","id":53980540,"html_url":"https://github.com/excilys/androidannotations/pull/1658","diff_url":"https://github.com/excilys/androidannotations/pull/1658.diff","patch_url":"https://github.com/excilys/androidannotations/pull/1658.patch","issue_url":"https://api.github.com/repos/excilys/androidannotations/issues/1658","number":1658,"state":"open","locked":false,"title":"1657 ignore otto annotions for not enhanced classes","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 #1657 ","created_at":"2015-12-17T14:13:32Z","updated_at":"2015-12-17T14:41:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b87d15ecb5a6fc9f8129b1c24109e0e232ae1fa0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/excilys/androidannotations/pulls/1658/commits","review_comments_url":"https://api.github.com/repos/excilys/androidannotations/pulls/1658/comments","review_comment_url":"https://api.github.com/repos/excilys/androidannotations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/excilys/androidannotations/issues/1658/comments","statuses_url":"https://api.github.com/repos/excilys/androidannotations/statuses/4ece8103ba8350da47b070eac4679ba722da600c","head":{"label":"dodgex:1657_ignore_otto_annotions_for_not_enhanced_classes","ref":"1657_ignore_otto_annotions_for_not_enhanced_classes","sha":"4ece8103ba8350da47b070eac4679ba722da600c","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-12-17T14:40:21Z","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":21965,"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":"760ac5903c296c4eab439845eb218dfd0e27c2e9","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-12-17T14:15:34Z","pushed_at":"2015-12-17T14:40:24Z","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":23228,"stargazers_count":6620,"watchers_count":6620,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1905,"mirror_url":null,"open_issues_count":48,"forks":1905,"open_issues":48,"watchers":6620,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/1658"},"html":{"href":"https://github.com/excilys/androidannotations/pull/1658"},"issue":{"href":"https://api.github.com/repos/excilys/androidannotations/issues/1658"},"comments":{"href":"https://api.github.com/repos/excilys/androidannotations/issues/1658/comments"},"review_comments":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/1658/comments"},"review_comment":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/1658/commits"},"statuses":{"href":"https://api.github.com/repos/excilys/androidannotations/statuses/4ece8103ba8350da47b070eac4679ba722da600c"}}}}