protected final boolean needLongName(MethodDoc method,
                                         ClassDoc clazz)
        throws ClassNotFoundException {
        String methodName = method.name();
        for (int i = 0; i < methods.length; i++) {
            MethodDoc memberMethod = (MethodDoc) methods[i];
            if ((memberMethod != method) &&
                memberMethod.isNative() && (methodName == memberMethod.name()))
                return true;
        }
        return false;
    }