@Nullable
  private static Artifact findVersion(Artifact @Nullable [] versions, @NotNull final String versionId) {
    return versions == null ? null : ContainerUtil.find(versions, springVersion -> versionId.equals(springVersion.getVersion()));
  }
@Nullable
  private static Artifact findVersion(Artifact @Nullable [] versions, @NotNull final String versionId)