String expression = ((Lookup) annotation).value();
if(StringUtils.isEmpty(expression))
{
expression = "type:" + parameterType.getName();
}
return new ExpressionArgument(null, new ExpressionConfig(expression,
evaluator.value(), null), ((Lookup) annotation).optional(), parameterType);
}
else
{
throw new IllegalArgumentException("The @Evaluator annotation must be set on an Expression Annotation");