private FileTypeWithDescriptor getFileTypeWithDescriptorByName(@NotNull String name) {
    instantiatePendingFileTypeByName(name);
    return withReadLock(() -> schemeManager.findSchemeByName(name));
  }
private FileTypeWithDescriptor getFileTypeWithDescriptorByName(@NotNull String name)