if (ntNames != null) {
if (ntNames.length == 0) {
return Filters.excludeAll();
} else {
filters.add(new UniversalFilter(beforeTree, afterTree,
Selectors.PARENT, new NodeTypePredicate(ntManager, ntNames)));
}
}
filters.add(new ACFilter(beforeTree, afterTree, getTreePermission(afterTree)));
return Filters.all(filters.toArray(new Filter[filters.size()]));