Class AnnotationTypeMatcher<T extends AnnotationDescription>

Type Parameters:
T - The exact type of the annotation description that is matched.
All Implemented Interfaces:
ElementMatcher<T>, ElementMatcher.Junction<T>

@Enhance public class AnnotationTypeMatcher<T extends AnnotationDescription> extends ElementMatcher.Junction.ForNonNullValues<T>
An element matcher that matches the type of an annotation description.
  • Field Details

  • Constructor Details

    • AnnotationTypeMatcher

      public AnnotationTypeMatcher(ElementMatcher<? super TypeDescription> matcher)
      Creates a new matcher for an annotation description's type.
      Parameters:
      matcher - The type matcher to apply to an annotation's type.
  • Method Details