|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.logicalcobwebs.asm.util.PrintClassVisitor
public abstract class PrintClassVisitor
An abstract class visitor that prints the classes it visits.
| Field Summary | |
|---|---|
protected java.lang.StringBuffer |
buf
A buffer that can be used to create strings. |
protected java.io.PrintWriter |
pw
The print writer to be used to print the class. |
protected java.util.List |
text
The text to be printed. |
| Constructor Summary | |
|---|---|
PrintClassVisitor(java.io.PrintWriter pw)
Constructs a new PrintClassVisitor object. |
|
| Method Summary | |
|---|---|
private void |
printList(java.util.List l)
Prints the given string tree to pw. |
void |
visitEnd()
Visits the end of the class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.logicalcobwebs.asm.ClassVisitor |
|---|
visit, visitAttribute, visitField, visitInnerClass, visitMethod |
| Field Detail |
|---|
protected final java.util.List text
protected final java.lang.StringBuffer buf
protected final java.io.PrintWriter pw
| Constructor Detail |
|---|
public PrintClassVisitor(java.io.PrintWriter pw)
PrintClassVisitor object.
pw - the print writer to be used to print the class.| Method Detail |
|---|
public void visitEnd()
ClassVisitor
visitEnd in interface ClassVisitorprivate void printList(java.util.List l)
pw.
l - a string tree, i.e., a string list that can contain other string
lists, and so on recursively.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||