private String eventBusName(Object bean) { Subscribe annotation = getAnnotation(bean); if (annotation != null) { return annotation.eventBus(); } else { throw new IllegalArgumentException("Missing annotation"); } }