@Override
	protected void parseInternal(Method method, Map<String, Integer> paramIndexes,
			Map<String, Integer> batchParamIndexes) throws DaoGenerateException {
		MongoCollection collection = method.getAnnotation(MongoCollection.class);
		if (collection != null) {
			globalCollectionName = collection.value();
		}

		Annotation[][] annotations = method.getParameterAnnotations();
		Class<?>[] paramTypes = method.getParameterTypes();
		for (int index = 0; index < annotations.length; index++) {

			for (Annotation annotation : annotations[index]) {
				Class<? extends Annotation> annotationType = annotation.annotationType();
				if (MongoCollection.class.equals(annotationType)) {
					if (net.energy.utils.ClassHelper.isTypeString(paramTypes[index])) {
						collectionIndex = index;
					}
				}
			}
		}
	}