code: private static Method getCachedMethod(MethodDescriptor md) {
          if (CACHE_METHODS) {
              Reference<Method> methodRef = cache.get(md);
              if (methodRef != null) {
                  return methodRef.get();
              }
          }
          return null;
      }
docs: Return the method from the cache, if present.
  
  @param md The method descriptor
  @return The cached method