private void findInterfaces(Env env, ArrayValue array, ClassDef def) { string name = def.getName(); if (def.isInterface()) { addInterface(env, array, name); } else { string [] defList = def.getInterfaces(); for (int i = 0; i < defList.length; i++) { QuercusClass cls = env.findClass(defList[i]); findInterfaces(env, array, cls); } } }