66 lines
1.7 KiB
Smali
66 lines
1.7 KiB
Smali
.class Lcom/google/gson/Gson$2;
|
|
.super Ljava/lang/Object;
|
|
.source "Gson.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/gson/JsonSerializationContext;
|
|
|
|
|
|
# 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$2;->this$0:Lcom/google/gson/Gson;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public serialize(Ljava/lang/Object;)Lcom/google/gson/JsonElement;
|
|
.locals 1
|
|
.param p1, "src" # Ljava/lang/Object;
|
|
|
|
.prologue
|
|
iget-object v0, p0, Lcom/google/gson/Gson$2;->this$0:Lcom/google/gson/Gson;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/google/gson/Gson;->toJsonTree(Ljava/lang/Object;)Lcom/google/gson/JsonElement;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public serialize(Ljava/lang/Object;Ljava/lang/reflect/Type;)Lcom/google/gson/JsonElement;
|
|
.locals 1
|
|
.param p1, "src" # Ljava/lang/Object;
|
|
.param p2, "typeOfSrc" # Ljava/lang/reflect/Type;
|
|
|
|
.prologue
|
|
iget-object v0, p0, Lcom/google/gson/Gson$2;->this$0:Lcom/google/gson/Gson;
|
|
|
|
invoke-virtual {v0, p1, p2}, Lcom/google/gson/Gson;->toJsonTree(Ljava/lang/Object;Ljava/lang/reflect/Type;)Lcom/google/gson/JsonElement;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|