void (AntDomElement element) { if (myStopped) { return; } if (element.equals(myContextElement)) { stop(); } else { if (element instanceof PropertiesProvider) { propertyProviderFound(((PropertiesProvider)element)); } } if (!myStopped) { //super.visitAntDomElement(element); for (Iterator<AntDomElement> iterator = element.getAntChildrenIterator(); iterator.hasNext();) { AntDomElement child = iterator.next(); child.accept(this); if (myStage == Stage.TARGETS_WALKUP_STAGE) { if (myStopped) { break; } } } } }