Package org.eclipse.epsilon.eol.dom
Class Annotation
- java.lang.Object
-
- org.eclipse.epsilon.common.module.AbstractModuleElement
-
- org.eclipse.epsilon.eol.dom.Annotation
-
- All Implemented Interfaces:
ModuleElement
- Direct Known Subclasses:
ExecutableAnnotation
,SimpleAnnotation
public abstract class Annotation extends AbstractModuleElement
-
-
Constructor Summary
Constructors Constructor Description Annotation()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
accept(IEolVisitor visitor)
String
getName()
abstract Object
getValue(IEolContext context)
abstract boolean
hasValue()
void
setName(String name)
String
toString()
-
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
build, equals, getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri
-
-
-
-
Field Detail
-
name
protected String name
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
toString
public String toString()
- Overrides:
toString
in classAbstractModuleElement
-
hasValue
public abstract boolean hasValue()
-
getValue
public abstract Object getValue(IEolContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
accept
public abstract void accept(IEolVisitor visitor)
-
-