Visitor Design Pattern
Jonathan explains the visitor design pattern, emphasizing how overriding methods can control tree navigation in software. He introduces the concept of a cursor in openrewrite, which acts as a stack of visited elements, enabling message passing during node visitation. This allows programmers to leverage data found at lower levels to influence changes higher up in the tree structure. For those interested in static code analysis, a related episode is recommended for further exploration.In this clip
From this podcast

Software Engineering Radio - the podcast for professional software developers
SE Radio 625: Jonathan Schneider on Automated Refactoring with OpenRewrite
Related Questions