docs: @Nullable
    public static Type getResultType(ExpressionTree expressionTree) {
      Type type = ASTHelpers.getType(expressionTree);
      return type == null ? null : Optional.ofNullable(type.getReturnType()).orElse(type);
    }