docs: private static Method getCachedMethod(MethodDescriptor md) {
          if (CACHE_METHODS) {
              Reference<Method> methodRef = cache.get(md);
              if (methodRef != null) {
                  return methodRef.get();
              }
          }
          return null;
      }