if(type instanceof MapCompositeMetaType)
{
if((value instanceof Map) == false)
throw new RuntimeException("Expected Map value for: " + type+", was: "+(value != null ? value.getClass() : "null"));
Map<String,?> map = (Map) value;
MapCompositeMetaType mapType = (MapCompositeMetaType) type;
MetaType mapValueType = mapType.getValueType();
MapCompositeValueSupport result = new MapCompositeValueSupport(mapValueType);
for(Entry<String,?> entry : map.entrySet())
{
Object entryValue = entry.getValue();
MetaValue entryMetaValue = internalCreate(entryValue, null, mapValueType);