Class ConstantCounter

    • Constructor Detail

      • ConstantCounter

        public ConstantCounter()
    • Method Detail

      • getCount

        public int getCount()
        Returns the number of class members that has been visited so far.
        Specified by:
        getCount in interface Counter
      • visitAnyConstant

        public void visitAnyConstant​(Clazz clazz,
                                     Constant constant)
        Description copied from interface: ConstantVisitor
        Visits any Constant instance. The more specific default implementations of this interface delegate to this method.
        Specified by:
        visitAnyConstant in interface ConstantVisitor