| // adding chunk
consequence.append( originalCode.substring( lastAdded,
d.getStart() - 1 ) );
lastAdded = d.getEnd();
Dialect.AnalysisResult mvelAnalysis = mvel.analyzeBlock( context,
context.getRuleDescr(),
mvel.getInterceptors(),
d.getModifyExpression(),
new Set[]{context.getDeclarationResolver().getDeclarations(context.getRule()).keySet(), context.getPkg().getGlobals().keySet()},
null );
|