docs: public static Method findMatchingMethod(Method originalMethod, String methodName) {
          Class<?> originalClass = originalMethod.getDeclaringClass();
  
          return AccessController.doPrivileged(new PrivilegedAction<Method>() {
              @Override
              public Method run() {
                  return findMatchingMethod(originalMethod, methodName, originalClass, new ResolutionContext(), originalClass);
              }
          });
      }