Package org.greenrobot.eventbus.meta
Class AbstractSubscriberInfo
- java.lang.Object
-
- org.greenrobot.eventbus.meta.AbstractSubscriberInfo
-
- All Implemented Interfaces:
SubscriberInfo
- Direct Known Subclasses:
SimpleSubscriberInfo
public abstract class AbstractSubscriberInfo extends java.lang.Object implements SubscriberInfo
Base class for generated subscriber meta info classes created by annotation processing.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSubscriberInfo(java.lang.Class subscriberClass, java.lang.Class<? extends SubscriberInfo> superSubscriberInfoClass, boolean shouldCheckSuperclass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SubscriberMethod
createSubscriberMethod(java.lang.String methodName, java.lang.Class<?> eventType)
protected SubscriberMethod
createSubscriberMethod(java.lang.String methodName, java.lang.Class<?> eventType, ThreadMode threadMode)
protected SubscriberMethod
createSubscriberMethod(java.lang.String methodName, java.lang.Class<?> eventType, ThreadMode threadMode, int priority, boolean sticky)
java.lang.Class
getSubscriberClass()
SubscriberInfo
getSuperSubscriberInfo()
boolean
shouldCheckSuperclass()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.greenrobot.eventbus.meta.SubscriberInfo
getSubscriberMethods
-
-
-
-
Constructor Detail
-
AbstractSubscriberInfo
protected AbstractSubscriberInfo(java.lang.Class subscriberClass, java.lang.Class<? extends SubscriberInfo> superSubscriberInfoClass, boolean shouldCheckSuperclass)
-
-
Method Detail
-
getSubscriberClass
public java.lang.Class getSubscriberClass()
- Specified by:
getSubscriberClass
in interfaceSubscriberInfo
-
getSuperSubscriberInfo
public SubscriberInfo getSuperSubscriberInfo()
- Specified by:
getSuperSubscriberInfo
in interfaceSubscriberInfo
-
shouldCheckSuperclass
public boolean shouldCheckSuperclass()
- Specified by:
shouldCheckSuperclass
in interfaceSubscriberInfo
-
createSubscriberMethod
protected SubscriberMethod createSubscriberMethod(java.lang.String methodName, java.lang.Class<?> eventType)
-
createSubscriberMethod
protected SubscriberMethod createSubscriberMethod(java.lang.String methodName, java.lang.Class<?> eventType, ThreadMode threadMode)
-
createSubscriberMethod
protected SubscriberMethod createSubscriberMethod(java.lang.String methodName, java.lang.Class<?> eventType, ThreadMode threadMode, int priority, boolean sticky)
-
-