Community
Participate
Working Groups
Build 20020813 The compiler generates a warning when code implements a deprecated method. However, since there is no way to resolve this (we must implement every method in an interface), I don't think a warning should be generated for this case. The only time it's useful to warn the user about deprecation is when they call a deprecated method. Steps to reproduce: 1. Create an interface with a deprecated method. 2. Create a class which implements that interface and implements the method as required. 3. A compiler warning is generated which states, "This method overrides deprecated method from <interface name>"
Tagging the overiding method with @deprecated will remove the warning.
Generalized this by adding an option for filtering all deprecation warnings inside deprecated code.
Verified.