curPos++;
if (curPos < args.length) {
String regexp = args[curPos];
scopedEntityFilterList.add(
new QualifiedNameBasedScopedEntityFilter(
new RegExpBasedQualifiedNameFilter(regexp, false)));
} else {
throw new CommandLineException.MissingOptionArgument(curArg);
}
} else if (option.equalsIgnoreCase("excludeEntities")) {
// -excludeEntities <regexp>
// exclude the scoped entities matched by the regular expression
// 1 additional argument required
curPos++;
if (curPos < args.length) {
String regexp = args[curPos];
scopedEntityFilterList.add(
new QualifiedNameBasedScopedEntityFilter(
new RegExpBasedQualifiedNameFilter(regexp, true)));
} else {
throw new CommandLineException.MissingOptionArgument(curArg);
}
} else if (option.equalsIgnoreCase("locale")) {