Event annotation, for programmatic event registration.
 
 Events are automatically registered when they are first used. This annotation
 can be used to override that registration. To register
 events programmatically, use FlightRecorder.register(Class).
- Since:
- 9
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionbooleanReturnstrueif the event is to be registered when the event class is first used,falseotherwise.
- 
Element Details- 
valueboolean valueReturnstrueif the event is to be registered when the event class is first used,falseotherwise.- Returns:
- trueif the event is to be registered when the event class is first used,- falseotherwise.
 - Default:
- true
 
 
-