Every visit<element_metatype> method calls a visit<element_metatype> method for a super type.
Model elements visit… methods have an additional context parameter of the com.nomagic.uml2.ext.jmi.reflect.VisitorContext type. The visitor context is used to track what super type visit<element_metatype> methods were already visited (to avoid multiple visits because some model elements have a multiple inheritance). Open API users should not work with the visitor context. All tracking is done in internal implementation.