.class public final Lcom/discord/utilities/rest/RestAPIAbortMessages$ResponseResolver; .super Ljava/lang/Object; .source "RestAPIAbortMessages.kt" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/discord/utilities/rest/RestAPIAbortMessages; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "ResponseResolver" .end annotation # static fields .field public static final INSTANCE:Lcom/discord/utilities/rest/RestAPIAbortMessages$ResponseResolver; # direct methods .method public static constructor ()V .locals 1 new-instance v0, Lcom/discord/utilities/rest/RestAPIAbortMessages$ResponseResolver; invoke-direct {v0}, Lcom/discord/utilities/rest/RestAPIAbortMessages$ResponseResolver;->()V sput-object v0, Lcom/discord/utilities/rest/RestAPIAbortMessages$ResponseResolver;->INSTANCE:Lcom/discord/utilities/rest/RestAPIAbortMessages$ResponseResolver; return-void .end method .method public constructor ()V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public final getRelationshipResponse(Landroid/content/Context;ILjava/lang/String;)Ljava/lang/CharSequence; .locals 3 const/4 v0, 0x0 if-eqz p3, :cond_4 invoke-static {p2}, Lcom/discord/utilities/rest/RestAPIAbortMessages;->getAbortCodeMessageResId(I)Ljava/lang/Integer; move-result-object v1 if-eqz v1, :cond_0 invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I move-result v1 goto :goto_0 :cond_0 const v1, 0x7f12008c :goto_0 const v2, 0x13880 if-eq p2, v2, :cond_1 if-eqz p1, :cond_2 invoke-virtual {p1, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String; move-result-object p1 goto :goto_1 :cond_1 if-eqz p1, :cond_2 const/4 p2, 0x1 new-array p2, p2, [Ljava/lang/Object; const/4 v2, 0x0 aput-object p3, p2, v2 invoke-virtual {p1, v1, p2}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String; move-result-object p1 goto :goto_1 :cond_2 move-object p1, v0 :goto_1 if-eqz p1, :cond_3 invoke-static {p1}, Lf/a/j/a/b/g;->b(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder; move-result-object v0 :cond_3 return-object v0 :cond_4 const-string p1, "username" invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V throw v0 .end method