public static @Nullable PsiElement getExpression(PsiElement expression, Language language, Project project) {
    if (expression.getLanguage() == language) return expression;

    final ExpressionConverter converter = EP.forLanguage(language);
    if (converter == null) return null;
    return converter.convert(expression, project);
  }
public static @Nullable PsiElement getExpression(PsiElement expression, Language language, Project project)