类 ImplementedClassFilter
- java.lang.Object
-
- proguard.classfile.visitor.ImplementedClassFilter
-
- 所有已实现的接口:
ClassVisitor
public class ImplementedClassFilter extends java.lang.Object implements ClassVisitor
ThisClassVisitordelegates its visits to one of two givenClassVisitors, 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.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidvisitAnyClass(Clazz clazz)Visits any Clazz instance.-
从类继承的方法 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
public void visitAnyClass(Clazz clazz)
从接口复制的说明:ClassVisitorVisits any Clazz instance. The more specific default implementations of this interface delegate to this method.- 指定者:
visitAnyClass在接口中ClassVisitor
-
-