protected Map<VirtualFile, T> getNewMappings() {
    ThreadingAssertions.assertEventDispatchThread();
    if (myModel == null) {
      throw new AssertionError("createComponent() was not called first on " + getClass().getName());
    }
    HashMap<VirtualFile, T> map = new HashMap<>();
    for (Pair<Object, T> p : myModel.data) {
      if (p.second != null) {
        map.put((VirtualFile)p.first, p.second);
      }
    }
    if (myMappings instanceof LanguagePerFileMappings) {
      for (Mapping<T> prop : ContainerUtil.reverse(myDefaultProps)) {
        if (isProjectMapping(prop)) {
          T t = myDefaultVals.get(prop.name);
          if (t != null) map.put(null, t);
          break;
        }
      }
    }
    return map;
  }
protected Map<VirtualFile, T> getNewMappings()