greenrobot/EventBus — pull request #62 by almozavr (2014-02-14 21:44:26+00:00)
Title: Subscriber method is public

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.