While it's perfectly legal to give a class the same simple name as a class in another package that it extends or interface it implements, it's confusing and could cause problems in the future. 


== Noncompliant Code Example

----
package my.mypackage;

public class Foo implements a.b.Foo { // Noncompliant
----


== Compliant Solution

----
package my.mypackage;

public class FooJr implements a.b.Foo {
----



ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)

include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]
