@Contract("null, _ -> null")
  private static PsiElement getTextBlockAt(PsiFile file, int offset) {
    if (!isJavaFile(file)) return null;
    PsiElement token = file.findElementAt(offset);
    if (token == null || token.getNode() == null || !BasicJavaAstTreeUtil.is(token.getNode(), JavaTokenType.TEXT_BLOCK_LITERAL)) return null;
    PsiElement parent = token.getParent();
    if (!BasicJavaAstTreeUtil.is(BasicJavaAstTreeUtil.toNode(parent), BASIC_LITERAL_EXPRESSION)) {
      return null;
    }
    return parent;
  }
@Contract("null, _ -> null")
  private static PsiElement getTextBlockAt(PsiFile file, int offset)