protected String methodDecls(ClassDoc clazz, String cname)
        throws ClassNotFoundException {

        String res = "";
        for (int i = 0; i < methods.length; i++) {
            MethodDoc method = (MethodDoc)methods[i];
            if (method.isNative())
                res = res + methodDecl(method, clazz, cname);
        }
        return res;
    }