Uwe (ObjectBox)
Uwe (ObjectBox)
@metc You might want to have a look at [RxJava](https://github.com/ReactiveX/RxJava/wiki). -ut
In the meanwhile you might be able to work around this by using a [subscriber index](http://greenrobot.org/eventbus/documentation/subscriber-index/) which avoids using reflection at runtime (and is faster). -ut
Why not move the register call to an overridable method that you overwrite empty in the child classes that should not register to EventBus? Would make it much more clear...
I suspect the issue is that extension functions are [compiled to static methods, but not actual class members](https://discuss.kotlinlang.org/t/how-do-extension-functions-work/609/2). The method has to be a non-static member of the class you...
This would also be a solution to #318. Thanks for the PR! @greenrobot This is worth a look. -ut
`EventBus` is not `final`, so you should be able to subclass it. No? Anyhow, leaving this open if we ever decide to support this. -ut
Do you have a benchmark that shows a performance difference? Though I have not looked at the code, it might not be possible to use a priority queue. -ut
This is now also [part of the `plain-java-new` branch, including a test](https://github.com/greenrobot/EventBus/compare/a5ef897...0be66fb). This is expected to be in the `3.1.0` release, we welcome your feedback. -ut
I do not see any reason why this should not work. As long as you make sure to [add the index to the EventBus instance that is used by the...
**Update** sorry, you are right: the EventBus index annotation processor does no magic to find methods in subclasses. So on runtime the lookup will be done using reflection for subclasses....