}
public boolean continueMatch(boolean after, AnnotationFS annotation, RuleElement ruleElement,
RuleMatch ruleMatch, ComposedRuleElementMatch containerMatch, RutaStream stream,
InferenceCrowd crowd) {
RuleElement nextElement = ruleElement.getContainer().getNextElement(after, ruleElement);
if (nextElement == null) {
return false;
}
ComposedRuleElementMatch extendedContainerMatch = containerMatch.copy();
RuleMatch extendedMatch = ruleMatch.copy(extendedContainerMatch);
nextElement.continueMatch(after, annotation, extendedMatch, null, extendedContainerMatch, null,
nextElement, stream, crowd);
List<RuleElementMatch> nextList = extendedContainerMatch.getInnerMatches().get(nextElement);
return nextList == null || nextList.isEmpty();
}