public class AnnotationUtil
extends java.lang.Object
Constructor and Description |
---|
AnnotationUtil() |
Modifier and Type | Method and Description |
---|---|
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) |
public static java.lang.annotation.Annotation[] compileAnnotations(java.util.List<AnnotationDesc> annotationSpec, EngineImportService engineImportService, java.lang.String eplStatement)
annotationSpec
- spec for annotationsengineImportService
- engine importseplStatement
- statement expressionpublic static java.lang.annotation.Annotation findAnnotation(java.lang.annotation.Annotation[] annotations, java.lang.Class annotationClass)
public static java.util.List<java.lang.annotation.Annotation> findAnnotations(java.lang.annotation.Annotation[] annotations, java.lang.Class annotationClass)
public static java.lang.annotation.Annotation[] mergeAnnotations(java.lang.annotation.Annotation[] first, java.lang.annotation.Annotation[] second)