if (methodHashes == null)
{
methodHashes = getInterfaceHashes(method.getDeclaringClass());
// Copy and add
WeakHashMap newHashMap = new WeakHashMap();
newHashMap.putAll(hashMap);
newHashMap.put(method.getDeclaringClass(), methodHashes);
hashMap = newHashMap;
}
return ((Long)methodHashes.get(method.toString())).longValue();
}