Class AbstractSingleTypeRule<T extends org.eclipse.emf.ecore.EObject>

    • Constructor Detail

      • AbstractSingleTypeRule

        protected AbstractSingleTypeRule​(Class<? extends T> clazz)
        The constructor.
        clazz - the class of the object the current rule for, cannot be null.
    • Method Detail

      • buildSingleObject

        protected final void buildSingleObject​(org.eclipse.emf.ecore.EObject object,
                                               IV8Project v8project)
        Description copied from class: AbstractRule
        Builds statements for each of selected object.
        Specified by:
        buildSingleObject in class AbstractRule
        object - the object.
        v8project - the V8 project for object.
      • buildForObject

        protected abstract void buildForObject​(T object,
                                               IV8Project v8Project)
        Builds rules statements for the given object.
        object - the object, can be null.
        v8Project - the v8Project, can be null.