Class PackageTypedConstruct
- 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.PackageTypedConstruct
-
- All Implemented Interfaces:
ModuleElement
- Direct Known Subclasses:
PackageDeletion
,PackageRetyping
public abstract class PackageTypedConstruct extends GuardedConstruct
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
annotationBlock
-
-
Constructor Summary
Constructors Constructor Description PackageTypedConstruct()
-
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
getOriginalPackage()
int
hashCode()
-
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
-
getOriginalPackage
public String getOriginalPackage()
-
appliesIn
public boolean appliesIn(GuardedConstructContext context) throws EolRuntimeException
- Overrides:
appliesIn
in classGuardedConstruct
- Throws:
EolRuntimeException
-
check
public void check(MigrationStrategyCheckingContext context)
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classGuardedConstruct
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classGuardedConstruct
-
-