apkfuckery/com.discord/smali/androidx/multidex/MultiDex$V14$JBMR2ElementConstructor.smali

135 lines
3.2 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class Landroidx/multidex/MultiDex$V14$JBMR2ElementConstructor;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "MultiDex.java"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Landroidx/multidex/MultiDex$V14$ElementConstructor;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/multidex/MultiDex$V14;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "JBMR2ElementConstructor"
.end annotation
# instance fields
.field private final elementConstructor:Ljava/lang/reflect/Constructor;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/reflect/Constructor<",
"*>;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Ljava/lang/Class;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/SecurityException;,
Ljava/lang/NoSuchMethodException;
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x4
new-array v0, v0, [Ljava/lang/Class;
const-class v1, Ljava/io/File;
const/4 v2, 0x0
aput-object v1, v0, v2
sget-object v1, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class;
const/4 v2, 0x1
aput-object v1, v0, v2
const-class v1, Ljava/io/File;
const/4 v3, 0x2
aput-object v1, v0, v3
const-class v1, Ldalvik/system/DexFile;
const/4 v3, 0x3
aput-object v1, v0, v3
invoke-virtual {p1, v0}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
move-result-object p1
iput-object p1, p0, Landroidx/multidex/MultiDex$V14$JBMR2ElementConstructor;->elementConstructor:Ljava/lang/reflect/Constructor;
iget-object p1, p0, Landroidx/multidex/MultiDex$V14$JBMR2ElementConstructor;->elementConstructor:Ljava/lang/reflect/Constructor;
invoke-virtual {p1, v2}, Ljava/lang/reflect/Constructor;->setAccessible(Z)V
return-void
.end method
# virtual methods
.method public newInstance(Ljava/io/File;Ldalvik/system/DexFile;)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/IllegalArgumentException;,
Ljava/lang/InstantiationException;,
Ljava/lang/IllegalAccessException;,
Ljava/lang/reflect/InvocationTargetException;
}
.end annotation
iget-object v0, p0, Landroidx/multidex/MultiDex$V14$JBMR2ElementConstructor;->elementConstructor:Ljava/lang/reflect/Constructor;
const/4 v1, 0x4
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
aput-object p1, v1, v2
sget-object v2, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
const/4 v3, 0x1
aput-object v2, v1, v3
const/4 v2, 0x2
aput-object p1, v1, v2
const/4 p1, 0x3
aput-object p2, v1, p1
invoke-virtual {v0, v1}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method