类 ImplementedClassFilter
java.lang.Object
proguard.classfile.visitor.ImplementedClassFilter
- 所有已实现的接口:
ClassVisitor
This
ClassVisitor delegates its visits to one of two given ClassVisitors,
depending on whether the visited classes extend/implement a given class or not.
Filter: - accepted: the visited class extends/implements the given class. - rejected: the visited class does not extend/implement the given class.
-
构造器概要
构造器构造器说明ImplementedClassFilter(Clazz implementedClass, boolean includeImplementedClass, ClassVisitor acceptedClassVisitor, ClassVisitor rejectedClassVisistor) Creates a new ImplementedClassFilter. -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 proguard.classfile.visitor.ClassVisitor
visitLibraryClass, visitProgramClass
-
构造器详细资料
-
ImplementedClassFilter
public ImplementedClassFilter(Clazz implementedClass, boolean includeImplementedClass, ClassVisitor acceptedClassVisitor, ClassVisitor rejectedClassVisistor) Creates a new ImplementedClassFilter.- 参数:
implementedClass- the class whose implementations will be accepted.includeImplementedClass- if true, the implemented class itself will also be accepted, otherwise it will be rejected.acceptedClassVisitor- theClassVisitorto which visits of classes implementing the given class will be delegated.rejectedClassVisistor- theClassVisitorto which visits of classes not implementing the given class will be delegated.
-
-
方法详细资料
-
visitAnyClass
从接口复制的说明:ClassVisitorVisits any Clazz instance. The more specific default implementations of this interface delegate to this method.- 指定者:
visitAnyClass在接口中ClassVisitor
-