}
public ExampleBooleanFunction createBooleanFunction(String name, List<RutaExpression> args)
throws RutaParseException {
if (args == null || args.size() != 1 || !(args.get(0) instanceof TypeExpression)) {
throw new RutaParseException(
"ExampleBooleanFunction accepts only one TypeExpression as argument!");
}
return new ExampleBooleanFunction((TypeExpression) args.get(0));
}