// "Replace iteration with bulk 'Map.putAll()' call" "true-preview"
import java.util.HashMap;
import java.util.Map;

class Main extends HashMap<String, Integer> {
  class Nested {
    void test() {
      Map<String, Integer> result = new HashMap<>();
      for (Map.Entry<String, Integer> entry : Main.super.entrySet()) {
        result.pu<caret>t(entry.getKey(), entry.getValue());
      }
    }
  }
}