private void put(Method method) { String methodKey = makeMethodKey(method); // We don't overwrite methods because we fill the // cache from defined class towards java.lang.Object // and that would cause overridden methods to appear // as if they were not overridden. if (cache.get(methodKey) == null) { cache.put(methodKey, method); methodMap.add(method); if (debugReflection) { log.debug("Adding {}", method); } } }
private void put(Method method) { String methodKey = makeMethodKey(method); // We don't overwrite methods because we fill the // cache from defined class towards java.lang.Object // and that would cause overridden methods to appear // as if they were not overridden. if (cache.get(methodKey) == null) { cache.put(methodKey, method); methodMap.add(method); if (debugReflection && log.isDebugEnabled()) { log.debug("Adding " + method); } } }
private void put(Method method) { String methodKey = makeMethodKey(method); // We don't overwrite methods because we fill the // cache from defined class towards java.lang.Object // and that would cause overridden methods to appear // as if they were not overridden. if (cache.get(methodKey) == null) { cache.put(methodKey, method); methodMap.add(method); if (debugReflection && log.isDebugEnabled()) { log.debug("Adding " + method); } } }
methodMap.add( publicMethod ); methodCache.put( makeMethodKey( publicMethod), publicMethod);