121 lines
2.7 KiB
Smali
121 lines
2.7 KiB
Smali
.class public final Lcom/google/gson/JsonObject;
|
|
.super Lcom/google/gson/JsonElement;
|
|
.source "JsonObject.java"
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lcom/google/gson/internal/LinkedTreeMap;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/google/gson/internal/LinkedTreeMap<",
|
|
"Ljava/lang/String;",
|
|
"Lcom/google/gson/JsonElement;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Lcom/google/gson/JsonElement;-><init>()V
|
|
|
|
new-instance v0, Lcom/google/gson/internal/LinkedTreeMap;
|
|
|
|
invoke-direct {v0}, Lcom/google/gson/internal/LinkedTreeMap;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/google/gson/JsonObject;->a:Lcom/google/gson/internal/LinkedTreeMap;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public e(Ljava/lang/String;Lcom/google/gson/JsonElement;)V
|
|
.locals 1
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
sget-object p2, Lf/i/d/n;->a:Lf/i/d/n;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/gson/JsonObject;->a:Lcom/google/gson/internal/LinkedTreeMap;
|
|
|
|
invoke-virtual {v0, p1, p2}, Lcom/google/gson/internal/LinkedTreeMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 1
|
|
|
|
if-eq p1, p0, :cond_1
|
|
|
|
instance-of v0, p1, Lcom/google/gson/JsonObject;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lcom/google/gson/JsonObject;
|
|
|
|
iget-object p1, p1, Lcom/google/gson/JsonObject;->a:Lcom/google/gson/internal/LinkedTreeMap;
|
|
|
|
iget-object v0, p0, Lcom/google/gson/JsonObject;->a:Lcom/google/gson/internal/LinkedTreeMap;
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/AbstractMap;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
:goto_1
|
|
return p1
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/google/gson/JsonObject;->a:Lcom/google/gson/internal/LinkedTreeMap;
|
|
|
|
invoke-virtual {v0}, Ljava/util/AbstractMap;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public i(Ljava/lang/String;Ljava/lang/Number;)V
|
|
.locals 1
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
sget-object p2, Lf/i/d/n;->a:Lf/i/d/n;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v0, Lf/i/d/o;
|
|
|
|
invoke-direct {v0, p2}, Lf/i/d/o;-><init>(Ljava/lang/Object;)V
|
|
|
|
move-object p2, v0
|
|
|
|
:goto_0
|
|
iget-object v0, p0, Lcom/google/gson/JsonObject;->a:Lcom/google/gson/internal/LinkedTreeMap;
|
|
|
|
invoke-virtual {v0, p1, p2}, Lcom/google/gson/internal/LinkedTreeMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|