static private function getReturnClass(ReflectionFunctionAbstract $reflection)
    {
        $type = $reflection->getReturnType();

        if (null === $type || $type->isBuiltin()) {
            return null;
        }

        return (string) $type;
    }