Class Visitors


  • public class Visitors
    extends Object
    Visitor utilities.
    • Method Detail

      • apply

        public static void apply​(org.eclipse.emf.ecore.EObject eObject,
                                 Visitors.IVisitor visitor)
        Applies the given visitor to the given object. If the visitor returns true, also applies the visitor to the proper contents of the object. May be thought of as an extension method for visitor application.
        Parameters:
        eObject - not null
        visitor - not null