public ReflectionClass getClass(Env env)
        {
            string name = _arg.getExpectedClass();

            if (name == null)
            {
                return(null);
            }

            ReflectionClass cls = new ReflectionClass(env, name);

            return(cls);
        }
        private ReflectionClass getDeclaringClass(Env env, QuercusClass cls)
        {
            if (cls == null)
            {
                return(null);
            }

            ReflectionClass refClass = getDeclaringClass(env, cls.getParent());

            if (refClass != null)
            {
                return(refClass);
            }
            else if (cls.findFunction(_fun.getCallbackName()) != null)
            {
                return(new ReflectionClass(cls));
            }
            else
            {
                return(null);
            }
        }