Java方法上怎么添加一个删除线

java方法上想添加一个删除线,怎么添加(我知道删除线表示该方法已经过时)

图片说明
你是想要这种效果么?

http://blog.csdn.net/hemingwang0902/article/details/4345543
http://www.zhougaga.com/android/30466.html

@deprecated 添加过时注释,超级简单的

@deprecated 添加过时注释