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 P
Belay what I said in the other thread. Apparently it's not a compiler option, but a Java compatibility version issue: if your compatibility version is 5, you won't be able to annotate interface implementation methods. If your compatibility version is 6, then you will be able to.
However I don't think there's a way of actually forcing Eclipse to generate an error if you do not annotate each implemented method. From this page:
Missing '@Override' annotation: When enabled, the compiler will issue an error or a warning whenever it encounters a method overriding another implemented method, and the '@Override' annotation is missing.