}
}
protected Method getQueryMethod(final Element element,
final String queryType, final List<Object> argList) {
final BeanDesc elementDesc = BeanDescFactory.getBeanDesc(element
.getClass());
if (argList == null || argList.isEmpty()) {
return elementDesc.getMethod(queryType);
} else {
final Class<?>[] paramTypes = new Class[argList.size()];
for (int i = 0; i < paramTypes.length; i++) {
paramTypes[i] = String.class;
}
return elementDesc.getMethod(queryType, paramTypes);
}
}