public static PySubstitutionChunkReference @NotNull [] getReferencesFromChunks(@NotNull final PyStringLiteralExpression element,
                                                                                 @NotNull final List<? extends PyStringFormatParser.SubstitutionChunk> chunks) {
    return ContainerUtil.map2Array(chunks, PySubstitutionChunkReference.class, chunk -> new PySubstitutionChunkReference(element, chunk));
  }
public static PySubstitutionChunkReference @NotNull [] getReferencesFromChunks(@NotNull final PyStringLiteralExpression element,
                                                                                 @NotNull final List<? extends PyStringFormatParser.SubstitutionChunk> chunks)