org.eclipse.epsilon.eol.annotations
Class EolAnnotationsUtil
java.lang.Object
org.eclipse.epsilon.eol.annotations.EolAnnotationsUtil
public class EolAnnotationsUtil
- extends java.lang.Object
Method Summary |
static void |
assignAnnotations(AST ast)
|
static IEolAnnotation |
getAnnotation(AST ast,
java.lang.String name)
|
static java.util.List<IEolAnnotation> |
getAnnotations(AST ast)
|
static java.util.List<IEolAnnotation> |
getAnnotations(AST ast,
java.lang.String name)
|
static java.util.List<java.lang.Object> |
getAnnotationsValues(AST ast,
java.lang.String name,
IEolContext context)
|
static java.lang.Object |
getAnnotationValue(AST ast,
java.lang.String name,
IEolContext context)
|
static boolean |
getBooleanAnnotationValue(AST ast,
java.lang.String name,
IEolContext context)
|
static boolean |
getBooleanAnnotationValue(AST ast,
java.lang.String name,
IEolContext context,
boolean ifNotExists,
boolean ifNoValue)
|
static boolean |
hasAnnotation(AST ast,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EolAnnotationsUtil
public EolAnnotationsUtil()
assignAnnotations
public static void assignAnnotations(AST ast)
getBooleanAnnotationValue
public static boolean getBooleanAnnotationValue(AST ast,
java.lang.String name,
IEolContext context)
throws EolRuntimeException
- Throws:
EolRuntimeException
getBooleanAnnotationValue
public static boolean getBooleanAnnotationValue(AST ast,
java.lang.String name,
IEolContext context,
boolean ifNotExists,
boolean ifNoValue)
throws EolRuntimeException
- Throws:
EolRuntimeException
hasAnnotation
public static boolean hasAnnotation(AST ast,
java.lang.String name)
getAnnotation
public static IEolAnnotation getAnnotation(AST ast,
java.lang.String name)
getAnnotations
public static java.util.List<IEolAnnotation> getAnnotations(AST ast)
getAnnotations
public static java.util.List<IEolAnnotation> getAnnotations(AST ast,
java.lang.String name)
getAnnotationsValues
public static java.util.List<java.lang.Object> getAnnotationsValues(AST ast,
java.lang.String name,
IEolContext context)
throws EolRuntimeException
- Throws:
EolRuntimeException
getAnnotationValue
public static java.lang.Object getAnnotationValue(AST ast,
java.lang.String name,
IEolContext context)
throws EolRuntimeException
- Throws:
EolRuntimeException