private boolean sameNameAndParams(Method m1, Method m2) {
        if (!m1.getName().equals(m2.getName())) return false;
        if (m1.getParameterTypes().length!=m2.getParameterTypes().length) return false;
        for (int i = 0; i<m1.getParameterTypes().length; i++) {
            if (!m1.getParameterTypes()[i].equals(m2.getParameterTypes()[i])) return false;
        }
        return true;
    }
To make it less likely to break schema mapping, we enforce that ProxyDocument does wrap every public
non-static, non-final method on Document and StructuredFieldValue
docproc/src/test/java/com/yahoo/docproc/proxy/SchemaMappingAndAccessesTest.java