3 Enhanced Deprecation
The semantics of what deprecation means includes whether an API may be removed in the near future.
If you are a library maintainer, you can take advantage of the updated deprecation syntax to inform users of your library about the status of APIs provided by your library.
If you are a library or application developer, you can use the jdeprscan
tool to find uses of deprecated JDK API elements in your applications or libraries.