org.eclipse.epsilon.eol.annotations
Class EolAnnotationsUtil

java.lang.Object
  extended by org.eclipse.epsilon.eol.annotations.EolAnnotationsUtil

public class EolAnnotationsUtil
extends java.lang.Object


Constructor Summary
EolAnnotationsUtil()
           
 
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
 

Constructor Detail

EolAnnotationsUtil

public EolAnnotationsUtil()
Method Detail

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