类 FilteredClassVisitor
java.lang.Object
proguard.classfile.visitor.FilteredClassVisitor
- 所有已实现的接口:
ClassPoolVisitor
This
ClassPoolVisitor lets a given ClassVisitor visit all matching Clazz
instances of the class pools it visits.-
构造器概要
构造器构造器说明FilteredClassVisitor(String classNameFilter, ClassVisitor classVisitor) Creates a new FilteredClassVisitor with the given class name filter and visitor.FilteredClassVisitor(StringMatcher classNameFilter, ClassVisitor classVisitor) Creates a new FilteredClassVisitor with the given class name filter and visitor. -
方法概要
-
构造器详细资料
-
FilteredClassVisitor
Creates a new FilteredClassVisitor with the given class name filter and visitor.- 参数:
classNameFilter- the regular expression that is used to filter the classes of aClassPoolthat must be visited. If the value ofclassNameFilteris null, then no classes can possibly match, so this instance will never visit anyClassPool.classVisitor- the visitor that is passed along when aClassPoolis visited.
-
FilteredClassVisitor
Creates a new FilteredClassVisitor with the given class name filter and visitor.- 参数:
classNameFilter- the filter that is used to filter the classes of aClassPoolthat must be visited. If the value ofclassNameFilteris null, then no classes can possibly match, so this instance will never visit anyClassPool.classVisitor- the visitor that is passed along when aClassPoolis visited.
-
-
方法详细资料
-
visitClassPool
- 指定者:
visitClassPool在接口中ClassPoolVisitor
-