As you might expect, you use Deprecated to annotate a method that shouldn't be used anymore.
正如您可能期望的,可以使用Deprecated来对不应再使用的方法进行注释。
Note that you do not add an aggregation; the aggregation is the older extension method, which has been deprecated.
注意,您并未添加聚合,聚合是以前的扩展方法,这种方法现在已被淘汰。
Why something came out deprecated in a 1.0 release always confused me, but seeing the method there always seemed to spark interest in using it with new developers.
虽然1.0版为何抛弃原来的一些内容一直令我迷惑不解,但我常常看到该方法引起新入门开发人员的兴趣。
Unlike Override, deprecated should be placed on the same line as the method being deprecated why?
与Override不一样的是,Deprecated应该与正在声明为过时的方法放在同一行中为什么这样?
The deprecated getUsersForGroup() method of the UserRegistry interface must be implemented for custom registries in order to be fully supported by the user registry staff resolution plug-in.
必须实现UserRegistry接口中已废弃的 getUsersForGroup()方法,用户注册中心人员解析插件才能完全支持自定义注册中心。
The deprecated getUsersForGroup() method of the UserRegistry interface must be implemented for custom registries in order to be fully supported by the user registry staff resolution plug-in.
必须实现UserRegistry接口中已废弃的 getUsersForGroup()方法,用户注册中心人员解析插件才能完全支持自定义注册中心。
应用推荐