{"action":"created","issue":{"url":"https://api.github.com/repos/immutables/immutables/issues/202","labels_url":"https://api.github.com/repos/immutables/immutables/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/immutables/immutables/issues/202/comments","events_url":"https://api.github.com/repos/immutables/immutables/issues/202/events","html_url":"https://github.com/immutables/immutables/issues/202","id":116488532,"number":202,"title":"Generated builders do not generate @Override annotations when appropriate","user":{"login":"tjwilson90","id":427261,"avatar_url":"https://avatars.githubusercontent.com/u/427261?v=3","gravatar_id":"","url":"https://api.github.com/users/tjwilson90","html_url":"https://github.com/tjwilson90","followers_url":"https://api.github.com/users/tjwilson90/followers","following_url":"https://api.github.com/users/tjwilson90/following{/other_user}","gists_url":"https://api.github.com/users/tjwilson90/gists{/gist_id}","starred_url":"https://api.github.com/users/tjwilson90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjwilson90/subscriptions","organizations_url":"https://api.github.com/users/tjwilson90/orgs","repos_url":"https://api.github.com/users/tjwilson90/repos","events_url":"https://api.github.com/users/tjwilson90/events{/privacy}","received_events_url":"https://api.github.com/users/tjwilson90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-11-12T06:27:58Z","updated_at":"2015-11-26T01:15:18Z","closed_at":null,"body":"Example:\r\n```java\r\n@Value.Immutable\r\npublic interface Foo {\r\n    long getBar();\r\n    interface Builder {\r\n        Builder bar();\r\n    }\r\n}\r\n```\r\nResult:\r\nThe `bar()` method in the generated `ImmutableFoo.Builder` class will not have an `@Override` annotation."},"comment":{"url":"https://api.github.com/repos/immutables/immutables/issues/comments/159772548","html_url":"https://github.com/immutables/immutables/issues/202#issuecomment-159772548","issue_url":"https://api.github.com/repos/immutables/immutables/issues/202","id":159772548,"user":{"login":"elucash","id":1692611,"avatar_url":"https://avatars.githubusercontent.com/u/1692611?v=3","gravatar_id":"","url":"https://api.github.com/users/elucash","html_url":"https://github.com/elucash","followers_url":"https://api.github.com/users/elucash/followers","following_url":"https://api.github.com/users/elucash/following{/other_user}","gists_url":"https://api.github.com/users/elucash/gists{/gist_id}","starred_url":"https://api.github.com/users/elucash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elucash/subscriptions","organizations_url":"https://api.github.com/users/elucash/orgs","repos_url":"https://api.github.com/users/elucash/repos","events_url":"https://api.github.com/users/elucash/events{/privacy}","received_events_url":"https://api.github.com/users/elucash/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T01:15:18Z","updated_at":"2015-11-26T01:15:18Z","body":"I thought that  `@SuppressWarnings(\"all\")` should just cover all nested definitions. If nested builder class will have `@SuppressWarnings(\"all\")` annotation, would it resolve the problem you have?\r\n\r\nWhen I compile with `-Xlint:overrides`, I don't see any warning for the case\r\n\r\n```java\r\n@Value.Immutable\r\npublic interface Foo {\r\n    long getBar();\r\n    interface Builder {\r\n        Builder bar(long bar);\r\n    }\r\n}\r\n```\r\nWhich compiler produces such warning/error in this case?"}}