moduleFilter = new ExcludeTestModulesFilter(getWorkspace());
} else {
moduleFilter = new AcceptAllModulesFilter();
}
QualifiedNameFilter functionFilter;
if (chooser.shouldExcludeFunctionsByRegexp()) {
functionFilter = new RegExpBasedUnqualifiedNameFilter(chooser.getExcludeFunctionsRegexp(), true);
} else {
functionFilter = new AcceptAllQualifiedNamesFilter();
}