Open khatchad opened 8 years ago
I gave this a go for several hours but came up empty. The problem I am experiencing is that we are making a copy of the source method body and tacking that onto the target method. However, when the copy is made, for whatever reason, the bindings don't carry over. I tried changing the source method first with no avail, as well as some other things.
Filed an enhancement request: Have org.eclipse.jdt.core.dom.ASTNode.copySubtree(AST, ASTNode) copy bindings https://bugs.eclipse.org/bugs/show_bug.cgi?id=495317.