Convenient method to obtain Invokes in this IR. @param includeIndy whether include invokedynamic in the result. @return a stream of Invokes in this IR.
(boolean includeIndy)
| 128 | * @return a stream of Invokes in this IR. |
| 129 | */ |
| 130 | default Stream<Invoke> invokes(boolean includeIndy) { |
| 131 | return stmts() |
| 132 | .filter(s -> s instanceof Invoke) |
| 133 | .map(s -> (Invoke) s) |
no outgoing calls