Class MethodMatchers


  • public class MethodMatchers
    extends Object
    • Constructor Detail

      • MethodMatchers

        public MethodMatchers()
    • Method Detail

      • named

        public static Predicate<MethodTree> named​(String name)
        Match a method based on its name, as methods can be overloaded this should be used with caution.
        Parameters:
        name - the methods name
        Returns:
        true if matched