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