StructureNode writeChanges()

in src/main/java/org/jetbrains/jetCheck/IntCustomizer.java [121:128]


  StructureNode writeChanges(StructureNode node) {
    StructureNode result = node;
    for (Map.Entry<NodeId, IntDistribution> entry : changedDistributions.entrySet()) {
      NodeId id = entry.getKey();
      result = result.replace(id, new IntData(id, currentCombination.get(id), entry.getValue()));
    }
    return result;
  }