decompiler: move generated lines as it is stated in debug line table (disabled for now)
This commit is contained in:
@@ -4,6 +4,7 @@ import java.util.HashMap;
|
||||
import java.util.Map.Entry;
|
||||
|
||||
import org.jetbrains.java.decompiler.main.DecompilerContext;
|
||||
import org.jetbrains.java.decompiler.main.TextBuffer;
|
||||
import org.jetbrains.java.decompiler.util.InterpreterUtil;
|
||||
|
||||
public class BytecodeSourceMapper {
|
||||
@@ -37,7 +38,7 @@ public class BytecodeSourceMapper {
|
||||
}
|
||||
}
|
||||
|
||||
public void dumpMapping(StringBuilder buffer) {
|
||||
public void dumpMapping(TextBuffer buffer) {
|
||||
|
||||
String lineSeparator = DecompilerContext.getNewLineSeparator();
|
||||
String indentstr1 = InterpreterUtil.getIndentString(1);
|
||||
|
||||
@@ -18,6 +18,7 @@ package org.jetbrains.java.decompiler.main.collectors;
|
||||
import org.jetbrains.java.decompiler.main.ClassesProcessor;
|
||||
import org.jetbrains.java.decompiler.main.ClassesProcessor.ClassNode;
|
||||
import org.jetbrains.java.decompiler.main.DecompilerContext;
|
||||
import org.jetbrains.java.decompiler.main.TextBuffer;
|
||||
import org.jetbrains.java.decompiler.struct.StructContext;
|
||||
|
||||
import java.util.*;
|
||||
@@ -107,7 +108,7 @@ public class ImportCollector {
|
||||
return retname == null ? nshort : retname;
|
||||
}
|
||||
|
||||
public int writeImports(StringBuilder buffer) {
|
||||
public int writeImports(TextBuffer buffer) {
|
||||
|
||||
int importlines_written = 0;
|
||||
String new_line_separator = DecompilerContext.getNewLineSeparator();
|
||||
|
||||
Reference in New Issue
Block a user