public int doAfter(Object value,
ASTNode node,
VariableResolverFactory factory) {
DroolsMVELKnowledgeHelper resolver = (DroolsMVELKnowledgeHelper) factory.getVariableResolver( "drools" );
KnowledgeHelper helper = (KnowledgeHelper) resolver.getValue();
helper.modifyInsert( value );
return 0;
}
}