static @NotNull List<@NotNull PsiSymbolReference> getReferences(@NotNull PsiLiteralExpression expression) {
    PsiCallExpression callExpression = findContextCall(expression);
    if (callExpression == null) return List.of();
    FormatDecode.FormatArgument argument = FormatDecode.FormatArgument.extract(callExpression, List.of(), List.of(), true);
    if (argument == null || !PsiTreeUtil.isAncestor(argument.getExpression(), expression, false)) return List.of();
    String formatString = ObjectUtils.tryCast(expression.getValue(), String.class);
    if (formatString == null) return List.of();
    PsiExpression[] arguments = Objects.requireNonNull(callExpression.getArgumentList()).getExpressions();
    int argumentCount = arguments.length - argument.getIndex();
    FormatDecode.Validator[] validators;
    try {
      validators = FormatDecode.decodeNoVerify(formatString, argumentCount);
    }
    catch (FormatDecode.IllegalFormatException e) {
      return List.of();
    }
    List<PsiSymbolReference> result = new ArrayList<>();
    for (int i = 0; i < validators.length; i++) {
      int index = argument.getIndex() + i;
      if (index >= arguments.length) break;

      FormatDecode.Validator metaValidator = validators[i];
      if (metaValidator == null) continue;
      Collection<FormatDecode.Validator> unpacked = metaValidator instanceof FormatDecode.MultiValidator multi ?
                                                    multi.getValidators() : List.of(metaValidator);
      for (FormatDecode.Validator validator : unpacked) {
        TextRange stringRange = validator.getRange();
        if (stringRange == null) continue;
        TextRange range = ExpressionUtils.findStringLiteralRange(expression, stringRange.getStartOffset(),
                                                                 stringRange.getEndOffset());
        if (range == null) continue;
        result.add(new JavaFormatArgumentSymbolReference(expression, range, arguments[index]));
      }
    }
    return result;
  }
static @NotNull List<@NotNull PsiSymbolReference> getReferences(@NotNull PsiLiteralExpression expression)