java.lang.RuntimeException: Unable to start activity ComponentInfo{com.phantomvk.playground/com.phantomvk.playground.MainActivity}: org.greenrobot.eventbus.EventBusException: Subscriber class com.phantomvk.playground.MainActivity and its super classes have no public methods with the @Subscribe annotation

4.5 findSubscriberMethods

List<SubscriberMethod>findSubscriberMethods(Class<?>subscriberClass){// 根据订阅者类从缓存中获取订阅者方法List<SubscriberMethod>subscriberMethods=METHOD_CACHE.get(subscriberClass);if(subscriberMethods!=null){returnsubscriberMethods;}// ignoreGeneratedIndex在EventBusBuilder.ignoreGeneratedIndex为falseif(ignoreGeneratedIndex){// 通过反射的方式查找订阅者方法subscriberMethods=findUsingReflection(subscriberClass);}else{// 查找订阅者方法subscriberMethods=findUsingInfo(subscriberClass);}// 在订阅者中没有找到使用注解标注的公开方法if(subscriberMethods.isEmpty()){thrownewEventBusException("Subscriber "+subscriberClass+" and its super classes have no public methods with the @Subscribe annotation");}else{// 结果放入缓存中METHOD_CACHE.put(subscriberClass,subscriberMethods);// 返回订阅者方法returnsubscriberMethods;}}