Type that represents Map-like types; things that consist of key/value pairs but that
do not necessarily implement
, but that do not have enough
introspection functionality to allow for some level of generic handling.
This specifically allows framework to check for configuration and annotation
settings used for Map types, and pass these to custom handlers that may be more
familiar with actual type.
return new MapLikeType(rawType, keyT, valueT, null, null);
Not sure if we should count on this, but type names
for core interfaces are "K" and "V" respectively.
For now let's assume this should work.
if (index == 0) return "K";
if (index == 1) return "V";
Method that can be used for checking whether this type is a
"real" Collection type; meaning whether it represents a parameterized
or just something that acts
if (o == this) return true;
if (o == null) return false;
return (_class == other._class)