c.smali
.class public Lcom/hz/xloglite/c;
.super Ljava/lang/Object;
.source ""
# static fields
.field public static a:Lcom/hz/xloglite/c;
# instance fields
.field public b:Lcom/xinmeng/shadow/interfaces/b;
# direct methods
.method public constructor <init>()V
.registers 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Lcom/hz/xloglite/d;
invoke-direct {v0, p0}, Lcom/hz/xloglite/d;-><init>(Lcom/hz/xloglite/c;)V
iput-object v0, p0, Lcom/hz/xloglite/c;->b:Lcom/xinmeng/shadow/interfaces/b;
return-void
.end method
.method public static a()Lcom/hz/xloglite/c;
.registers 2
sget-object v0, Lcom/hz/xloglite/c;->a:Lcom/hz/xloglite/c;
if-nez v0, :cond_13
const-class v1, Lcom/hz/xloglite/c;
monitor-enter v1
:try_start_7
sget-object v0, Lcom/hz/xloglite/c;->a:Lcom/hz/xloglite/c;
if-nez v0, :cond_12
new-instance v0, Lcom/hz/xloglite/c;
invoke-direct {v0}, Lcom/hz/xloglite/c;-><init>()V
sput-object v0, Lcom/hz/xloglite/c;->a:Lcom/hz/xloglite/c;
:cond_12
monitor-exit v1
:try_end_13
.catchall {:try_start_7 .. :try_end_13} :catchall_16
:cond_13
sget-object v0, Lcom/hz/xloglite/c;->a:Lcom/hz/xloglite/c;
return-object v0
:catchall_16
move-exception v0
:try_start_17
monitor-exit v1
:try_end_18
.catchall {:try_start_17 .. :try_end_18} :catchall_16
throw v0
.end method
# virtual methods
.method public a(Landroid/app/Application;Lcom/hz/xloglite/a;)V
.registers 5
if-eqz p1, :cond_1c
if-eqz p2, :cond_14
invoke-static {p1, p2}, Lcom/hz/xloglite/a/a;->a(Landroid/app/Application;Lcom/hz/xloglite/a;)V
invoke-static {}, Lcom/hz/xloglite/c/g;->a()V
invoke-virtual {p2}, Lcom/hz/xloglite/a;->g()Lcom/xinmeng/shadow/interfaces/c;
move-result-object v0
iget-object v1, p0, Lcom/hz/xloglite/c;->b:Lcom/xinmeng/shadow/interfaces/b;
invoke-interface {v0, v1}, Lcom/xinmeng/shadow/interfaces/c;->b(Lcom/xinmeng/shadow/interfaces/b;)V
return-void
:cond_14
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "config can not be null"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
:cond_1c
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "application can not be null"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method