returnType == double.class ) ) {
return new MVELNumberClassFieldReader( className, expr, typesafe );
} else if ( Date.class.isAssignableFrom( returnType ) ) {
return new MVELDateClassFieldReader( className, expr, typesafe );
} else {
return new MVELObjectClassFieldReader( className, expr, typesafe );
}
}