@Inherited
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Subscribe
AnnotatedHandlerFinder
and Bus
.
The method's first (and only) parameter defines the event type.
If this annotation is applied to methods with zero parameters or more than one parameter, the object containing
the method will not be able to register for event delivery from the Bus
. Otto fails fast by throwing
runtime exceptions in these cases.