h.smali

.class public final Lcom/singbox/util/h;
.super Ljava/lang/Object;
.source "SourceFile"


# static fields
.field static final synthetic a:[Lkotlin/k/g;

.field public static final b:Lcom/singbox/util/h;

# The value of this static final field might be set in the static constructor
.field private static final c:Ljava/lang/String; = "GsonHelper"

.field private static final d:Lkotlin/f;

.field private static final e:Lkotlin/f;

.field private static final f:Lkotlin/f;


# direct methods
.method static constructor <clinit>()V
    .registers 6

    const-class v0, Lcom/singbox/util/h;

    const/4 v1, 0x3

    new-array v1, v1, [Lkotlin/k/g;

    new-instance v2, Lkotlin/f/b/z;

    invoke-static {v0}, Lkotlin/f/b/ab;->a(Ljava/lang/Class;)Lkotlin/k/b;

    move-result-object v3

    const-string v4, "sGsonBuilder"

    const-string v5, "getSGsonBuilder()Lcom/google/gson/GsonBuilder;"

    invoke-direct {v2, v3, v4, v5}, Lkotlin/f/b/z;-><init>(Lkotlin/k/c;Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {v2}, Lkotlin/f/b/ab;->a(Lkotlin/f/b/y;)Lkotlin/k/j;

    move-result-object v2

    check-cast v2, Lkotlin/k/g;

    const/4 v3, 0x0

    aput-object v2, v1, v3

    new-instance v2, Lkotlin/f/b/z;

    invoke-static {v0}, Lkotlin/f/b/ab;->a(Ljava/lang/Class;)Lkotlin/k/b;

    move-result-object v3

    const-string v4, "sGson"

    const-string v5, "getSGson()Lcom/google/gson/Gson;"

    invoke-direct {v2, v3, v4, v5}, Lkotlin/f/b/z;-><init>(Lkotlin/k/c;Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {v2}, Lkotlin/f/b/ab;->a(Lkotlin/f/b/y;)Lkotlin/k/j;

    move-result-object v2

    check-cast v2, Lkotlin/k/g;

    const/4 v3, 0x1

    aput-object v2, v1, v3

    new-instance v2, Lkotlin/f/b/z;

    invoke-static {v0}, Lkotlin/f/b/ab;->a(Ljava/lang/Class;)Lkotlin/k/b;

    move-result-object v0

    const-string v3, "sRawGson"

    const-string v4, "getSRawGson()Lcom/google/gson/Gson;"

    invoke-direct {v2, v0, v3, v4}, Lkotlin/f/b/z;-><init>(Lkotlin/k/c;Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {v2}, Lkotlin/f/b/ab;->a(Lkotlin/f/b/y;)Lkotlin/k/j;

    move-result-object v0

    check-cast v0, Lkotlin/k/g;

    const/4 v2, 0x2

    aput-object v0, v1, v2

    sput-object v1, Lcom/singbox/util/h;->a:[Lkotlin/k/g;

    .line 11
    new-instance v0, Lcom/singbox/util/h;

    invoke-direct {v0}, Lcom/singbox/util/h;-><init>()V

    sput-object v0, Lcom/singbox/util/h;->b:Lcom/singbox/util/h;

    const-string v0, "GsonHelper"

    .line 12
    sput-object v0, Lcom/singbox/util/h;->c:Ljava/lang/String;

    .line 13
    sget-object v0, Lcom/singbox/util/h$b;->a:Lcom/singbox/util/h$b;

    check-cast v0, Lkotlin/f/a/a;

    invoke-static {v0}, Lkotlin/g;->a(Lkotlin/f/a/a;)Lkotlin/f;

    move-result-object v0

    sput-object v0, Lcom/singbox/util/h;->d:Lkotlin/f;

    .line 14
    sget-object v0, Lcom/singbox/util/h$a;->a:Lcom/singbox/util/h$a;

    check-cast v0, Lkotlin/f/a/a;

    invoke-static {v0}, Lkotlin/g;->a(Lkotlin/f/a/a;)Lkotlin/f;

    move-result-object v0

    sput-object v0, Lcom/singbox/util/h;->e:Lkotlin/f;

    .line 17
    sget-object v0, Lcom/singbox/util/h$c;->a:Lcom/singbox/util/h$c;

    check-cast v0, Lkotlin/f/a/a;

    invoke-static {v0}, Lkotlin/g;->a(Lkotlin/f/a/a;)Lkotlin/f;

    move-result-object v0

    sput-object v0, Lcom/singbox/util/h;->f:Lkotlin/f;

    return-void
.end method

.method private constructor <init>()V
    .registers 1

    .line 11
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static final a()Lcom/google/gson/f;
    .registers 1

    .line 1000
    sget-object v0, Lcom/singbox/util/h;->e:Lkotlin/f;

    invoke-interface {v0}, Lkotlin/f;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/google/gson/f;

    return-object v0
.end method

.method public static final synthetic b()Lcom/google/gson/g;
    .registers 3

    .line 1037
    new-instance v0, Lcom/google/gson/g;

    invoke-direct {v0}, Lcom/google/gson/g;-><init>()V

    const/4 v1, 0x1

    .line 1193
    iput-boolean v1, v0, Lcom/google/gson/g;->b:Z

    .line 1039
    const-class v1, Lcom/singbox/component/backend/model/song/a;

    check-cast v1, Ljava/lang/reflect/Type;

    new-instance v2, Lcom/singbox/component/backend/model/song/PostFromTypeAdapter;

    invoke-direct {v2}, Lcom/singbox/component/backend/model/song/PostFromTypeAdapter;-><init>()V

    invoke-virtual {v0, v1, v2}, Lcom/google/gson/g;->a(Ljava/lang/reflect/Type;Ljava/lang/Object;)Lcom/google/gson/g;

    move-result-object v0

    .line 1040
    const-class v1, Lcom/singbox/component/backend/model/song/b;

    check-cast v1, Ljava/lang/reflect/Type;

    new-instance v2, Lcom/singbox/component/backend/model/song/PostStatusTypeAdapter;

    invoke-direct {v2}, Lcom/singbox/component/backend/model/song/PostStatusTypeAdapter;-><init>()V

    invoke-virtual {v0, v1, v2}, Lcom/google/gson/g;->a(Ljava/lang/reflect/Type;Ljava/lang/Object;)Lcom/google/gson/g;

    move-result-object v0

    .line 1041
    const-class v1, Lcom/singbox/component/backend/model/song/c;

    check-cast v1, Ljava/lang/reflect/Type;

    new-instance v2, Lcom/singbox/component/backend/model/song/SongTypeTypeAdapter;

    invoke-direct {v2}, Lcom/singbox/component/backend/model/song/SongTypeTypeAdapter;-><init>()V

    invoke-virtual {v0, v1, v2}, Lcom/google/gson/g;->a(Ljava/lang/reflect/Type;Ljava/lang/Object;)Lcom/google/gson/g;

    move-result-object v0

    const-string v1, "GsonBuilder()\n          \u2026a, SongTypeTypeAdapter())"

    invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    return-object v0
.end method

.method public static final synthetic c()Lcom/google/gson/g;
    .registers 1

    .line 2000
    sget-object v0, Lcom/singbox/util/h;->d:Lkotlin/f;

    invoke-interface {v0}, Lkotlin/f;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/google/gson/g;

    return-object v0
.end method