类 ConstantTagFilter

java.lang.Object
proguard.classfile.constant.visitor.ConstantTagFilter
所有已实现的接口:
ConstantVisitor

public class ConstantTagFilter extends Object implements ConstantVisitor
This ConstantVisitor delegates its visits to one or more specified types of constants.
  • 构造器详细资料

    • ConstantTagFilter

      public ConstantTagFilter(int constantTag, ConstantVisitor constantVisitor)
      Creates a new ConstantTagFilter.
      参数:
      constantTag - the type of constants for which visits will be delegated.
      constantVisitor - the ConstantVisitor to which visits will be delegated.
    • ConstantTagFilter

      public ConstantTagFilter(int[] constantTags, ConstantVisitor constantVisitor)
      Creates a new ConstantTagFilter.
      参数:
      constantTags - the types of constants for which visits will be delegated.
      constantVisitor - the ConstantVisitor to which visits will be delegated.
  • 方法详细资料

    • visitAnyConstant

      public void visitAnyConstant(Clazz clazz, Constant constant)
      从接口复制的说明: ConstantVisitor
      Visits any Constant instance. The more specific default implementations of this interface delegate to this method.
      指定者:
      visitAnyConstant 在接口中 ConstantVisitor