boolean (@NotNull Content content, boolean implicit) { if (!myUI.canChangeSelectionTo(content, implicit)) { return false; } boolean result = !isSelected(content) || myContentWithChangedComponent.contains(content); myContentWithChangedComponent.remove(content); return result; }