{"action":"created","issue":{"url":"https://api.github.com/repos/yandex-qatools/hamcrest-pojo-matcher-generator/issues/27","repository_url":"https://api.github.com/repos/yandex-qatools/hamcrest-pojo-matcher-generator","labels_url":"https://api.github.com/repos/yandex-qatools/hamcrest-pojo-matcher-generator/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/yandex-qatools/hamcrest-pojo-matcher-generator/issues/27/comments","events_url":"https://api.github.com/repos/yandex-qatools/hamcrest-pojo-matcher-generator/issues/27/events","html_url":"https://github.com/yandex-qatools/hamcrest-pojo-matcher-generator/issues/27","id":218724307,"number":27,"title":"Integration with https://immutables.github.io/","user":{"login":"anton-tregubov","id":2647387,"avatar_url":"https://avatars3.githubusercontent.com/u/2647387?v=3","gravatar_id":"","url":"https://api.github.com/users/anton-tregubov","html_url":"https://github.com/anton-tregubov","followers_url":"https://api.github.com/users/anton-tregubov/followers","following_url":"https://api.github.com/users/anton-tregubov/following{/other_user}","gists_url":"https://api.github.com/users/anton-tregubov/gists{/gist_id}","starred_url":"https://api.github.com/users/anton-tregubov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anton-tregubov/subscriptions","organizations_url":"https://api.github.com/users/anton-tregubov/orgs","repos_url":"https://api.github.com/users/anton-tregubov/repos","events_url":"https://api.github.com/users/anton-tregubov/events{/privacy}","received_events_url":"https://api.github.com/users/anton-tregubov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-04-01T21:30:23Z","updated_at":"2017-04-24T19:18:00Z","closed_at":null,"body":"I think that https://immutables.github.io/ is greatest tool for generating PoJo. Your tool can let developers (lazy developers)  focus on effectve test instead of \"near support\" code.\r\n\r\nI look at your sources? and see that you filter \r\n\r\n```\r\nprivate static Stream<Element> asFields(Element element) {\r\n        switch (element.getKind()) {\r\n            case FIELD:\r\n                return Stream.of(element);\r\n            case CLASS:\r\n                return element.getEnclosedElements().stream().flatMap(MatcherFactoryGenerator::asFields);\r\n        }\r\n        return Stream.empty();\r\n    }\r\n```\r\nand\r\n```\r\nru.yandex.qatools.processors.matcher.gen.processing.MethodsCollector#asMethodSpec\r\n```\r\ncan take into accoount method (because immutables require to define only methods). \r\n\r\nI think i can do it too, but later... "},"comment":{"url":"https://api.github.com/repos/yandex-qatools/hamcrest-pojo-matcher-generator/issues/comments/296794939","html_url":"https://github.com/yandex-qatools/hamcrest-pojo-matcher-generator/issues/27#issuecomment-296794939","issue_url":"https://api.github.com/repos/yandex-qatools/hamcrest-pojo-matcher-generator/issues/27","id":296794939,"user":{"login":"lanwen","id":1964214,"avatar_url":"https://avatars2.githubusercontent.com/u/1964214?v=3","gravatar_id":"","url":"https://api.github.com/users/lanwen","html_url":"https://github.com/lanwen","followers_url":"https://api.github.com/users/lanwen/followers","following_url":"https://api.github.com/users/lanwen/following{/other_user}","gists_url":"https://api.github.com/users/lanwen/gists{/gist_id}","starred_url":"https://api.github.com/users/lanwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanwen/subscriptions","organizations_url":"https://api.github.com/users/lanwen/orgs","repos_url":"https://api.github.com/users/lanwen/repos","events_url":"https://api.github.com/users/lanwen/events{/privacy}","received_events_url":"https://api.github.com/users/lanwen/received_events","type":"User","site_admin":false},"created_at":"2017-04-24T19:18:00Z","updated_at":"2017-04-24T19:18:00Z","body":"Супер тогда. с такими ограничениями действительно будет проще. Спасибо"}}
{"actor":{"display_login":"lanwen"}}