from your Visitor pattern" Visitor Pattern using reflection(java). PerfectJPattern Open Source Project, Provides a context-free and type-safe implementation of the Visitor Pattern in Java based on Delegates. Visitor Design Pattern Articles with example C++ code Articles with example Java code Articles with example Lisp (programming language) code Software design patterns Articles with example Python (programming language) code