ClassMetaCache { public T put(final Class<?> key, final T value) { ConcurrentHashMap<String, T> container = getClassLoaderCache(key.getClassLoader(), true); return container.put(key(key), value); }  T put(final Class<?> key, final T value); T get(final Class<?> key);  }
@Test public void testPut(){ Assert.assertNotNull(cache); Field[] fields = String.class.getDeclaredFields(); cache.put(String.class, fields); Assert.assertArrayEquals(fields, cache.get(String.class)); }