Class Retyping
- 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.typemappings.Retyping
-
- All Implemented Interfaces:
ModuleElement
,EquivalenceFactory
,TypeMappingConstruct
public class Retyping extends ClassifierTypedConstruct implements TypeMappingConstruct
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
annotationBlock
-
-
Constructor Summary
Constructors Constructor Description Retyping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build(AST cst, IModule module)
Equivalence
createEquivalence(IEolContext context, FlockExecution execution, ModelElement original, EquivalenceEstablishmentContext.EquivalentFactory factory)
boolean
equals(Object object)
String
getEvolvedType()
int
hashCode()
String
toString()
-
Methods inherited from class org.eclipse.epsilon.flock.model.domain.common.ClassifierTypedConstruct
appliesIn, check, getOriginalType, 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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
getChildren, getComments, getData, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
Methods inherited from interface org.eclipse.epsilon.flock.model.domain.typemappings.TypeMappingConstruct
appliesIn, check
-
-
-
-
Method Detail
-
build
public void build(AST cst, IModule module)
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classClassifierTypedConstruct
-
getEvolvedType
public String getEvolvedType()
-
createEquivalence
public Equivalence createEquivalence(IEolContext context, FlockExecution execution, ModelElement original, EquivalenceEstablishmentContext.EquivalentFactory factory) throws FlockRuntimeException
- Specified by:
createEquivalence
in interfaceEquivalenceFactory
- Throws:
FlockRuntimeException
-
toString
public String toString()
- Overrides:
toString
in classAbstractModuleElement
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classClassifierTypedConstruct
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classClassifierTypedConstruct
-
-