This seems like an easy one. Should it complain about the override in Z?
It seems to be OK with it, if the grandfather has a param list.
The context was toString methods with extraneous parens. The spec (and Definitions) appears to define Any.toString without parens, so it would be nice if -Xlint warned in this case. I don't know what the internal representation looks like, when RefChecks checks refs.
But I noticed that this problem serves as a workaround for SI-6978 (in lieu of reporter filtering), where class J was a Java class and the warning at S was undesirable.