Why doesn't Eclipse add @Override annotations in “Generate Delegate Methods” refactoring?

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?

10
задан BalusC 23 May 2011 в 03:01
поделиться