title: How can I represent a Map class member in UML?
body: <p>When I have a class with a Map member, I don't want to draw a separate class/interface object to represent the Map itself, but I'd prefer to treat the map as if it was a native type, rather than a complex object.</p>
  
  <p>Consider the following example</p>
  
  <pre><code>public class IndexManagerImpl implements IndexManager {
      /* ... */
  
      private static Map&lt;Searcher, Integer&gt; searcherCache;
  }
  </code></pre>
  
  <p>I'd like to highlight the fact that an <code>IndexManagerImpl</code> holds (although indirectly) references to <code>Searcher</code> instances.
  It would be great if the representation could also show the type parameters of <code>searcherCache</code>.</p>