@Override
  public void addMatchedState(IFAState state) {
    matchedStateSet.add(state);
    if (state.isFinal()) {
      hasFinalState = true;
    }
  }
This class is used for cases need traceback.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/fa/match/StateMultiMatchInfo.java