Inspectopedia
 
2024.3

Redundant interface declaration

Warning
New
Last modified: 03 December 2024

Reports interfaces in a class' implements list or an interface's extends list that are already implemented by a superclass or extended by a superinterface. Such declarations are unnecessary and may be safely removed.

Example:

After the quick-fix is applied:

Use the options to not report on Serializable or Externalizable in an extends or implements list.