joinNode.addLastChild(leftChild);
List leftExpressions = (List)joinNode.getProperty(NodeConstants.Info.LEFT_EXPRESSIONS);
List rightExpressions = (List)joinNode.getProperty(NodeConstants.Info.RIGHT_EXPRESSIONS);
joinNode.setProperty(NodeConstants.Info.LEFT_EXPRESSIONS, rightExpressions);
joinNode.setProperty(NodeConstants.Info.RIGHT_EXPRESSIONS, leftExpressions);
JoinType jt = (JoinType)joinNode.getProperty(NodeConstants.Info.JOIN_TYPE);
joinNode.setProperty(NodeConstants.Info.JOIN_TYPE, jt.getReverseType());
}