private static Map < TypeVariable < ? > , Type > mergeMaps ( TypeDiscoverer < ? > parent , Map < TypeVariable < ? > , Type > map ) { Map < TypeVariable < ? > , Type > typeVariableMap = new HashMap < TypeVariable < ? > , Type > ( ) ; typeVariableMap . putAll ( map ) ; typeVariableMap . putAll ( parent . getTypeVariableMap ( ) ) ; return typeVariableMap ; }
Merges the type variable maps of the given parent with the new map .