for (NameBinding binding : bindings) {
params.add(new Def.Param(binding.getName(), binding.getType()));
}
String mName = lambdaMeth.getAndIncrement() + "$lambda";
this.statements.add(new Defn(new Def(mName, params, innerStatements)));
this.expr = new Immediate(new VarRef(mName));
}