for (final Type type : types)
for (final double strike : strikes)
for (final int length : lengths) {
final Date exDate = today.add(new Period(length, TimeUnit.Years));
final Exercise exercise = new EuropeanExercise(exDate);
final List<Date> dividendDates = new ArrayList<Date>();
final List</* @Real */ Double> dividends = new ArrayList<Double>();
dividendDates.add(exercise.lastDate());
dividends.add(dividendValue);
final StrikedTypePayoff payoff = new PlainVanillaPayoff(type, strike);
final StrikedTypePayoff refPayoff = new PlainVanillaPayoff(type, strike + dividendValue);
final BlackScholesMertonProcess stochProcess = new BlackScholesMertonProcess(new Handle<Quote>(spot), qTS, rTS, volTS);