Class DeclaringAnnotationMatcher<T extends AnnotationSource>

Type Parameters:
T - The actual matched type of this matcher.
All Implemented Interfaces:
ElementMatcher<T>, ElementMatcher.Junction<T>

@Enhance public class DeclaringAnnotationMatcher<T extends AnnotationSource> extends ElementMatcher.Junction.ForNonNullValues<T>
An element matcher that matches the list of annotations that are provided by an annotated element.
  • Field Details

  • Constructor Details

    • DeclaringAnnotationMatcher

      public DeclaringAnnotationMatcher(ElementMatcher<? super AnnotationList> matcher)
      Creates a new matcher for the annotations of an annotated element.
      Parameters:
      matcher - The matcher to be applied to the provided annotation list.
  • Method Details