87 lines
2.0 KiB
Smali
87 lines
2.0 KiB
Smali
.class public final Lcom/vk/dto/menu/widgets/WidgetMessage$b;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetMessage.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/vk/dto/menu/widgets/WidgetMessage;
|
|
.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/menu/widgets/WidgetMessage$b;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lorg/json/JSONObject;)Lcom/vk/dto/menu/widgets/WidgetMessage;
|
|
.locals 5
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/vk/dto/menu/widgets/WidgetMessage;
|
|
|
|
const-string v1, "from"
|
|
|
|
.line 2
|
|
invoke-virtual {p1, v1}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I
|
|
|
|
move-result v1
|
|
|
|
const-string v2, "to"
|
|
|
|
.line 3
|
|
invoke-virtual {p1, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I
|
|
|
|
move-result v2
|
|
|
|
const-string v3, "type"
|
|
|
|
.line 4
|
|
invoke-virtual {p1, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "primary"
|
|
|
|
invoke-static {v3, v4}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
const-string v4, "text"
|
|
|
|
.line 5
|
|
invoke-virtual {p1, v4}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v4, "json.optString(\"text\")"
|
|
|
|
invoke-static {p1, v4}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 6
|
|
invoke-direct {v0, v1, v2, v3, p1}, Lcom/vk/dto/menu/widgets/WidgetMessage;-><init>(IIZLjava/lang/String;)V
|
|
|
|
return-object v0
|
|
.end method
|