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.
Consider the following example
public class IndexManagerImpl implements IndexManager {
/* ... */
private static Map<Searcher, Integer> searcherCache;
}
I'd like to highlight the fact that an IndexManagerImpl
holds (although indirectly) references to Searcher
instances.
It would be great if the representation could also show the type parameters of searcherCache
.