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 booleanapplyTo(MigrateRuleContext context)voidbuild(AST cst, IModule module)voidcheck(MigrationStrategyCheckingContext context)voidgatherIgnoredPropertiesFor(MigrateRuleContext context, IgnoredProperties ignoredProperties)java.lang.StringgetDescriptionOfIgnoredProperties()IgnoredPropertiesgetIgnoredProperties()java.lang.StringtoString()-
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:
buildin interfaceModuleElement- Overrides:
buildin classClassifierTypedConstruct
-
getIgnoredProperties
public IgnoredProperties getIgnoredProperties()
-
getDescriptionOfIgnoredProperties
public java.lang.String getDescriptionOfIgnoredProperties()
-
check
public void check(MigrationStrategyCheckingContext context)
- Overrides:
checkin 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 java.lang.String toString()
- Overrides:
toStringin classAbstractModuleElement
-
-