com.espertech.esper.epl.annotation
Class AnnotationUtil
java.lang.Object
com.espertech.esper.epl.annotation.AnnotationUtil
public class AnnotationUtil
- extends java.lang.Object
Utility to handle EPL statement annotations.
Method Summary |
static java.lang.annotation.Annotation[] |
compileAnnotations(java.util.List<AnnotationDesc> annotationSpec,
EngineImportService engineImportService,
java.lang.String eplStatement)
Compile annotation objects from descriptors. |
static java.lang.annotation.Annotation |
findAnnotation(java.lang.annotation.Annotation[] annotations,
java.lang.Class annotationClass)
|
static java.util.List<java.lang.annotation.Annotation> |
findAnnotations(java.lang.annotation.Annotation[] annotations,
java.lang.Class annotationClass)
|
static java.lang.annotation.Annotation[] |
mergeAnnotations(java.lang.annotation.Annotation[] first,
java.lang.annotation.Annotation[] second)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationUtil
public AnnotationUtil()
compileAnnotations
public static java.lang.annotation.Annotation[] compileAnnotations(java.util.List<AnnotationDesc> annotationSpec,
EngineImportService engineImportService,
java.lang.String eplStatement)
- Compile annotation objects from descriptors.
- Parameters:
annotationSpec
- spec for annotationsengineImportService
- engine importseplStatement
- statement expression
- Returns:
- annotations
findAnnotation
public static java.lang.annotation.Annotation findAnnotation(java.lang.annotation.Annotation[] annotations,
java.lang.Class annotationClass)
findAnnotations
public static java.util.List<java.lang.annotation.Annotation> findAnnotations(java.lang.annotation.Annotation[] annotations,
java.lang.Class annotationClass)
mergeAnnotations
public static java.lang.annotation.Annotation[] mergeAnnotations(java.lang.annotation.Annotation[] first,
java.lang.annotation.Annotation[] second)