AdConfig.smali

.class public Lcom/hhsq/cooperativestorelib/main/AdConfig;
.super Ljava/lang/Object;
.source ""


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/hhsq/cooperativestorelib/main/AdConfig$AdParam;,
        Lcom/hhsq/cooperativestorelib/main/AdConfig$Ad;
    }
.end annotation


# instance fields
.field public df:Lcom/hhsq/cooperativestorelib/main/AdConfig$Ad;

.field public gdt:Lcom/hhsq/cooperativestorelib/main/AdConfig$Ad;


# direct methods
.method public constructor <init>()V
    .registers 1

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

    return-void
.end method

.method public static transEntity(Ljava/lang/String;)Lcom/hhsq/cooperativestorelib/main/AdConfig;
    .registers 4

    new-instance v1, Lcom/hhsq/cooperativestorelib/main/AdConfig;

    invoke-direct {v1}, Lcom/hhsq/cooperativestorelib/main/AdConfig;-><init>()V

    :try_start_5
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0, p0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string v2, "gdt"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v2

    invoke-static {v2}, Lcom/hhsq/cooperativestorelib/main/AdConfig$Ad;->transAd(Lorg/json/JSONObject;)Lcom/hhsq/cooperativestorelib/main/AdConfig$Ad;

    move-result-object v2

    iput-object v2, v1, Lcom/hhsq/cooperativestorelib/main/AdConfig;->gdt:Lcom/hhsq/cooperativestorelib/main/AdConfig$Ad;

    const-string v2, "df"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-static {v0}, Lcom/hhsq/cooperativestorelib/main/AdConfig$Ad;->transAd(Lorg/json/JSONObject;)Lcom/hhsq/cooperativestorelib/main/AdConfig$Ad;

    move-result-object v0

    iput-object v0, v1, Lcom/hhsq/cooperativestorelib/main/AdConfig;->df:Lcom/hhsq/cooperativestorelib/main/AdConfig$Ad;
    :try_end_22
    .catch Lorg/json/JSONException; {:try_start_5 .. :try_end_22} :catch_23

    :goto_22
    return-object v1

    :catch_23
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_22
.end method