void (@NotNull List<? extends CaretState> caretStates, boolean updateSystemSelection) { List<CaretState> convertedStates = convertCaretStates(caretStates); myDelegate.setCaretsAndSelections(convertedStates, updateSystemSelection); }