CloseGuard$Companion.smali
.class public final Lokhttp3/internal/platform/android/CloseGuard$Companion;
.super Ljava/lang/Object;
.source "CloseGuard.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/internal/platform/android/CloseGuard;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0006\u0010\u0003\u001a\u00020\u0004\u00a8\u0006\u0005"
}
d2 = {
"Lokhttp3/internal/platform/android/CloseGuard$Companion;",
"",
"()V",
"get",
"Lokhttp3/internal/platform/android/CloseGuard;",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x1,
0x10
}
.end annotation
# direct methods
.method private constructor <init>()V
.registers 1
.line 55
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.registers 2
.line 55
invoke-direct {p0}, Lokhttp3/internal/platform/android/CloseGuard$Companion;-><init>()V
return-void
.end method
# virtual methods
.method public final get()Lokhttp3/internal/platform/android/CloseGuard;
.registers 7
:try_start_0
const-string v0, "dalvik.system.CloseGuard"
.line 62
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v0
const-string v1, "get"
const/4 v2, 0x0
new-array v3, v2, [Ljava/lang/Class;
.line 63
invoke-virtual {v0, v1, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v1
const-string v3, "open"
const/4 v4, 0x1
new-array v4, v4, [Ljava/lang/Class;
.line 64
const-class v5, Ljava/lang/String;
aput-object v5, v4, v2
invoke-virtual {v0, v3, v4}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v3
const-string/jumbo v4, "warnIfOpen"
new-array v2, v2, [Ljava/lang/Class;
.line 65
invoke-virtual {v0, v4, v2}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v0
:try_end_25
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_25} :catch_26
goto :goto_2c
:catch_26
const/4 v0, 0x0
.line 67
move-object v1, v0
check-cast v1, Ljava/lang/reflect/Method;
move-object v0, v1
move-object v3, v0
.line 72
:goto_2c
new-instance v2, Lokhttp3/internal/platform/android/CloseGuard;
invoke-direct {v2, v1, v3, v0}, Lokhttp3/internal/platform/android/CloseGuard;-><init>(Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;)V
return-object v2
.end method