title: How to use ClassValue as type cache that has put() method?
body: <p>I would like to use <code>ClassValue</code> as a type cache. However, I would like to assign some values to a type. For that, I can not use <code>computeValue()</code>, as mapping is defined outside, i.e. is not pre-deterministic.</p>
  
  <p>I see there is a <code>put</code> method in <code>ClassValue</code> but it is not accessible.</p>
  
  <p>There is also no sense to have a <code>Map&lt;Class, ?&gt;</code> in my <code>ClassValue</code> implementation.</p>
  
  <p>I wonder if using class names instead of <code>Class</code> is a better option?</p>
  
  <p>How to use <code>ClassValue</code> as a cache?</p>