public void init(ASTRootNode rootNode, Method method) {
this.rootNode = rootNode;
if (method.getGenericParameterTypes().length != 1) {
throw new IncorrectParameterCountException("batch update expected one and only one parameter but " +
method.getGenericParameterTypes().length); // 批量更新只能有一个参数
}
Type type = method.getGenericParameterTypes()[0];
TypeToken typeToken = new TypeToken(type);