Class GuardedConstructContext
- java.lang.Object
-
- org.eclipse.epsilon.flock.context.GuardedConstructContext
-
public class GuardedConstructContext extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GuardedConstructContext(ModelElement element, IEolContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GuardedConstructContext
getContextForParentElement()
boolean
isContextForParentElement()
Returns true if and only if it's possible to create a context for the parent of the model element in this context.boolean
originalBelongsTo(java.lang.String originalPackage)
boolean
originalConformsTo(java.lang.String originalType, boolean strict)
boolean
satisfies(ExecutableBlock<java.lang.Boolean> guard)
-
-
-
Constructor Detail
-
GuardedConstructContext
public GuardedConstructContext(ModelElement element, IEolContext context)
-
-
Method Detail
-
originalConformsTo
public boolean originalConformsTo(java.lang.String originalType, boolean strict)
-
originalBelongsTo
public boolean originalBelongsTo(java.lang.String originalPackage)
-
satisfies
public boolean satisfies(ExecutableBlock<java.lang.Boolean> guard) throws EolRuntimeException
- Throws:
EolRuntimeException
-
isContextForParentElement
public boolean isContextForParentElement()
Returns true if and only if it's possible to create a context for the parent of the model element in this context. Returns false otherwise, such as when the model element in this context has no parent model element.
-
getContextForParentElement
public GuardedConstructContext getContextForParentElement()
-
-