Class RoundCompleteEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public abstract class RoundCompleteEvent
    extends java.util.EventObject
    Event for the completion of a round of annotation processing.

    While this class extends the serializable EventObject, it cannot meaningfully be serialized because all of the annotation processing tool's internal state would potentially be needed.

    Since:
    1.5
    See Also:
    Serialized Form
    • Constructor Detail

      • RoundCompleteEvent

        protected RoundCompleteEvent​(AnnotationProcessorEnvironment source,
                                     RoundState rs)
        The current AnnotationProcessorEnvironment is regarded as the source of events.
        Parameters:
        source - The source of events
        rs - The state of the round
    • Method Detail

      • getRoundState

        public RoundState getRoundState()
        Return round state.