.class public Lcom/moji/MJRedPointBusIndex; .super Ljava/lang/Object; .source "MJRedPointBusIndex.java" # interfaces .implements Lorg/greenrobot/eventbus/meta/SubscriberInfoIndex; # static fields .field private static final a:Ljava/util/Map; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Map<", "Ljava/lang/Class<", "*>;", "Lorg/greenrobot/eventbus/meta/SubscriberInfo;", ">;" } .end annotation .end field # direct methods .method static constructor ()V .locals 7 .line 18 new-instance v0, Ljava/util/HashMap; invoke-direct {v0}, Ljava/util/HashMap;->()V sput-object v0, Lcom/moji/MJRedPointBusIndex;->a:Ljava/util/Map; .line 20 new-instance v0, Lorg/greenrobot/eventbus/meta/SimpleSubscriberInfo; const-class v1, Lcom/moji/redpoint/RedPointManager; const/4 v2, 0x2 new-array v2, v2, [Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo; new-instance v3, Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo; const-string v4, "eventLoginSuccess" const-class v5, Lcom/moji/bus/event/BusEventCommon$LoginSuccessEvent; sget-object v6, Lorg/greenrobot/eventbus/ThreadMode;->MAIN:Lorg/greenrobot/eventbus/ThreadMode; invoke-direct {v3, v4, v5, v6}, Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;->(Ljava/lang/String;Ljava/lang/Class;Lorg/greenrobot/eventbus/ThreadMode;)V const/4 v4, 0x0 aput-object v3, v2, v4 new-instance v3, Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo; const-string v4, "eventLogoutSuccess" const-class v5, Lcom/moji/bus/event/BusEventCommon$LogoutSuccessEvent; sget-object v6, Lorg/greenrobot/eventbus/ThreadMode;->MAIN:Lorg/greenrobot/eventbus/ThreadMode; invoke-direct {v3, v4, v5, v6}, Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;->(Ljava/lang/String;Ljava/lang/Class;Lorg/greenrobot/eventbus/ThreadMode;)V const/4 v4, 0x1 aput-object v3, v2, v4 invoke-direct {v0, v1, v4, v2}, Lorg/greenrobot/eventbus/meta/SimpleSubscriberInfo;->(Ljava/lang/Class;Z[Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;)V invoke-static {v0}, Lcom/moji/MJRedPointBusIndex;->a(Lorg/greenrobot/eventbus/meta/SubscriberInfo;)V return-void .end method .method public constructor ()V .locals 0 .line 14 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method private static a(Lorg/greenrobot/eventbus/meta/SubscriberInfo;)V .locals 2 .line 30 sget-object v0, Lcom/moji/MJRedPointBusIndex;->a:Ljava/util/Map; invoke-interface {p0}, Lorg/greenrobot/eventbus/meta/SubscriberInfo;->a()Ljava/lang/Class; move-result-object v1 invoke-interface {v0, v1, p0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; return-void .end method # virtual methods .method public a(Ljava/lang/Class;)Lorg/greenrobot/eventbus/meta/SubscriberInfo; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Class<", "*>;)", "Lorg/greenrobot/eventbus/meta/SubscriberInfo;" } .end annotation .line 35 sget-object v0, Lcom/moji/MJRedPointBusIndex;->a:Ljava/util/Map; invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 check-cast p1, Lorg/greenrobot/eventbus/meta/SubscriberInfo; if-eqz p1, :cond_0 return-object p1 :cond_0 const/4 p1, 0x0 return-object p1 .end method