docs: public String instanceName(Object instance) {
  		if (instance == null) {
  			return "null";
  		}
  		if (instance instanceof Class) {
  			return unqualifiedClassName((Class<?>) instance);
  		} else {
  			String result = valueToName.get(instance);
  			if (result != null) {
  				return result;
  			}
  			Class<?> type = instance.getClass();
  			String className = unqualifiedClassName(type);
  
  			Integer size = nameToCount.get(className);
  			int instanceNumber = (size == null) ? 0 : (size).intValue() + 1;
  			nameToCount.put(className, new Integer(instanceNumber));
  
  			result = className + instanceNumber;
  			valueToName.put(instance, result);
  			return result;
  		}
  	}