Package com._1c.g5.v8.dt.lcore.util
Class Visitors
java.lang.Object
com._1c.g5.v8.dt.lcore.util.Visitors
Visitor utilities.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classComposes several visitors into one.static interfaceA simpleEObjectvisitor. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidapply(org.eclipse.emf.ecore.EObject eObject, Visitors.IVisitor visitor) Applies the given visitor to the given object.
-
Method Details
-
apply
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- notnullvisitor- notnull
-