@Test public void testGetMapValueParameterType() throws Exception { final MethodParameter methodParameter = getConfigureMapMethodParameter(); final Class<?> mapValueParameterType = GenericCollectionTypeResolver.getMapValueParameterType(methodParameter); assertEquals(Integer.class, mapValueParameterType); }
public static Class<?> getMapValueParameterType(MethodParameter methodParam) { return getGenericParameterType(methodParam, Map.class, 1); }
GenericCollectionTypeResolver { public static Class<?> getMapValueParameterType(MethodParameter methodParam) { return getGenericParameterType(methodParam, Map.class, 1); } }
GenericCollectionTypeResolver { public static Class<?> getMapValueParameterType(MethodParameter methodParam) { return getGenericParameterType(methodParam, Map.class, 1); }  }
GenericCollectionTypeResolver { public static Class<?> getMapValueParameterType(MethodParameter methodParam) { return getGenericParameterType(methodParam, Map.class, 1); }  static Class<?> getCollectionFieldType(Field collectionField); static Class<?> getMapKeyFieldType(Field mapField); static Class<?> getMapValueFieldType(Field mapField); static Class<?> getCollectionParameterType(MethodParameter methodParam); static Class<?> getMapKeyParameterType(MethodParameter methodParam); static Class<?> getMapValueParameterType(MethodParameter methodParam); }
GenericCollectionTypeResolver { public static Class<?> getMapValueParameterType(MethodParameter methodParam) { return getGenericParameterType(methodParam, Map.class, 1); }  static Class<?> getCollectionFieldType(Field collectionField); static Class<?> getMapKeyFieldType(Field mapField); static Class<?> getMapValueFieldType(Field mapField); static Class<?> getCollectionParameterType(MethodParameter methodParam); static Class<?> getMapKeyParameterType(MethodParameter methodParam); static Class<?> getMapValueParameterType(MethodParameter methodParam);  }