private void registerReDetectedMapping(@NotNull String fileTypeName, @NotNull FileNameMatcher matcher) {
    String typeName = unresolvedMappings.get(matcher);
    if (typeName != null && !typeName.equals(fileTypeName)) {
      if (!removedMappingTracker.hasRemovedMapping(matcher)) {
        removedMappingTracker.add(matcher, fileTypeName, false);
      }
      unresolvedMappings.remove(matcher);
      tryToResolveMapping(typeName, matcher);
    }
  }
private void registerReDetectedMapping(@NotNull String fileTypeName, @NotNull FileNameMatcher matcher)