code: private static boolean isMatchesMethod(Method method) {
          if (method.getParameterTypes().length != 1) {
              return false;
          }
          if (method.isBridge()) {
              return false;
          }
          return "matches".equals(method.getName());
      }
docs: Returns <code>true</code> if the given method is
  {@link ArgumentMatcher#matches(Object)}