greenrobot/EventBus — pull request #63 by almozavr (2014-02-15 00:37:55+00:00)
Title: SubscriberMethod publicity

Nevertheless EventBus is public it's hard to extend it 'cause of package-access SubscriberMethod.
E.g. I want to extend EventBus to have a method giving me the *list of event types by subscriber:

```java
/**
* Get list of registered event types for subscriber object.
* @param subscriber
* @return list of event types' classes which subscriber is registered on.
*/
public List> getEventTypesBySubscriber(Object subscriber) {
List subscriberMethods = subscriberMethodFinder.findSubscriberMethods(subscriber.getClass(), defaultMethodName);
List> eventTypes = new ArrayList>(subscriberMethods.size());
for (SubscriberMethod method : subscriberMethods) {
eventTypes.add(method.eventType);
}
return eventTypes;
}
```

* used to remove sticky events in generic method ```onEvent(Object o)``` right after they are finally delivered.