|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jode.decompiler.TabbedPrintWriter
Field Summary | |
static int |
BRACE_AT_EOL
|
static int |
DONT_BREAK
|
static int |
EXPL_PAREN
|
static int |
GNU_SPACING
|
static int |
IMPL_PAREN
|
static int |
INDENT_BRACES
|
static int |
NO_PAREN
|
Constructor Summary | |
TabbedPrintWriter(java.io.OutputStream os)
|
|
TabbedPrintWriter(java.io.OutputStream os,
ImportHandler imports)
|
|
TabbedPrintWriter(java.io.OutputStream os,
ImportHandler imports,
boolean autoFlush)
|
|
TabbedPrintWriter(java.io.OutputStream os,
ImportHandler imports,
boolean autoFlush,
int style,
int indentSize,
int tabWidth,
int lineWidth)
|
|
TabbedPrintWriter(java.io.Writer os)
|
|
TabbedPrintWriter(java.io.Writer os,
ImportHandler imports)
|
|
TabbedPrintWriter(java.io.Writer os,
ImportHandler imports,
boolean autoFlush)
|
|
TabbedPrintWriter(java.io.Writer os,
ImportHandler imports,
boolean autoFlush,
int style,
int indentSize,
int tabWidth,
int lineWidth)
|
Method Summary | |
void |
breakOp()
|
void |
close()
|
void |
closeBrace()
|
void |
closeBraceClass()
|
void |
closeBraceContinue()
|
void |
closeBraceNoIndent()
|
boolean |
conflicts(java.lang.String name,
Scope inScope,
int context)
Checks if the name in inScope conflicts with an identifier in a higher scope. |
void |
endOp()
|
void |
flush()
|
void |
flushLine()
|
java.lang.String |
getClassString(ClassInfo clazz,
int scopeType)
|
Scope |
getScope(java.lang.Object obj,
int scopeType)
|
java.lang.String |
getTypeString(Type type)
|
protected java.lang.String |
makeIndentStr(int indent)
Convert the numeric indentation to a string. |
void |
openBrace()
Print a opening brace with the current indentation style. |
void |
openBraceClass()
|
void |
openBraceNoIndent()
Print a opening brace with the current indentation style. |
void |
openBraceNoSpace()
Print an opening brace with the current indentation style. |
void |
popScope()
|
void |
print(java.lang.String str)
|
void |
println()
|
void |
println(java.lang.String str)
|
void |
printOptionalSpace()
|
void |
printType(Type type)
|
void |
pushScope(Scope scope)
|
void |
restoreOps(java.lang.Object s)
|
java.lang.Object |
saveOps()
|
void |
startOp(int options,
int penalty)
|
void |
tab()
|
void |
untab()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int BRACE_AT_EOL
public static final int INDENT_BRACES
public static final int GNU_SPACING
public static final int EXPL_PAREN
public static final int NO_PAREN
public static final int IMPL_PAREN
public static final int DONT_BREAK
Constructor Detail |
public TabbedPrintWriter(java.io.OutputStream os, ImportHandler imports, boolean autoFlush, int style, int indentSize, int tabWidth, int lineWidth)
public TabbedPrintWriter(java.io.Writer os, ImportHandler imports, boolean autoFlush, int style, int indentSize, int tabWidth, int lineWidth)
public TabbedPrintWriter(java.io.OutputStream os, ImportHandler imports, boolean autoFlush)
public TabbedPrintWriter(java.io.Writer os, ImportHandler imports, boolean autoFlush)
public TabbedPrintWriter(java.io.OutputStream os, ImportHandler imports)
public TabbedPrintWriter(java.io.Writer os, ImportHandler imports)
public TabbedPrintWriter(java.io.OutputStream os)
public TabbedPrintWriter(java.io.Writer os)
Method Detail |
protected java.lang.String makeIndentStr(int indent)
public void tab()
public void untab()
public void startOp(int options, int penalty)
public void breakOp()
public void endOp()
public java.lang.Object saveOps()
public void restoreOps(java.lang.Object s)
public void println(java.lang.String str)
public void flushLine()
public void println()
public void print(java.lang.String str)
public void printType(Type type)
public void pushScope(Scope scope)
public void popScope()
public boolean conflicts(java.lang.String name, Scope inScope, int context)
public Scope getScope(java.lang.Object obj, int scopeType)
public java.lang.String getClassString(ClassInfo clazz, int scopeType)
public java.lang.String getTypeString(Type type)
public void printOptionalSpace()
public void openBrace()
public void openBraceClass()
public void openBraceNoIndent()
public void openBraceNoSpace()
public void closeBraceContinue()
public void closeBraceClass()
public void closeBrace()
public void closeBraceNoIndent()
public void flush()
public void close()
|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |