apkfuckery/com.discord/smali/com/google/gson/Gson$1.smali
2019-02-04 21:05:16 +01:00

68 lines
1.7 KiB
Smali

.class Lcom/google/gson/Gson$1;
.super Ljava/lang/Object;
.source "Gson.java"
# interfaces
.implements Lcom/google/gson/JsonDeserializationContext;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/gson/Gson;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/google/gson/Gson;
# direct methods
.method constructor <init>(Lcom/google/gson/Gson;)V
.locals 0
.param p1, "this$0" # Lcom/google/gson/Gson;
.prologue
iput-object p1, p0, Lcom/google/gson/Gson$1;->this$0:Lcom/google/gson/Gson;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;)Ljava/lang/Object;
.locals 1
.param p1, "json" # Lcom/google/gson/JsonElement;
.param p2, "typeOfT" # Ljava/lang/reflect/Type;
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/google/gson/JsonElement;",
"Ljava/lang/reflect/Type;",
")TT;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/gson/JsonParseException;
}
.end annotation
.prologue
iget-object v0, p0, Lcom/google/gson/Gson$1;->this$0:Lcom/google/gson/Gson;
invoke-virtual {v0, p1, p2}, Lcom/google/gson/Gson;->fromJson(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;)Ljava/lang/Object;
move-result-object v0
return-object v0
.end method