{"action":"opened","issue":{"url":"https://api.github.com/repos/rzwitserloot/lombok/issues/1087","repository_url":"https://api.github.com/repos/rzwitserloot/lombok","labels_url":"https://api.github.com/repos/rzwitserloot/lombok/issues/1087/labels{/name}","comments_url":"https://api.github.com/repos/rzwitserloot/lombok/issues/1087/comments","events_url":"https://api.github.com/repos/rzwitserloot/lombok/issues/1087/events","html_url":"https://github.com/rzwitserloot/lombok/issues/1087","id":149145928,"number":1087,"title":"@Builder on method causes raw type warnings","user":{"login":"jakub-bochenski","id":2794994,"avatar_url":"https://avatars.githubusercontent.com/u/2794994?v=3","gravatar_id":"","url":"https://api.github.com/users/jakub-bochenski","html_url":"https://github.com/jakub-bochenski","followers_url":"https://api.github.com/users/jakub-bochenski/followers","following_url":"https://api.github.com/users/jakub-bochenski/following{/other_user}","gists_url":"https://api.github.com/users/jakub-bochenski/gists{/gist_id}","starred_url":"https://api.github.com/users/jakub-bochenski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakub-bochenski/subscriptions","organizations_url":"https://api.github.com/users/jakub-bochenski/orgs","repos_url":"https://api.github.com/users/jakub-bochenski/repos","events_url":"https://api.github.com/users/jakub-bochenski/events{/privacy}","received_events_url":"https://api.github.com/users/jakub-bochenski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-18T13:07:56Z","updated_at":"2016-04-18T13:07:56Z","closed_at":null,"body":"Declaring a builder method like this:\r\n```\r\n    @Builder(builderMethodName = \"threadInfo\")\r\n    private static Predicate<ThreadInfo> buildThreadInfo(Predicate<String> name) {\r\n        return it -> name.test(it.getThreadName());\r\n    }\r\n```\r\nresults in:\r\n```\r\n[WARNING] UncheckedBuilder.java:[12,5] found raw type: java.util.function.Predicate\r\n  missing type arguments for generic class java.util.function.Predicate<T>\r\n```\r\n\r\n\r\nUsing it on a class doesn't cause warnings:\r\n```\r\n@Builder\r\npublic class UncheckedBuilder {\r\n    Predicate<String> name;\r\n}\r\n```"}}