类 AnnotationTypeFilter
java.lang.Object
proguard.classfile.attribute.annotation.visitor.AnnotationTypeFilter
- 所有已实现的接口:
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(String regularExpression, AnnotationVisitor annotationVisitor) Creates a new AnnotationTypeFilter.AnnotationTypeFilter(String regularExpression, WildcardManager wildcardManager, AnnotationVisitor annotationVisitor) Creates a new AnnotationTypeFilter.AnnotationTypeFilter(StringMatcher stringMatcher, AnnotationVisitor annotationVisitor) Creates a new AnnotationTypeFilter. -
方法概要
修饰符和类型方法说明voidvisitAnnotation(Clazz clazz, Annotation annotation) Visits any Annotation instance.voidvisitAnnotation(Clazz clazz, Field field, Annotation annotation) voidvisitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation) voidvisitAnnotation(Clazz clazz, Method method, Annotation annotation) voidvisitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 proguard.classfile.attribute.annotation.visitor.AnnotationVisitor
visitAnnotation
-
构造器详细资料
-
AnnotationTypeFilter
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
Creates a new AnnotationTypeFilter.- 参数:
stringMatcher- the matcher against which annotation type names will be matched.annotationVisitor- theannotationVisitorto which visits will be delegated.
-
-
方法详细资料
-
visitAnnotation
从接口复制的说明:AnnotationVisitorVisits any Annotation instance. The more specific default implementations of this interface delegate to this method.- 指定者:
visitAnnotation在接口中AnnotationVisitor
-
visitAnnotation
- 指定者:
visitAnnotation在接口中AnnotationVisitor
-
visitAnnotation
- 指定者:
visitAnnotation在接口中AnnotationVisitor
-
visitAnnotation
- 指定者:
visitAnnotation在接口中AnnotationVisitor
-
visitAnnotation
public void visitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation) - 指定者:
visitAnnotation在接口中AnnotationVisitor
-