javalang icon indicating copy to clipboard operation
javalang copied to clipboard

replace method with another

Open naevtamarkus opened this issue 6 years ago • 0 comments

Hi, I would like to take two java files A and B and replace a method in file A with the code of the same method in file B... and then write the result in file C. I have the impression I am able to get the trees with your library, but... how do I do the rest? Or even, can I? BTW I think your library lacks some examples on how to find a method within a tree, how to access its code, and how to print it back to the screen or to a file. It looks very promising! Thanks!

naevtamarkus avatar Nov 11 '18 17:11 naevtamarkus