if (twoFiltersInFirstMatcher) {
finder.addRelation(MockRelation.DIRECTORY, true, false);
}
RelationshipSetAdapter setAdapter =
new RelationshipSetAdapter("Temporary", finder, relations);
term = new PathMatcherTerm(setAdapter, recursive, false);
pathExpression.addPathMatcher(term);
finder = new MultipleDirectedRelationFinder();
finder.addRelation(MockRelation.CLASS, true, false);
// cumulative!
setAdapter = new RelationshipSetAdapter("Temporary", finder, relations);
term = new PathMatcherTerm(setAdapter, recursive, cumulativeSecondMatcher);
pathExpression.addPathMatcher(term);
return pathExpression;
}