Hi community,

Let's say I define a function like this:

List<Long> myFunc() {
  // function body
  // do something
  // return a list of long
}

Then by linq4j library, I can

Expression ret = Expressions.call(
  FindMethod("myFunc")
)


my question is, how to make the returned expression of the call to be a
list, or something equivalent?

Basically I know the function return a list so I want to access each
element of it. Ideally I can get a List<Expression> ret =
Expressions.call(FindMethod("myFunc"))


-Rui

Reply via email to