Class GuardedConstruct
- java.lang.Object
-
- org.eclipse.epsilon.common.module.AbstractModuleElement
-
- org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
-
- org.eclipse.epsilon.flock.model.domain.common.FlockConstruct
-
- org.eclipse.epsilon.flock.model.domain.common.GuardedConstruct
-
- All Implemented Interfaces:
ModuleElement
- Direct Known Subclasses:
ClassifierTypedConstruct
,PackageTypedConstruct
public abstract class GuardedConstruct extends FlockConstruct
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
annotationBlock
-
-
Constructor Summary
Constructors Constructor Description GuardedConstruct()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
appliesIn(GuardedConstructContext context)
void
build(AST cst, IModule module)
boolean
equals(Object object)
protected ExecutableBlock<Boolean>
getGuard()
int
hashCode()
-
Methods inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
accept, getAnnotation, getAnnotationBlock, getAnnotations, getAnnotationsValues, getBooleanAnnotationValue, getBooleanAnnotationValue, getBooleanAnnotationValue, getBooleanAnnotationValue, hasAnnotation, setAnnotationBlock
-
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri, toString
-
-
-
-
Method Detail
-
build
public void build(AST cst, IModule module)
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classAnnotatableModuleElement
-
getGuard
protected ExecutableBlock<Boolean> getGuard()
-
appliesIn
public boolean appliesIn(GuardedConstructContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classAbstractModuleElement
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractModuleElement
-
-