112 lines
2.4 KiB
Smali
112 lines
2.4 KiB
Smali
.class public final Lcom/discord/widgets/search/suggestions/WidgetSearchSuggestionsAdapter$HasViewHolder$Companion;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetSearchSuggestionsAdapter.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/search/suggestions/WidgetSearchSuggestionsAdapter$HasViewHolder;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Companion"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/search/suggestions/WidgetSearchSuggestionsAdapter$HasViewHolder$Companion;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$getIconRes(Lcom/discord/widgets/search/suggestions/WidgetSearchSuggestionsAdapter$HasViewHolder$Companion;Lcom/discord/utilities/search/query/node/answer/HasAnswerOption;)I
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/search/suggestions/WidgetSearchSuggestionsAdapter$HasViewHolder$Companion;->getIconRes(Lcom/discord/utilities/search/query/node/answer/HasAnswerOption;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private final getIconRes(Lcom/discord/utilities/search/query/node/answer/HasAnswerOption;)I
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/DrawableRes;
|
|
.end annotation
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eq p1, v0, :cond_4
|
|
|
|
const/4 v0, 0x2
|
|
|
|
if-eq p1, v0, :cond_3
|
|
|
|
const/4 v0, 0x3
|
|
|
|
if-eq p1, v0, :cond_2
|
|
|
|
const/4 v0, 0x4
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/4 v0, 0x5
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
const p1, 0x7f0803ed
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance p1, Lkotlin/NoWhenBranchMatchedException;
|
|
|
|
invoke-direct {p1}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
const p1, 0x7f080329
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const p1, 0x7f0803a2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const p1, 0x7f08022f
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
const p1, 0x7f0802b3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
const p1, 0x7f0802a9
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|