docs: private static boolean isMatchesMethod(Method method) {
          if (method.getParameterTypes().length != 1) {
              return false;
          }
          if (method.isBridge()) {
              return false;
          }
          return "matches".equals(method.getName());
      }