HashClassMap extends HashMap<Class<? extends T>, T> implements ClassMap<T> { @Override public Map<Class<? extends T>, T> map() { return this; } HashClassMap();   HashClassMap(int capacity); @Override Map<Class<? extends T>, T> map();  }
@Test void map() { assertSame(map, map.map()); }
@Test void map() { assertSame(proxied, map.map()); }