public class AnnotationEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationEvent.AnnotationEventType
The type of annotation event that can occur during the processing.
|
Constructor and Description |
---|
AnnotationEvent(AnnotationEvent.AnnotationEventType type,
Annotation ann)
Builds an annotation event for the passed annotation and type.
|
Modifier and Type | Method and Description |
---|---|
Annotation |
getAnnotation() |
AnnotationEvent.AnnotationEventType |
getType() |
public AnnotationEvent(AnnotationEvent.AnnotationEventType type, Annotation ann)
type
- the type of the annotation eventann
- the annotation for which the event took placepublic AnnotationEvent.AnnotationEventType getType()
public Annotation getAnnotation()
Copyright © 2004–2022 XWiki. All rights reserved.