Find and Replace Code based on AST

Code Analysis