public void body(MethodVisitor mv) {
mv.visitInsn(ACONST_NULL);
mv.visitInsn(ARETURN);
}
}).addMethod(ACC_PUBLIC, "replaceDeclaration", generator.methodDescr(null, Declaration.class, Declaration.class)
).addMethod(ACC_PUBLIC, "evaluate", generator.methodDescr(FieldValue.class, Object.class, Tuple.class, Declaration[].class, Declaration[].class, WorkingMemory.class, Object.class), new String[]{"java/lang/Exception"}, new EvaluateMethod() {
public void body(MethodVisitor mv) {
final Declaration[] previousDeclarations = (Declaration[])vars.get("declarations");
final String[] previousDeclarationTypes = (String[])vars.get("declarationTypes");
final Declaration[] localDeclarations = (Declaration[])vars.get("localDeclarations");
final String[] localDeclarationTypes = (String[])vars.get("localDeclarationTypes");