Class AnnotationTargetMatcher<T extends AnnotationDescription>

    • Constructor Detail

      • AnnotationTargetMatcher

        public AnnotationTargetMatcher​(ElementType elementType)
        Creates a new matcher for an annotation target.
        Parameters:
        elementType - The targeted element type.
    • Method Detail

      • matches

        public boolean matches​(T target)
        Matches a target against this element matcher.
        Parameters:
        target - The instance to be matched.
        Returns:
        true if the given element is matched by this matcher or false otherwise.