Package com._1c.g5.v8.dt.lcore.util
Class Visitors
- java.lang.Object
-
- com._1c.g5.v8.dt.lcore.util.Visitors
-
public class Visitors extends Object
Visitor utilities.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Visitors.CompositeVisitor
Composes several visitors into one.static interface
Visitors.IVisitor
A simpleEObject
visitor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
apply(org.eclipse.emf.ecore.EObject eObject, Visitors.IVisitor visitor)
Applies the given visitor to the given object.
-
-
-
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 returnstrue
, also applies the visitor to the proper contents of the object. May be thought of as an extension method for visitor application.- Parameters:
eObject
- notnull
visitor
- notnull
-
-