EventHandler 实现类要触发 handleEvent 方法,只能直接实现接口,中间不能有抽象类。
Feature description
可以看到判断逻辑,是直接通过反射判断是否是接口的实现类,这个可以优化一下,毕竟很多通用的逻辑还是要放到抽象类去实现的。
Additional notes
Add other notes if necessary.
This issue has been automatically marked as stale because it has not had recent activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue or help wanted) or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue or help wanted. Thank you for your contributions.
可以的,欢迎提交 PR 优化呢