public static boolean isStringLiteralElement(@NotNull PsiElement element) {
    final ParserDefinition definition = LanguageParserDefinitions.INSTANCE.forLanguage(element.getLanguage());
    if (definition == null) {
      return false;
    }
    final ASTNode node = element.getNode();
    return node != null && definition.getStringLiteralElements().contains(node.getElementType());
  }
public static boolean isStringLiteralElement(@NotNull PsiElement element)