private @Nullable CodeFloatingToolbar getFloatingToolbar() {
    if (!myEditor.getSelectionModel().hasSelection()) return null;
    return CodeFloatingToolbar.getToolbar(myEditor);
  }
private @Nullable CodeFloatingToolbar getFloatingToolbar()