public void subscribe(EventSubscriber<?> subscriber){
  final Class<?> eventType=getEventType(subscriber);
  doSubscribe(subscriber,eventType);
}

public void subscribe ( EventSubscriber < ? > subscriber ) { final Class < ? > eventType = getEventType ( subscriber ) ; doSubscribe ( subscriber , eventType ) ; }
subscribe event listener . the event to subscribe to is inferred by checking the generic type arguments of the given subscriber .
