this.hasMoreRequired = hasMoreRequired;
}
}
private boolean moreRequiredExists(Node node, TraverseContext<V> context) {
Node nextNode = node.getNext();
while (nextNode != null) {
if (!(nextNode instanceof OptionalNode)
&& (!(nextNode instanceof RepeatNode) || ((RepeatNode) nextNode)
.getMin() == 0)) {
return true;
}
nextNode = nextNode.getNext();
}
return false;
}