Class AnnotationChangeEvent

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Annotation annotation
      The annotation that generated the event.
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotationChangeEvent​(java.lang.Object source, Annotation annotation)
      Creates a new AnnotationChangeEvent instance.
    • Field Detail

      • annotation

        private final Annotation annotation
        The annotation that generated the event.
    • Constructor Detail

      • AnnotationChangeEvent

        public AnnotationChangeEvent​(java.lang.Object source,
                                     Annotation annotation)
        Creates a new AnnotationChangeEvent instance.
        Parameters:
        source - the event source.
        annotation - the annotation that triggered the event (null not permitted).
    • Method Detail

      • getAnnotation

        public Annotation getAnnotation()
        Returns the annotation that triggered the event.
        Returns:
        The annotation that triggered the event (never null).