Verifies there are no finalize() methods defined in a class.