replaceAll: aString with: anotherString
"replaces aString in source code in the whole image in all methods with anotherString"
((self systemNavigation allMethodsWithSourceString: aString matchCase: false) collect: #compiledMethod)
do: [ :each | each methodClass compile: (each sourceCode copyReplaceAll: aString with: anotherString) classified: each category ]
Hi all,How do you replace all 'expression1' in source code by 'expression2'?I can find them with Finder but don't see any easy way to replace them.My problem is i want to change parameter names in many methods.Best,Laura