@Override
  public @NotNull List<FileNameMatcher> getAssociations(@NotNull FileType type) {
    instantiatePendingFileTypeByName(type.getName());
    return withReadLock(() -> patternsTable.getAssociations(FileTypeWithDescriptor.allFor(type)));
  }
@Override
  public @NotNull List<FileNameMatcher> getAssociations(@NotNull FileType type)