public ExpressionArgument parse(Annotation annotation, Class<?> parameterType)
{
Evaluator evaluator = annotation.annotationType().getAnnotation(Evaluator.class);
if (evaluator != null)
{
return new ExpressionArgument(null, new ExpressionConfig(parameterType.getName(), evaluator.value(), null), false, parameterType);
}
else
{
throw new IllegalArgumentException("The @Evaluator annotation must be set on an Expression Annotation");
}