System.arraycopy(args, offset, methodArgs, 0, consumableLength);
offset += consumableLength;
try {
resolvedExpressions.add((QueryExpression) entry.getValue().invoke(entry.getKey(), methodArgs));
} catch (Exception e) {
throw new UnableToBuildQueryExpression(entry.getKey(), entry.getValue(), methodArgs, e);
}
}
QueryExpression queryExpression = combinator.create(resolvedExpressions);
// Creates an array of parameters going from 0 to offset
Object[] modeArgs = new Object[mode.getOffset()];