以下是我的一种方法的Java Doc。但是JDeveloper正在为@see
部分
/**
* Clears the selections on all the tables containig view sub types except the currently selected one
* @param exceptControl index of the sub type table whose selection needs to be preserved
* @see ViewSubTypeHandler#clearSubTypeTableSelection()
*/
Warning : Doc reference clearSubTypeTableSelection not found.
这是什么警告信息以及如何解决此问题?
这是发出警告的方法的代码:
private void clearSubTypeTableSelection(boolean resetAll, int exceptControl) {
if (!resetAll) {
clearAllExceptCurrent(exceptControl);
} else {
clearAll();
}
}
这是有问题的javadoc的方法:
private void clearAllExceptCurrent(int exceptControl) {
for (int i = 0; i < SUBTYPE_TABLES; i++)
if (i != exceptControl && getSubTypeTable(i).getSelectedRowKeys() != null) {
RichTable richTable = getSubTypeTable(i);
RowKeySet rowkeySet = richTable.getSelectedRowKeys();
rowkeySet.clear();
AdfFacesContext.getCurrentInstance().addPartialTarget(richTable);
}
}
答案 0 :(得分:3)
您的方法是clearSubTypeTableSelection(boolean resetAll, int exceptControl)
不是clearSubTypeTableSelection()
您必须指定参数(类型):
* @see ViewSubTypeHandler#clearSubTypeTableSelection(boolean, int)