In Eclipse 3.4.1 using JDK1.6.0_10 how can I activate a warning on a missing @Override
annotation on a method that implements an interface method?
In the Preferences window this option:
Java > Compiler > Errors / Warnings > Annotations > Missing '@Override' annotation
works fine for missing annotations on methods that override a superclass method, but it does nothing for interface methods.
It is not possible in Eclipse 3.4.1. It is a known issue. See this bug report page for more information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With