}
Type type = method.getGenericParameterTypes()[0];
TypeToken typeToken = new TypeToken(type);
Class<?> mappedClass = typeToken.getMappedClass();
if (mappedClass == null || !typeToken.isIterable()) {
throw new IncorrectParameterTypeException("parameter of batch update " +
"expected array or implementations of java.util.List or implementations of java.util.Set " +
"but " + type); // 批量更新的参数必须可迭代
}
return new Type[]{mappedClass};
}