{"action":"created","issue":{"url":"https://api.github.com/repos/hotchemi/PermissionsDispatcher/issues/182","repository_url":"https://api.github.com/repos/hotchemi/PermissionsDispatcher","labels_url":"https://api.github.com/repos/hotchemi/PermissionsDispatcher/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/hotchemi/PermissionsDispatcher/issues/182/comments","events_url":"https://api.github.com/repos/hotchemi/PermissionsDispatcher/issues/182/events","html_url":"https://github.com/hotchemi/PermissionsDispatcher/issues/182","id":169335650,"number":182,"title":"Is there a way to use this library on class with static methods?","user":{"login":"HelLViS69","id":8749402,"avatar_url":"https://avatars.githubusercontent.com/u/8749402?v=3","gravatar_id":"","url":"https://api.github.com/users/HelLViS69","html_url":"https://github.com/HelLViS69","followers_url":"https://api.github.com/users/HelLViS69/followers","following_url":"https://api.github.com/users/HelLViS69/following{/other_user}","gists_url":"https://api.github.com/users/HelLViS69/gists{/gist_id}","starred_url":"https://api.github.com/users/HelLViS69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HelLViS69/subscriptions","organizations_url":"https://api.github.com/users/HelLViS69/orgs","repos_url":"https://api.github.com/users/HelLViS69/repos","events_url":"https://api.github.com/users/HelLViS69/events{/privacy}","received_events_url":"https://api.github.com/users/HelLViS69/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-04T09:52:31Z","updated_at":"2016-08-04T11:40:57Z","closed_at":null,"body":"I successfully use this library in my apps, but now I ran into this error:\r\n\r\n> Error:Execution failed for task ':app:compileDebugJavaWithJavac'.\r\n> permissions.dispatcher.processor.exception.WrongClassException: Class 'PhoneUtils' can't be annotated with '@RuntimePermissions'\r\n\r\nObviously, in a static method I can't access 'this'.. I also tried to pass the Context in other ways but the error still remains and I can't compile"},"comment":{"url":"https://api.github.com/repos/hotchemi/PermissionsDispatcher/issues/comments/237529203","html_url":"https://github.com/hotchemi/PermissionsDispatcher/issues/182#issuecomment-237529203","issue_url":"https://api.github.com/repos/hotchemi/PermissionsDispatcher/issues/182","id":237529203,"user":{"login":"shiraji","id":3675458,"avatar_url":"https://avatars.githubusercontent.com/u/3675458?v=3","gravatar_id":"","url":"https://api.github.com/users/shiraji","html_url":"https://github.com/shiraji","followers_url":"https://api.github.com/users/shiraji/followers","following_url":"https://api.github.com/users/shiraji/following{/other_user}","gists_url":"https://api.github.com/users/shiraji/gists{/gist_id}","starred_url":"https://api.github.com/users/shiraji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiraji/subscriptions","organizations_url":"https://api.github.com/users/shiraji/orgs","repos_url":"https://api.github.com/users/shiraji/repos","events_url":"https://api.github.com/users/shiraji/events{/privacy}","received_events_url":"https://api.github.com/users/shiraji/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T11:40:57Z","updated_at":"2016-08-04T11:40:57Z","body":"https://github.com/hotchemi/PermissionsDispatcher#1-attach-annotations\r\n\r\n`@RuntimePermissions` Register an Activity or Fragment to handle permissions\r\n\r\nOther that than, this library give you compile error."}}
{"actor":{"display_login":"shiraji"}}