{"action":"created","issue":{"url":"https://api.github.com/repos/JakeWharton/RxBinding/issues/102","labels_url":"https://api.github.com/repos/JakeWharton/RxBinding/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/JakeWharton/RxBinding/issues/102/comments","events_url":"https://api.github.com/repos/JakeWharton/RxBinding/issues/102/events","html_url":"https://github.com/JakeWharton/RxBinding/issues/102","id":102572711,"number":102,"title":"Plugin expansion to add factory method structure checks.","user":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-22T22:59:44Z","updated_at":"2015-08-23T15:43:08Z","closed_at":null,"body":"Expand the `buildSrc` plugin to verify certain commonalities to these factory methods:\r\n * `@CheckResult` on method\r\n * `@NonNull` on method (#20)\r\n * `@NonNull` on all parameters (#20)\r\n * `Action1` return types use a wildcard bound (`? super Integer`)\r\n * Second parameters which are a `Func1` use a wildcard for first parameterized type (`? super ViewEvent`)"},"comment":{"url":"https://api.github.com/repos/JakeWharton/RxBinding/issues/comments/133868420","html_url":"https://github.com/JakeWharton/RxBinding/issues/102#issuecomment-133868420","issue_url":"https://api.github.com/repos/JakeWharton/RxBinding/issues/102","id":133868420,"user":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T15:43:08Z","updated_at":"2015-08-23T15:43:08Z","body":"Option 2 is fine, although sharing code between the two plugins shouldn't be out of the question. I don't think it needs the option to disable, create a task called `validateBindings` (or something) and make the `check` task on the project depend on it."}}