code: private static boolean goodMethod(Method method) {
      int modifiers = method.getModifiers();
      if (Modifier.isStatic(modifiers) || Modifier.isPrivate(modifiers)) return false;
      // Skip bridge methods generated method by compiler
      // For example. CompareTo(Some) and CompareTo(Object).
      if (method.isBridge()) return false;
      // Skip method in Object
      String methodName = method.getName();
      if (method.getParameterTypes().length == 0
          && (methodName.equals("hashCode") || methodName.equals("toString"))) return false;
      if (method.getParameterTypes().length == 1 & methodName.equals("equals")) return false;
      return true;
    }
docs: Return true when Method is public and not static and not volatile.
  <p>
  javassist.util.proxy.ProxyFactory.getMethods has error due to bridge method.