It'd be nice to be able to tell if you're accidentally overriding a method in a subclass, I know that java doesn't have a constraint to do this (be nice if it did), do any of the static or bytecode analysis tools allow you to require the @Override
annotation in subclasses?
I've used checkstyle, findbugs, and pmd, but I don't know if any of them have this setting.Note: I would like the tool to be able to run as part of my automated test suite.