public class BranchingNavigationStep extends CompositeNavigationStep
Constructor and Description |
---|
BranchingNavigationStep(org.eclipse.emf.ecore.EClass sourceType,
org.eclipse.emf.ecore.EClass targetType,
OCLExpression debugInfo,
boolean requireExactMatchForSourceType,
NavigationStep... parallelSteps) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
contentToString(java.util.Map<NavigationStep,java.lang.Integer> visited,
int indent) |
protected boolean |
doesSourceTypeMatch(AnnotatedEObject fromObject) |
SemanticIdentity |
getSemanticIdentity() |
SemanticIdentity |
getSemanticIdentityOfSuperSuper() |
boolean |
isAbsolute()
If there are no branches, the step always returns an empty result and therefore is
absolute, regardless its inputs.
|
protected java.util.Set<AnnotatedEObject> |
navigate(AnnotatedEObject fromObject,
TracebackCache cache,
org.eclipse.emf.common.notify.Notification changeEvent) |
afterHashCodeChange, beforeHashCodeChange, distinctSize, getInstanceScopeAnalysis, getSemanticIdentityOfAbstractNavigationStep, getSteps, size
addAlwaysEmptyChangeListener, addEnteringScopes, addExpressionForWhichThisIsNavigationStep, addHashCodeChangeListener, addLeavingScopes, addSourceTypeChangeListener, addTargetTypeChangeListener, annotateEObject, distinctSize, fireAfterHashCodeChange, fireBeforeHashCodeChange, getDebugInfo, getEnteringScopes, getId, getLeavingScopes, getNavigateCounter, getResultObjectsCounter, getSourceType, getTargetType, haveIntersectingSubclassTree, incrementNavigateCounter, isAlwaysEmpty, navigate, newTokenForFiringHashCodeChangeEvent, setAlwaysEmpty, size, toString, toString
public BranchingNavigationStep(org.eclipse.emf.ecore.EClass sourceType, org.eclipse.emf.ecore.EClass targetType, OCLExpression debugInfo, boolean requireExactMatchForSourceType, NavigationStep... parallelSteps)
protected boolean doesSourceTypeMatch(AnnotatedEObject fromObject)
doesSourceTypeMatch
in class AbstractNavigationStep
public SemanticIdentity getSemanticIdentityOfSuperSuper()
public boolean isAbsolute()
isAbsolute
in interface NavigationStep
isAbsolute
in class AbstractNavigationStep
protected java.util.Set<AnnotatedEObject> navigate(AnnotatedEObject fromObject, TracebackCache cache, org.eclipse.emf.common.notify.Notification changeEvent)
navigate
in class AbstractNavigationStep
public java.lang.String contentToString(java.util.Map<NavigationStep,java.lang.Integer> visited, int indent)
contentToString
in class AbstractNavigationStep
public SemanticIdentity getSemanticIdentity()
getSemanticIdentity
in interface SemanticComparable
getSemanticIdentity
in class CompositeNavigationStep