类 ConstantTagFilter

    • 构造器详细资料

      • 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