134 lines
3.1 KiB
Smali
134 lines
3.1 KiB
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,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lkotlin/jvm/internal/u;)V
|
|
.locals 0
|
|
|
|
.line 2
|
|
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;
|
|
.locals 7
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:try_start_0
|
|
const-string v1, "dalvik.system.CloseGuard"
|
|
|
|
.line 1
|
|
invoke-static {v1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "get"
|
|
|
|
const/4 v3, 0x0
|
|
|
|
new-array v4, v3, [Ljava/lang/Class;
|
|
|
|
.line 2
|
|
invoke-virtual {v1, v2, v4}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v4, "open"
|
|
|
|
const/4 v5, 0x1
|
|
|
|
new-array v5, v5, [Ljava/lang/Class;
|
|
|
|
.line 3
|
|
const-class v6, Ljava/lang/String;
|
|
|
|
aput-object v6, v5, v3
|
|
|
|
invoke-virtual {v1, v4, v5}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object v4
|
|
|
|
const-string v5, "warnIfOpen"
|
|
|
|
new-array v3, v3, [Ljava/lang/Class;
|
|
|
|
.line 4
|
|
invoke-virtual {v1, v5, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object v0
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
move-object v1, v0
|
|
|
|
move-object v0, v2
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-object v1, v0
|
|
|
|
move-object v4, v1
|
|
|
|
.line 5
|
|
:goto_0
|
|
new-instance v2, Lokhttp3/internal/platform/android/CloseGuard;
|
|
|
|
invoke-direct {v2, v0, v4, v1}, Lokhttp3/internal/platform/android/CloseGuard;-><init>(Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;)V
|
|
|
|
return-object v2
|
|
.end method
|