Deprecated classes and interfaces should be avoided, rather than used, inherited or extended. Deprecation is a warning that the class or interface has been superseded, and will eventually be removed. The deprecation period allows you to make a smooth transition away from the aging, soon-to-be-retired technology.
/**
* @deprecated As of release 1.3, replaced by {@link #Fee}
*/@Deprecated
class Foo { ... }
class Bar extends Foo { ... }
class Bar extends Fee { ... }
This rule is deprecated, use {rule:squid:S1874} instead.