@Target(value=METHOD) @Retention(value=RUNTIME) public @interface IsCancelled
Tristate
). If the state is set to undefined then
the listener will be called regardless of the cancellation state.
If this annotation is not present then the behavior is as normal, which is to say that the listener is only called if the event is not cancelled.
The event type of the annotated event listener MUST be
cancellable (eg. must extend Cancellable
).
public abstract Tristate value