add reflection support
ReflectionFunction::hasReturnType