68 lines
1.4 KiB
Smali
68 lines
1.4 KiB
Smali
.class public final Lcom/vk/dto/menu/MenuInfo$b;
|
|
.super Ljava/lang/Object;
|
|
.source "MenuInfo.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/vk/dto/menu/MenuInfo;
|
|
.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/MenuInfo$b;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lorg/json/JSONObject;)Lcom/vk/dto/menu/MenuInfo;
|
|
.locals 3
|
|
|
|
const-string v0, "name"
|
|
|
|
.line 1
|
|
invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "is_new"
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 2
|
|
invoke-virtual {p1, v1, v2}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;Z)Z
|
|
|
|
move-result p1
|
|
|
|
.line 3
|
|
new-instance v1, Lcom/vk/dto/menu/MenuInfo;
|
|
|
|
const-string v2, "key"
|
|
|
|
invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-direct {v1, v0, p1}, Lcom/vk/dto/menu/MenuInfo;-><init>(Ljava/lang/String;Z)V
|
|
|
|
return-object v1
|
|
.end method
|