Interface MethodFilter

    • Method Detail

      • includeMethodNamePatterns

        static MethodFilter includeMethodNamePatterns​(java.lang.String... patterns)
        Create a new include MethodFilter based on the supplied patterns.

        The patterns are combined using OR semantics, i.e. if the fully qualified name of a method matches against at least one of the patterns, the method will be included in the result set.

        Parameters:
        patterns - regular expressions to match against fully qualified method names; never null, empty, or containing null
        See Also:
        Class.getName(), Method.getName(), includeMethodNamePatterns(List), excludeMethodNamePatterns(String...)
      • includeMethodNamePatterns

        static MethodFilter includeMethodNamePatterns​(java.util.List<java.lang.String> patterns)
        Create a new include MethodFilter based on the supplied patterns.

        The patterns are combined using OR semantics, i.e. if the fully qualified name of a method matches against at least one of the patterns, the method will be included in the result set.

        Parameters:
        patterns - regular expressions to match against fully qualified method names; never null, empty, or containing null
        See Also:
        Class.getName(), Method.getName(), includeMethodNamePatterns(String...), excludeMethodNamePatterns(String...)
      • excludeMethodNamePatterns

        static MethodFilter excludeMethodNamePatterns​(java.lang.String... patterns)
        Create a new exclude MethodFilter based on the supplied patterns.

        The patterns are combined using OR semantics, i.e. if the fully qualified name of a method matches against at least one of the patterns, the method will be excluded from the result set.

        Parameters:
        patterns - regular expressions to match against fully qualified method names; never null, empty, or containing null
        See Also:
        Class.getName(), Method.getName(), excludeMethodNamePatterns(List), includeMethodNamePatterns(String...)
      • excludeMethodNamePatterns

        static MethodFilter excludeMethodNamePatterns​(java.util.List<java.lang.String> patterns)
        Create a new exclude MethodFilter based on the supplied patterns.

        The patterns are combined using OR semantics, i.e. if the fully qualified name of a method matches against at least one of the patterns, the method will be excluded from the result set.

        Parameters:
        patterns - regular expressions to match against fully qualified method names; never null, empty, or containing null
        See Also:
        Class.getName(), Method.getName(), excludeMethodNamePatterns(String...), includeMethodNamePatterns(String...)