Skip to content

Java dataflow configuration - redirecting method calls made to subinterfaces #19665

Discussion options

You must be logged in to vote

Essentially is there a way to implement a "jump" step

Yes, you can do that by wiring up individual arguments to the corresponding parameter nodes, but beware that call context will be lost so you lose some precision. Similarly, you'd need to wire up return values to the output of the call. In your snippet above you'd use something like n1.asExpr() = call.getArgument(pos) and n2.asParameter() = impl.getParameter(pos). It's not exactly pretty nor something I'd recommend, but it could maybe work for you.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@the-cartographer
Comment options

@aschackmull
Comment options

Answer selected by the-cartographer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants