private static boolean isInjectedToStringLiteral(@NotNull PsiJavaDocumentedElement container) {
    return JavaResolveUtil.findParentContextOfClass(container, PsiLiteralExpression.class, true) != null;
  }
private static boolean isInjectedToStringLiteral(@NotNull PsiJavaDocumentedElement container)