类 ClassProcessingInfoFilter
java.lang.Object
proguard.classfile.visitor.ClassProcessingInfoFilter
- 所有已实现的接口:
ClassVisitor
Delegates all class visits to another given visitor, depending on if the given predicate passes
or not.
-
构造器概要
构造器构造器说明ClassProcessingInfoFilter(Predicate<Object> predicate, ClassVisitor acceptedClassVisitor) Creates a new ClassVisitorInfoFilter.ClassProcessingInfoFilter(Predicate<Object> predicate, ClassVisitor acceptedClassVisitor, ClassVisitor rejectedClassVisitor) Creates a new ClassVisitorInfoFilter that checks the identity of the given visitor info. -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 proguard.classfile.visitor.ClassVisitor
visitLibraryClass, visitProgramClass
-
构造器详细资料
-
ClassProcessingInfoFilter
Creates a new ClassVisitorInfoFilter.- 参数:
predicate- the visitor info predicate to check.acceptedClassVisitor- the class visitor for classes that have the given visitor info.
-
ClassProcessingInfoFilter
public ClassProcessingInfoFilter(Predicate<Object> predicate, ClassVisitor acceptedClassVisitor, ClassVisitor rejectedClassVisitor) Creates a new ClassVisitorInfoFilter that checks the identity of the given visitor info.- 参数:
predicate- the visitor info to check.acceptedClassVisitor- the class visitor for classes that have the given visitor info.rejectedClassVisitor- the class visitor for classes that don't have the given visitor info.
-
-
方法详细资料
-
visitAnyClass
从接口复制的说明:ClassVisitorVisits any Clazz instance. The more specific default implementations of this interface delegate to this method.- 指定者:
visitAnyClass在接口中ClassVisitor
-