@uml
Constructs a new instance of {@link ParseTreeMatch} from the specified
parse tree and pattern.
@param tree The parse tree to match against the pattern.
@param pattern The parse tree pattern.
@param labels A mapping from label names to collections of
{@link ParseTree} objects located by the tree pattern matching process.
@param mismatchedNode The first node which failed to match the tree
pattern during the matching process.
@exception IllegalArgumentException if {@code tree} is {@code null}
@exception IllegalArgumentException if {@code pattern} is {@code null}
@exception IllegalArgumentException if {@code labels} is {@code null}
@uml Constructs a new instance of {@link ParseTreeMatch} from the specified parse tree and pattern.
@param tree The parse tree to match against the pattern. @param pattern The parse tree pattern. @param labels A mapping from label names to collections of {@link ParseTree} objects located by the tree pattern matching process. @param mismatchedNode The first node which failed to match the tree pattern during the matching process.
@exception IllegalArgumentException if {@code tree} is {@code null} @exception IllegalArgumentException if {@code pattern} is {@code null} @exception IllegalArgumentException if {@code labels} is {@code null}