apkfuckery/com.discord/smali/b/k.smali

167 lines
3.3 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class Lb/k;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "Platform.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lb/k$a;,
Lb/k$b;
}
.end annotation
# static fields
2019-02-27 21:13:14 +00:00
.field private static final bzR:Lb/k;
2019-02-04 20:08:30 +00:00
# direct methods
.method static constructor <clinit>()V
.locals 1
2019-02-27 21:13:14 +00:00
invoke-static {}, Lb/k;->Dh()Lb/k;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-27 21:13:14 +00:00
sput-object v0, Lb/k;->bzR:Lb/k;
2019-02-04 20:08:30 +00:00
return-void
.end method
.method constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
2019-02-27 21:13:14 +00:00
.method static Dg()Lb/k;
2019-02-04 20:08:30 +00:00
.locals 1
2019-02-27 21:13:14 +00:00
sget-object v0, Lb/k;->bzR:Lb/k;
2019-02-04 20:08:30 +00:00
return-object v0
.end method
2019-02-27 21:13:14 +00:00
.method private static Dh()Lb/k;
2019-02-04 20:08:30 +00:00
.locals 1
:try_start_0
const-string v0, "android.os.Build"
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
if-eqz v0, :cond_0
new-instance v0, Lb/k$a;
invoke-direct {v0}, Lb/k$a;-><init>()V
:try_end_0
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
return-object v0
:catch_0
:cond_0
:try_start_1
const-string v0, "java.util.Optional"
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
new-instance v0, Lb/k$b;
invoke-direct {v0}, Lb/k$b;-><init>()V
:try_end_1
.catch Ljava/lang/ClassNotFoundException; {:try_start_1 .. :try_end_1} :catch_1
return-object v0
:catch_1
new-instance v0, Lb/k;
invoke-direct {v0}, Lb/k;-><init>()V
return-object v0
.end method
# virtual methods
2019-02-27 21:13:14 +00:00
.method Di()Ljava/util/concurrent/Executor;
2019-02-04 20:08:30 +00:00
.locals 1
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method a(Ljava/util/concurrent/Executor;)Lb/c$a;
.locals 1
.param p1 # Ljava/util/concurrent/Executor;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
if-eqz p1, :cond_0
new-instance v0, Lb/g;
invoke-direct {v0, p1}, Lb/g;-><init>(Ljava/util/concurrent/Executor;)V
return-object v0
:cond_0
2019-02-27 21:13:14 +00:00
sget-object p1, Lb/f;->bzr:Lb/c$a;
2019-02-04 20:08:30 +00:00
return-object p1
.end method
.method varargs a(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.param p4 # [Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Method;",
"Ljava/lang/Class<",
"*>;",
"Ljava/lang/Object;",
"[",
"Ljava/lang/Object;",
")",
"Ljava/lang/Object;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
.end method
.method a(Ljava/lang/reflect/Method;)Z
.locals 0
const/4 p1, 0x0
return p1
.end method