Class SimpleClassPrinter

  • All Implemented Interfaces:
    ClassVisitor, MemberVisitor

    public class SimpleClassPrinter
    extends java.lang.Object
    implements ClassVisitor, MemberVisitor
    This ClassVisitor and MemberVisitor prints out the class names of the classes it visits, and the full class member descriptions of the class members it visits. The names are printed in a readable, Java-like format. The access modifiers can be included or not.
    • Constructor Detail

      • SimpleClassPrinter

        public SimpleClassPrinter​(boolean printAccessModifiers)
        Creates a new SimpleClassPrinter that prints to the standard output, with or without the access modifiers.
      • SimpleClassPrinter

        public SimpleClassPrinter​(boolean printAccessModifiers,
                                  java.io.PrintWriter printWriter)
        Creates a new SimpleClassPrinter that prints to the given writer, with or without the access modifiers.