public static UnknownLibraryKind getOrCreate(@NotNull String kindId) {
    LibraryKind kind = LibraryKindRegistry.getInstance().findKindById(kindId);
    if (kind instanceof UnknownLibraryKind) {
      return (UnknownLibraryKind)kind;
    }
    if (kind != null) {
      LOG.error("Trying to create UnknownLibraryKind for known kind " + kind);
    }
    return new UnknownLibraryKind(kindId);
  }
public static UnknownLibraryKind getOrCreate(@NotNull String kindId)