presto-matching/src/main/java/io/prestosql/matching/Captures.java/Captures/Captures
class Captures:    private Captures(Capture<?> capture, Object value, Captures tail)
    {
        this.capture = capture;
        this.value = value;
        this.tail = tail;
    }