decompiler: move generated lines as it is stated in debug line table (disabled for now)

This commit is contained in:
Egor.Ushakov
2014-10-07 20:37:21 +04:00
parent 9f9da912f6
commit 125441a88f
18 changed files with 231 additions and 40 deletions

View File

@@ -236,7 +236,7 @@ public class ClassesProcessor {
}
}
public void writeClass(StructClass cl, StringBuilder buffer) throws IOException {
public void writeClass(StructClass cl, TextBuffer buffer) throws IOException {
ClassNode root = mapRootClasses.get(cl.qualifiedName);
if (root.type != ClassNode.CLASS_ROOT) {
return;
@@ -260,7 +260,7 @@ public class ClassesProcessor {
new NestedMemberAccess().propagateMemberAccess(root);
StringBuilder classBuffer = new StringBuilder(AVERAGE_CLASS_SIZE);
TextBuffer classBuffer = new TextBuffer(AVERAGE_CLASS_SIZE);
new ClassWriter().classToJava(root, classBuffer, 0);
String lineSeparator = DecompilerContext.getNewLineSeparator();