Interface Type.AnnotatedElementMatcher<T extends java.lang.annotation.Annotation>

  • Type Parameters:
    T - is the type of annotation that is expected.
    Enclosing class:
    Type
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface Type.AnnotatedElementMatcher<T extends java.lang.annotation.Annotation>
    Matcher for methods or fields based on annotation properties.
    • Method Detail

      • matches

        boolean matches​(T annotation)
        Parameters:
        annotation - the annotation found.
        Returns:
        true if the annotation matches the condition, false else.