public Map<FileType, T> getAllRegisteredExtensions() {
    List<KeyedLazyInstance<T>> extensions = getExtensions();
    Map<FileType, T> result = new HashMap<>();
    for (KeyedLazyInstance<T> extension : extensions) {
      FileType fileType = FileTypeRegistry.getInstance().findFileTypeByName(extension.getKey());
      if (fileType != null) {
        result.put(fileType, extension.getInstance());
      }
    }
    return result;
  }
public Map<FileType, T> getAllRegisteredExtensions()