Gets the pattern type.
StaticanyCreates a new AssertionsPattern that matches any assertion.
StaticwithCreates a new AssertionsPattern that matches assertions with predicates that match a specific pattern.
StaticwithCreates a new AssertionsPattern that matches assertions with objects that match a specific pattern.
StaticwithCreates a new AssertionsPattern that matches assertions with both predicate and object patterns.
Gets the predicate pattern if this has one, undefined otherwise.
Gets the object pattern if this has one, undefined otherwise.
Returns true if the pattern matches the haystack.
Returns true if the Display of the matcher is complex, i.e. contains nested patterns or other complex structures that require its text rendering to be surrounded by grouping parentheses.
Returns a string representation of an object.
Hash code for use in Maps/Sets.
Pattern for matching assertions in envelopes.
Corresponds to the Rust
AssertionsPatternenum in assertions_pattern.rs