以下是我的方法之一的Java文档。但是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);
        }
}

最佳答案

您的方法是clearSubTypeTableSelection(boolean resetAll, int exceptControl)

不是clearSubTypeTableSelection()

您必须指定参数(类型):

 * @see ViewSubTypeHandler#clearSubTypeTableSelection(boolean, int)

09-04 12:21
查看更多