public static @NotNull String getTypeRepresentation(@Nullable PsiExpression expression) {
    if (expression == null) return "null";
    return getTypeRepresentation(expression.getType());
  }
public static @NotNull String getTypeRepresentation(@Nullable PsiExpression expression)