1
以下是我的一種方法的Java Doc。但JDeveloper是給了@see
部分針對java文檔的Doc參考警告
/**
* 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);
}
}
也許'ViewSubTypeHandler'的import語句缺失? – MrSmith42
代碼中該方法的簽名是什麼? – Fildor
@Fildor我已經把問題的代碼。 – Geek