Class Selector.MethodConditions

  • Enclosing class:
    Selector

    public static final class Selector.MethodConditions
    extends Object
    Conditions for selecting a method.
    • Method Detail

      • annotatedWith

        public static Predicate<Method> annotatedWith​(Class<? extends Annotation> annotationClass)
        Builds a predicate to check if the method is Annotated.
        Parameters:
        annotationClass - the annotation
        Returns:
        the predicate