Gre*_*reg 6 android comments overriding javadoc
我的问题不是编程问题.
我必须为JavaDoc注释我的代码,但我认为重新评论现有方法(我考虑@Override方法)有点奇怪.
例如,我重写该方法onListItemClick,是否有解决方案将用户"重定向"到重写方法的注释?
Op *_*kel 13
使用:/** {@inheritDoc} */或{@link package.class#member label}
http://download.oracle.com/javase/1.4.2/docs/tooldocs/windows/javadoc.html#{@inheritDoc}
尝试{@inheritDoc}属性.这应该做你需要的.
您还可以在此标记之后或之前添加一些其他帮助注释.这是android源代码的一个例子:
/**
* {@inheritDoc}
*
* Note that if you're calling on a local binder, this always returns true
* because your process is alive if you're calling it.
*/
public boolean isBinderAlive() {
return true;
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1776 次 |
| 最近记录: |