boolean (@NotNull final ASTNode child) { if (myNode.getElementType() != JavaElementType.CONDITIONAL_EXPRESSION) return false; final int role = ((CompositeElement)child.getTreeParent()).getChildRole(child); return role == ChildRole.OPERATION_SIGN || role == ChildRole.COLON; }