private void addSeparator(VkMenuBarHorizontal menuBar) { menuBar.getSeperatorIndices().add(menuBar.getSeparatorIndex(menuBar.addSeparator())); }