Class ClassCounter

java.lang.Object
proguard.classfile.visitor.ClassCounter
All Implemented Interfaces:
ClassVisitor, Counter

public class ClassCounter extends Object implements ClassVisitor, Counter
This ClassVisitor counts the number of classes that has been visited.
  • Constructor Details

    • ClassCounter

      public ClassCounter()
  • Method Details

    • getCount

      public int getCount()
      Description copied from interface: Counter
      Returns the current value of the counter.
      Specified by:
      getCount in interface Counter
    • visitAnyClass

      public void visitAnyClass(Clazz clazz)
      Description copied from interface: ClassVisitor
      Visits any Clazz instance. The more specific default implementations of this interface delegate to this method.
      Specified by:
      visitAnyClass in interface ClassVisitor