Parameter type prevents overriding

Last modified: Last modified: 18 September 2025

Reports parameter types of a subclass method that have the same name as the parameter type of the corresponding super method but belong to a different package. In these cases, the subclass method cannot override the super method.

Example:

After the quick-fix is applied: