The Visitor Pattern - 'Revisited' using Data Oriented Programming techniques.
Java Language improvements culminating in java 21 obviate the need for the verbose visitor pattern as we know it, instead elevating it into a first class language feature.
com.wimdetroyer.blog