public class AnnotationUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getAnnotationNamespaceURI(Annotation annotation)
Extract the
namespaceURI() from annotation. |
static String |
getAnnotationPattern(Annotation annotation)
Extract the
pattern() from annotation. |
static Annotation[] |
getAnnotationsArrayValue(Annotation annotation)
Extract the Annotations array
value() from annotation if present, nul otherwise. |
static Object |
getAnnotationValue(Annotation annotation)
Extract the
value() from annotation. |
static boolean |
getFireOnBegin(Annotation annotation)
Extract the
fireOnBegin() from annotation. |
public static Object getAnnotationValue(Annotation annotation)
value()
from annotation.annotation
- the annotation has to be introspected.value()
.public static String getAnnotationPattern(Annotation annotation)
pattern()
from annotation.annotation
- the annotation has to be introspected.pattern()
.public static String getAnnotationNamespaceURI(Annotation annotation)
namespaceURI()
from annotation.annotation
- The annotation has to be introspectednamespaceURI()
public static boolean getFireOnBegin(Annotation annotation)
fireOnBegin()
from annotation.annotation
- The annotation has to be introspectedfireOnBegin()
public static Annotation[] getAnnotationsArrayValue(Annotation annotation)
value()
from annotation if present, nul otherwise.annotation
- the annotation has to be introspected.value()
as Annotations array.Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.