code: public void addIndex(ValidationData data) {
          for (ValidationDataIndex idx : this.idxs) {
              ValidationIndexUtil.addIndexData(data, idx);
          }
      }
docs: Add index.
  
  @param data the data