类 AnnotationTypeFilter

java.lang.Object
proguard.classfile.attribute.annotation.visitor.AnnotationTypeFilter
所有已实现的接口:
AnnotationVisitor

public class AnnotationTypeFilter extends Object implements AnnotationVisitor
This AnnotationVisitor delegates its visits to another given AnnotationVisitor, but only when the visited annotation has a type that matches a given regular expression.
  • 构造器详细资料

    • AnnotationTypeFilter

      public AnnotationTypeFilter(String regularExpression, AnnotationVisitor annotationVisitor)
      Creates a new AnnotationTypeFilter.
      参数:
      regularExpression - the regular expression against which annotation type names will be matched.
      annotationVisitor - the annotation visitor to which visits will be delegated.
    • AnnotationTypeFilter

      public AnnotationTypeFilter(String regularExpression, WildcardManager wildcardManager, AnnotationVisitor annotationVisitor)
      Creates a new AnnotationTypeFilter.
      参数:
      regularExpression - the regular expression against which annotation type names will be matched.
      wildcardManager - an optional scope for StringMatcher instances that match wildcards.
      annotationVisitor - the annotation visitor to which visits will be delegated.
    • AnnotationTypeFilter

      public AnnotationTypeFilter(StringMatcher stringMatcher, AnnotationVisitor annotationVisitor)
      Creates a new AnnotationTypeFilter.
      参数:
      stringMatcher - the matcher against which annotation type names will be matched.
      annotationVisitor - the annotationVisitor to which visits will be delegated.
  • 方法详细资料