In Eclipse, if I try to apply a "Generate Delegate Methods" refactoring to a Java class like the following:
class Foo implements Bar {
Bar bar;
}
Eclipse doesn't generate @Override
annotations for the generated methods. Is this a bug or is there a good reason for this?
No good reason, but not a "bug", per se; just a shortcoming. Probably the refactoring is just older than @Override
-- older than annotations in general, of course -- and has never been updated.