use of coreVisitors.CloneWithPath in project L42 by ElvisResearchGroup.
the class IsValidCompleteCode method isComplete.
boolean isComplete(ClassB cb) {
boolean[] found = { false };
cb.accept(new CloneWithPath() {
@Override
protected Path liftP(Path p) {
Locator l = this.getLocator().copy();
if (p.outerNumber() > l.size()) {
found[0] = true;
}
return super.liftP(p);
}
});
return found[0];
}
Aggregations