void (@NotNull FileType fileType, @NotNull PluginDescriptor pluginDescriptor, @NotNull List<? extends FileNameMatcher> fileNameMatchers) { String typeName = fileType.getName(); instantiatePendingFileTypeByName(typeName); for (FileNameMatcher matcher : fileNameMatchers) { FileTypeBean pendingTypeByMatcher = myPendingAssociations.findAssociatedFileType(matcher); if (pendingTypeByMatcher != null) { PluginId pluginId = pendingTypeByMatcher.getPluginId(); if (PluginManagerCore.CORE_ID.equals(pluginId)) { instantiateFileTypeBean(pendingTypeByMatcher); } } } StandardFileType type = myStandardFileTypes.get(typeName); if (type == null) { myStandardFileTypes.put(typeName, new StandardFileType(fileType, pluginDescriptor, fileNameMatchers)); registerFileTypeWithoutNotification(fileType, pluginDescriptor, fileNameMatchers, true); } else { type.matchers.addAll(fileNameMatchers); for (FileNameMatcher matcher : fileNameMatchers) { myPatternsTable.addAssociation(matcher, type.getDescriptor()); } } }