Interface AnnotationFilter

  • 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 interface AnnotationFilter
    An annotation filter filters annotations given specific conditions
    • Method Detail

      • filter

        boolean filter​(Annotation a)
        Filters an annotation
        Parameters:
        a - The annotation
        Returns:
        True if the annotation fulfills the filter condition, false otherwise
      • invertFilter

        default AnnotationFilter invertFilter()
        Returns:
        A filter filtering the opposite of the current filter