类 ConstantCounter
- java.lang.Object
-
- proguard.classfile.constant.visitor.ConstantCounter
-
- 所有已实现的接口:
ConstantVisitor,Counter
public class ConstantCounter extends java.lang.Object implements ConstantVisitor, Counter
ThisConstantVisitorcounts the number of constants that have been visited.
-
-
构造器概要
构造器 构造器 说明 ConstantCounter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetCount()Returns the number of class members that has been visited so far.voidvisitAnyConstant(Clazz clazz, Constant constant)Visits any Constant instance.-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 proguard.classfile.constant.visitor.ConstantVisitor
visitAnyMethodrefConstant, visitAnyRefConstant, visitClassConstant, visitDoubleConstant, visitDynamicConstant, visitFieldrefConstant, visitFloatConstant, visitIntegerConstant, visitInterfaceMethodrefConstant, visitInvokeDynamicConstant, visitLongConstant, visitMethodHandleConstant, visitMethodrefConstant, visitMethodTypeConstant, visitModuleConstant, visitNameAndTypeConstant, visitPackageConstant, visitPrimitiveArrayConstant, visitStringConstant, visitUtf8Constant
-
-
-
-
方法详细资料
-
getCount
public int getCount()
Returns the number of class members that has been visited so far.
-
visitAnyConstant
public void visitAnyConstant(Clazz clazz, Constant constant)
从接口复制的说明:ConstantVisitorVisits any Constant instance. The more specific default implementations of this interface delegate to this method.- 指定者:
visitAnyConstant在接口中ConstantVisitor
-
-