return joinImpl;
}
public <X, T, E extends T> SetJoin<X, E> treat(SetJoin<X, T> join, Class<E> type) {
SetJoinImpl parentJoin = (SetJoinImpl)join;
SetJoin joinImpl = null;
if (join instanceof BasicSetJoinImpl) {
joinImpl = new BasicSetJoinImpl<X, E>(parentJoin, this.metamodel, type,
parentJoin.currentNode.treat(type), parentJoin.getModel(), parentJoin.getJoinType());
} else {
joinImpl = new SetJoinImpl<X, E>((Path)join, this.metamodel.managedType(type), this.metamodel,