Class CurrentTypeFinder


  • public class CurrentTypeFinder
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.emf.ecore.EClassifier findCurrentTypeAfter​(AbstractElement element)
      Find the type of the current variable after an AbstractElement was consumed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CurrentTypeFinder

        public CurrentTypeFinder()
    • Method Detail

      • findCurrentTypeAfter

        public org.eclipse.emf.ecore.EClassifier findCurrentTypeAfter​(AbstractElement element)
        Find the type of the current variable after an AbstractElement was consumed. If the AbstractElement will instantiate a new type (e.g. is an Action), the instantiated type will be returned. If the element may occur in a path that leads to an unassigned current element, null may be returned. If the element is optional and changes the type, this method will return the changed type as if the element were consumed.