if (t == Map.class || t == HashMap.class) {
m = new HashMap();
} else if (t == LinkedHashMap.class) {
m = new LinkedHashMap();
} else if (t == IdentityHashMap.class) {
m = new IdentityHashMap();
} else if (t == Hashtable.class) {
m = new Hashtable();
} else if (t == TreeMap.class || t == SortedMap.class) {
m = new TreeMap();
} else if (t == WeakHashMap.class) {