示例#1
0
        private void findInterfaces(Env env, ArrayValue array, QuercusClass cls)
        {
            if (cls.isInterface())
            {
                array.put(StringValue.create(cls.getName()),
                          env.wrapJava(new ReflectionClass(cls)));
            }
            else
            {
                ClassDef [] defList = cls.getClassDefList();

                for (int i = 0; i < defList.length; i++)
                {
                    findInterfaces(env, array, defList[i]);
                }
            }
        }