private void bindUnresolvedMappings(@NotNull StandardFileType standardFileType) {
    for (FileNameMatcher matcher : new ArrayList<>(unresolvedMappings.keySet())) {
      String name = unresolvedMappings.get(matcher);
      if (standardFileType.fileType.getName().equals(name)) {
        patternsTable.addAssociation(matcher, standardFileType.getDescriptor());
        unresolvedMappings.remove(matcher);
      }
    }

    for (FileNameMatcher matcher : removedMappingTracker.getMappingsForFileType(standardFileType.fileType.getName())) {
      removeAssociation(FileTypeWithDescriptor.allFor(standardFileType.fileType), matcher, false);
    }
  }
private void bindUnresolvedMappings(@NotNull StandardFileType standardFileType)