Skip to content

Files

Latest commit

 

History

History
17 lines (10 loc) · 442 Bytes

ClassNameSameAsSuperclass.md

File metadata and controls

17 lines (10 loc) · 442 Bytes

Pattern: Class name same as superclass

Issue: -

Description

Checks for any class that has an identical name to its superclass, other than the package. This can be very confusing.

Example of violations:

class SomeClass extends other.SomeClass         // violation

Further Reading