Class TestMethodPredicate

    • Method Detail

      • test

        public boolean test​(Method method)
        Method to test the Predicate
        Specified by:
        test in interface Predicate<Method>
        Specified by:
        test in class RegexPredicate<Method>
        Parameters:
        method - the input argument
        Returns:
        whether to accept the Method
      • of

        public static TestMethodPredicate of​(String regex)
        Method to create an instance of a TestMethodPredicate
        Parameters:
        regex - regex
        Returns:
        the return value