public abstract class PrintClassVisitor extends Object implements ClassVisitor
Modifier and Type | Field and Description |
---|---|
protected StringBuffer |
buf
A buffer that can be used to create strings.
|
protected PrintWriter |
pw
The print writer to be used to print the class.
|
protected List |
text
The text to be printed.
|
Modifier | Constructor and Description |
---|---|
protected |
PrintClassVisitor(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 List text
protected final StringBuffer buf
protected final PrintWriter pw
protected PrintClassVisitor(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()
Copyright © 2021. All rights reserved.