final SimpleQuote qRate = new SimpleQuote(-0.03);
final YieldTermStructure qTS = Utilities.flatRate(today, qRate, dc);
final SimpleQuote rRate = new SimpleQuote(0.05);
final YieldTermStructure rTS = Utilities.flatRate(today, rRate, dc);
final SimpleQuote vol = new SimpleQuote(0.20);
final BlackVolTermStructure volTS = Utilities.flatVol(today, vol, dc);
final BlackScholesMertonProcess stochProcess = new BlackScholesMertonProcess(
new Handle<Quote>(spot), new Handle<YieldTermStructure>(qTS),
new Handle<YieldTermStructure>(rTS), new Handle<BlackVolTermStructure>(volTS));
final PricingEngine engine = new AnalyticContinuousGeometricAveragePriceAsianEngine(stochProcess);