Class MigrateRule
- 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
-
- org.eclipse.epsilon.flock.model.domain.rules.MigrateRule
-
- All Implemented Interfaces:
ModuleElement
public class MigrateRule extends ClassifierTypedConstruct
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
annotationBlock
-
-
Constructor Summary
Constructors Constructor Description MigrateRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
applyTo(MigrateRuleContext context)
void
build(AST cst, IModule module)
void
check(MigrationStrategyCheckingContext context)
void
gatherIgnoredPropertiesFor(MigrateRuleContext context, IgnoredProperties ignoredProperties)
String
getDescriptionOfIgnoredProperties()
IgnoredProperties
getIgnoredProperties()
String
toString()
-
Methods inherited from class org.eclipse.epsilon.flock.model.domain.common.ClassifierTypedConstruct
appliesIn, equals, getOriginalType, hashCode, isStrict, typedFor
-
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
-
-
-
-
Method Detail
-
build
public void build(AST cst, IModule module)
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classClassifierTypedConstruct
-
getIgnoredProperties
public IgnoredProperties getIgnoredProperties()
-
getDescriptionOfIgnoredProperties
public String getDescriptionOfIgnoredProperties()
-
check
public void check(MigrationStrategyCheckingContext context)
- Overrides:
check
in classClassifierTypedConstruct
-
gatherIgnoredPropertiesFor
public void gatherIgnoredPropertiesFor(MigrateRuleContext context, IgnoredProperties ignoredProperties) throws EolRuntimeException
- Throws:
EolRuntimeException
-
applyTo
public boolean applyTo(MigrateRuleContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
toString
public String toString()
- Overrides:
toString
in classAbstractModuleElement
-
-