decompiler: provide line numbers mapping inside lambdas

This commit is contained in:
Egor.Ushakov
2015-01-21 21:46:45 +03:00
parent a74f586e34
commit 9ba9af5425
3 changed files with 78 additions and 13 deletions

View File

@@ -253,7 +253,7 @@ public class NewExprent extends Exprent {
}
Exprent methodObject = constructor == null ? null : constructor.getInstance();
TextBuffer clsBuf = new TextBuffer();
new ClassWriter().classLambdaToJava(child, clsBuf, methodObject, indent);
new ClassWriter().classLambdaToJava(child, clsBuf, methodObject, indent, tracer);
buf.append(clsBuf);
tracer.incrementCurrentSourceLine(clsBuf.countLines());
}