|
|
@ -35,20 +35,30 @@ public class TabbedPrintWriter { |
|
|
|
ImportHandler imports; |
|
|
|
ImportHandler imports; |
|
|
|
Stack scopes = new Stack(); |
|
|
|
Stack scopes = new Stack(); |
|
|
|
|
|
|
|
|
|
|
|
public TabbedPrintWriter (OutputStream os, ImportHandler imports) { |
|
|
|
public TabbedPrintWriter (OutputStream os, ImportHandler imports, |
|
|
|
pw = new PrintWriter(os, true); |
|
|
|
boolean autoFlush) { |
|
|
|
|
|
|
|
pw = new PrintWriter(os, autoFlush); |
|
|
|
this.imports = imports; |
|
|
|
this.imports = imports; |
|
|
|
this.indentsize = (Decompiler.outputStyle & Decompiler.TAB_SIZE_MASK); |
|
|
|
this.indentsize = (Decompiler.outputStyle & Decompiler.TAB_SIZE_MASK); |
|
|
|
atbol = true; |
|
|
|
atbol = true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public TabbedPrintWriter (Writer os, ImportHandler imports) { |
|
|
|
public TabbedPrintWriter (Writer os, ImportHandler imports, |
|
|
|
pw = new PrintWriter(os, true); |
|
|
|
boolean autoFlush) { |
|
|
|
|
|
|
|
pw = new PrintWriter(os, autoFlush); |
|
|
|
this.imports = imports; |
|
|
|
this.imports = imports; |
|
|
|
this.indentsize = (Decompiler.outputStyle & Decompiler.TAB_SIZE_MASK); |
|
|
|
this.indentsize = (Decompiler.outputStyle & Decompiler.TAB_SIZE_MASK); |
|
|
|
atbol = true; |
|
|
|
atbol = true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public TabbedPrintWriter (OutputStream os, ImportHandler imports) { |
|
|
|
|
|
|
|
this(os, imports, true); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public TabbedPrintWriter (Writer os, ImportHandler imports) { |
|
|
|
|
|
|
|
this(os, imports, true); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public TabbedPrintWriter (OutputStream os) { |
|
|
|
public TabbedPrintWriter (OutputStream os) { |
|
|
|
this(os, null); |
|
|
|
this(os, null); |
|
|
|
} |
|
|
|
} |
|
|
|