类 FilteredClassVisitor

    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void visitClassPool​(ClassPool classPool)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • FilteredClassVisitor

        public FilteredClassVisitor​(java.lang.String classNameFilter,
                                    ClassVisitor classVisitor)
        Creates a new FilteredClassVisitor with the given class name filter and visitor.
        参数:
        classNameFilter - the regular expression that is used to filter the classes of a ClassPool that must be visited. If the value of classNameFilter is null, then no classes can possibly match, so this instance will never visit any ClassPool.
        classVisitor - the visitor that is passed along when a ClassPool is visited.
      • FilteredClassVisitor

        public FilteredClassVisitor​(StringMatcher classNameFilter,
                                    ClassVisitor classVisitor)
        Creates a new FilteredClassVisitor with the given class name filter and visitor.
        参数:
        classNameFilter - the filter that is used to filter the classes of a ClassPool that must be visited. If the value of classNameFilter is null, then no classes can possibly match, so this instance will never visit any ClassPool.
        classVisitor - the visitor that is passed along when a ClassPool is visited.