Integer (@Nullable Integer delegateNodeIndex) { if (delegateNodeIndex == null) return null; if (myDelegateNodesVisibility.isVisible(delegateNodeIndex)) { return myNodesMap.getShortIndex(delegateNodeIndex); } else { return -1; } }