protected String getClassName(PackageBuildContext context) {
return "returnValueEvaluator" + context.getNextId();
}
protected AnalysisResult getAnalysis(final PackageBuildContext context,
final ReturnValueDescr descr) {
<BUG>JavaDialect dialect = (JavaDialect) context.getDialect( "java" );
Map<String, Class<?>> variables = new HashMap<String,Class<?>>();
BoundIdentifiers boundIdentifiers = new BoundIdentifiers(variables, context.getKnowledgeBuilder().getGlobals());
</BUG>
AnalysisResult analysis = dialect.analyzeBlock( context,

protected String getClassName(PackageBuildContext context) {
return "returnValueEvaluator" + context.getNextId();
}
protected AnalysisResult getAnalysis(final PackageBuildContext context,
final ReturnValueDescr descr) {
JavaDialect dialect = (JavaDialect) context.getDialect( "java" );
RuleDescr ruleDescr = new RuleDescr(descr.getText());
RuleBuildContext rcontext = new RuleBuildContext( context.getKnowledgeBuilder(), ruleDescr, context.getDialectRegistry(), context.getPkg(), dialect);
Map<String, Class<?>> variables = new HashMap<String,Class<?>>();
BoundIdentifiers boundIdentifiers = new BoundIdentifiers(variables, rcontext);
AnalysisResult analysis = dialect.analyzeBlock( context,
