Class SimpleClassPrinter

java.lang.Object
proguard.classfile.visitor.SimpleClassPrinter
All Implemented Interfaces:
ClassVisitor, MemberVisitor

public class SimpleClassPrinter extends 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 Details

    • 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, PrintWriter printWriter)
      Creates a new SimpleClassPrinter that prints to the given writer, with or without the access modifiers.
  • Method Details