public abstract class PrintClassVisitor extends java.lang.Object implements ClassVisitor
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier | Constructor and Description |
---|---|
protected |
PrintClassVisitor(java.io.PrintWriter pw)
Constructs a new
PrintClassVisitor object. |
Modifier and Type | Method and Description |
---|---|
static Attribute[] |
getDefaultAttributes() |
void |
visitEnd()
Visits the end of the class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visit, visitAttribute, visitField, visitInnerClass, visitMethod
protected final java.util.List text
protected final java.lang.StringBuffer buf
protected final java.io.PrintWriter pw
protected PrintClassVisitor(java.io.PrintWriter pw)
PrintClassVisitor
object.pw
- the print writer to be used to print the class.public void visitEnd()
ClassVisitor
visitEnd
in interface ClassVisitor
public static Attribute[] getDefaultAttributes()