T
- the result typeprivate static interface AnnotatedElementUtils.Processor<T>
Modifier and Type | Method and Description |
---|---|
void |
postProcess(java.lang.annotation.Annotation annotation,
T result) |
T |
process(java.lang.annotation.Annotation annotation,
int metaDepth)
Called to process the annotation.
|
T process(java.lang.annotation.Annotation annotation, int metaDepth)
The metaDepth
parameter represents the depth of the
annotation relative to the initial element. For example, an annotation
that is present on the element will have a depth of 0; a
meta-annotation will have a depth of 1; and a meta-meta-annotation
will have a depth of 2.
annotation
- the annotation to processmetaDepth
- the depth of the annotation relative to the initial elementnull
to continuevoid postProcess(java.lang.annotation.Annotation annotation, T result)