{"issue":{"created_at":"2011-11-21T08:12:51Z","state":"open","updated_at":"2011-11-21T08:16:01Z","comments":1,"user":{"gravatar_id":"a8709001bd53fec0c9d123796d604f63","id":547260,"url":"https://api.github.com/users/ggtools","login":"ggtools","avatar_url":"https://secure.gravatar.com/avatar/a8709001bd53fec0c9d123796d604f63?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Currently @Builder check the attributes for the final keyword in order to find out the mandatory and the optional attributes. In some context (hibernate/JPA entities for instance), using final attributes is not an option (short version: hibernate builds the entities from a default constructor and then sets them using reflexion).\r\n\r\nIt'll be nice to have lombok-pk checking both the final keyword and the @lombok.NonNull annotation on the field to find out the mandatory fields.","assignee":null,"id":2302384,"number":54,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"@Builder should consider @NonNull annotations","closed_at":null,"html_url":"https://github.com/peichhorn/lombok-pg/issues/54","milestone":{"created_at":"2011-10-12T16:02:15Z","state":"open","closed_issues":0,"due_on":null,"creator":{"gravatar_id":"39ae9cf3704e9db5d7974aaa53dfd705","id":356624,"url":"https://api.github.com/users/peichhorn","login":"peichhorn","avatar_url":"https://secure.gravatar.com/avatar/39ae9cf3704e9db5d7974aaa53dfd705?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":2,"title":"0.10.3","description":"","url":"https://api.github.com/repos/peichhorn/lombok-pg/milestones/2","open_issues":6},"url":"https://api.github.com/repos/peichhorn/lombok-pg/issues/54"},"action":"created","comment":{"created_at":"2011-11-21T08:16:01Z","updated_at":"2011-11-21T08:16:01Z","user":{"gravatar_id":"39ae9cf3704e9db5d7974aaa53dfd705","id":356624,"url":"https://api.github.com/users/peichhorn","login":"peichhorn","avatar_url":"https://secure.gravatar.com/avatar/39ae9cf3704e9db5d7974aaa53dfd705?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Sounds reasonable.","id":2812456,"url":"https://api.github.com/repos/peichhorn/lombok-pg/issues/comments/2812456"}}