Reports the cases when a parameter type of a subclass method has the same name as the parameter type of the corresponding super method but belongs to a different package. In these cases, the subclass method cannot override the super method.

Suggests setting the same parameter type as in the super method.

Example:


public class A {
 public void method(Object o) {}
}

public class B extends A {
 public void method(Object o) {} // warning on parameter type
 class Object {}
}

After the quick-fix is applied:


public class A {
 public void method(Object o) {}
}

public class B extends A {
 public void method(java.lang.Object o) {} // new parameter type
 class Object {}
}