Class ClassifierTypedConstruct
- 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
-
- org.eclipse.epsilon.flock.model.domain.common.ClassifierTypedConstruct
-
- All Implemented Interfaces:
ModuleElement
- Direct Known Subclasses:
Deletion
,MigrateRule
,Retyping
public abstract class ClassifierTypedConstruct extends GuardedConstruct
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
annotationBlock
-
-
Constructor Summary
Constructors Constructor Description ClassifierTypedConstruct()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
appliesIn(GuardedConstructContext context)
void
build(AST cst, IModule module)
void
check(MigrationStrategyCheckingContext context)
boolean
equals(Object object)
String
getOriginalType()
int
hashCode()
protected boolean
isStrict()
protected boolean
typedFor(GuardedConstructContext context)
-
Methods inherited from class org.eclipse.epsilon.flock.model.domain.common.GuardedConstruct
getGuard
-
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 classGuardedConstruct
-
getOriginalType
public String getOriginalType()
-
isStrict
protected boolean isStrict()
-
appliesIn
public boolean appliesIn(GuardedConstructContext context) throws EolRuntimeException
- Overrides:
appliesIn
in classGuardedConstruct
- Throws:
EolRuntimeException
-
typedFor
protected boolean typedFor(GuardedConstructContext context)
-
check
public void check(MigrationStrategyCheckingContext context)
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classGuardedConstruct
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classGuardedConstruct
-
-