public class AnnotationUtils extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
getAnnotationPattern(java.lang.annotation.Annotation annotation) |
Extract the
pattern() from annotation. |
static java.lang.annotation.Annotation[] |
getAnnotationsArrayValue(java.lang.annotation.Annotation annotation) |
Extract the Annotations array
value() from annotation if present,
nul otherwise. |
static java.lang.Object |
getAnnotationValue(java.lang.annotation.Annotation annotation) |
Extract the
value() from annotation. |
public static java.lang.Object getAnnotationValue(java.lang.annotation.Annotation annotation)
value() from annotation.annotation - the annotation has to be introspected.value().public static java.lang.String getAnnotationPattern(java.lang.annotation.Annotation annotation)
pattern() from annotation.annotation - the annotation has to be introspected.pattern().public static java.lang.annotation.Annotation[] getAnnotationsArrayValue(java.lang.annotation.Annotation annotation)
value() from annotation if present,
nul otherwise.annotation - the annotation has to be introspected.value() as Annotations array.