private static void cacheMethod ( MethodDescriptor md , Method method ) { if ( CACHE_METHODS ) { if ( method != null ) { cache . put ( md , new WeakReference < Method > ( method ) ) ; } } }
Add a method to the cache .