Click to see the query in the CodeQL repository
An interface that contains methods whose return types clash with protected methods on java.lang.Object can never be implemented, because methods cannot be overloaded based simply on their return type.
If the interface is useful, name methods so that they do not clash with methods in Object. Otherwise you should delete the interface.
In the following example, the interface I is useless because the clone method must return type java.lang.Object:
Any attempt to implement the interface produces an error:
Help - Eclipse Platform: Java Compiler Errors/Warnings Preferences.
Java Language Specification: 9.2 Interface Members.