201 lines
3.3 KiB
Smali
201 lines
3.3 KiB
Smali
.class public final Lcom/vk/dto/notifications/NotificationConfirm$b;
|
|
.super Ljava/lang/Object;
|
|
.source "NotificationConfirm.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/vk/dto/notifications/NotificationConfirm;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "b"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
.line 2
|
|
invoke-direct {p0}, Lcom/vk/dto/notifications/NotificationConfirm$b;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lorg/json/JSONObject;)Lcom/vk/dto/notifications/NotificationConfirm;
|
|
.locals 7
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const-string v1, "title"
|
|
|
|
.line 1
|
|
invoke-virtual {p1, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v1, v0
|
|
|
|
:goto_0
|
|
if-eqz p1, :cond_1
|
|
|
|
const-string v2, "text"
|
|
|
|
.line 2
|
|
invoke-virtual {p1, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move-object v2, v0
|
|
|
|
:goto_1
|
|
if-eqz p1, :cond_2
|
|
|
|
const-string v3, "ok_label"
|
|
|
|
.line 3
|
|
invoke-virtual {p1, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move-object v3, v0
|
|
|
|
:goto_2
|
|
if-eqz p1, :cond_3
|
|
|
|
const-string v4, "cancel_label"
|
|
|
|
.line 4
|
|
invoke-virtual {p1, v4}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
move-object p1, v0
|
|
|
|
:goto_3
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x1
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
.line 5
|
|
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v6
|
|
|
|
if-nez v6, :cond_4
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
const/4 v6, 0x0
|
|
|
|
goto :goto_5
|
|
|
|
:cond_5
|
|
:goto_4
|
|
const/4 v6, 0x1
|
|
|
|
:goto_5
|
|
if-eqz v6, :cond_8
|
|
|
|
if-eqz v2, :cond_7
|
|
|
|
invoke-interface {v2}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v6
|
|
|
|
if-nez v6, :cond_6
|
|
|
|
goto :goto_6
|
|
|
|
:cond_6
|
|
const/4 v6, 0x0
|
|
|
|
goto :goto_7
|
|
|
|
:cond_7
|
|
:goto_6
|
|
const/4 v6, 0x1
|
|
|
|
:goto_7
|
|
if-nez v6, :cond_e
|
|
|
|
:cond_8
|
|
if-eqz v3, :cond_a
|
|
|
|
invoke-interface {v3}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v6
|
|
|
|
if-nez v6, :cond_9
|
|
|
|
goto :goto_8
|
|
|
|
:cond_9
|
|
const/4 v6, 0x0
|
|
|
|
goto :goto_9
|
|
|
|
:cond_a
|
|
:goto_8
|
|
const/4 v6, 0x1
|
|
|
|
:goto_9
|
|
if-nez v6, :cond_e
|
|
|
|
if-eqz p1, :cond_b
|
|
|
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v6
|
|
|
|
if-nez v6, :cond_c
|
|
|
|
:cond_b
|
|
const/4 v4, 0x1
|
|
|
|
:cond_c
|
|
if-eqz v4, :cond_d
|
|
|
|
goto :goto_a
|
|
|
|
.line 6
|
|
:cond_d
|
|
new-instance v0, Lcom/vk/dto/notifications/NotificationConfirm;
|
|
|
|
invoke-direct {v0, v1, v2, v3, p1}, Lcom/vk/dto/notifications/NotificationConfirm;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:cond_e
|
|
:goto_a
|
|
return-object v0
|
|
.end method
|