@Retention(value=RUNTIME) @Target(value=METHOD) @Inherited public @interface EventMethod
EventMethod
must have the
method signature of:
public void myEventName( Event event )Where myEventName can be anything and event class must inherit from
Event
.Copyright © 2010–2015. All rights reserved.