apkfuckery/com.discord/smali/androidx/versionedparcelable/VersionedParcel$1.smali

82 lines
2.1 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class Landroidx/versionedparcelable/VersionedParcel$1;
2019-02-04 20:05:16 +00:00
.super Ljava/io/ObjectInputStream;
2019-02-04 20:29:01 +00:00
.source "VersionedParcel.java"
2019-02-04 20:05:16 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2019-02-04 20:08:30 +00:00
value = Landroidx/versionedparcelable/VersionedParcel;->readSerializable()Ljava/io/Serializable;
2019-02-04 20:05:16 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-02-04 20:08:30 +00:00
accessFlags = 0x0
2019-02-04 20:05:16 +00:00
name = null
.end annotation
# instance fields
2019-02-04 20:08:30 +00:00
.field final synthetic this$0:Landroidx/versionedparcelable/VersionedParcel;
2019-02-04 20:05:16 +00:00
# direct methods
2019-02-04 20:08:30 +00:00
.method constructor <init>(Landroidx/versionedparcelable/VersionedParcel;Ljava/io/InputStream;)V
2019-02-04 20:05:16 +00:00
.locals 0
2019-02-04 20:08:30 +00:00
iput-object p1, p0, Landroidx/versionedparcelable/VersionedParcel$1;->this$0:Landroidx/versionedparcelable/VersionedParcel;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0, p2}, Ljava/io/ObjectInputStream;-><init>(Ljava/io/InputStream;)V
2019-02-04 20:05:16 +00:00
return-void
.end method
# virtual methods
2019-02-04 20:08:30 +00:00
.method protected resolveClass(Ljava/io/ObjectStreamClass;)Ljava/lang/Class;
2019-02-04 20:05:16 +00:00
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/io/ObjectStreamClass;",
")",
2019-02-04 20:08:30 +00:00
"Ljava/lang/Class<",
"*>;"
2019-02-04 20:05:16 +00:00
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Ljava/lang/ClassNotFoundException;
}
.end annotation
invoke-virtual {p1}, Ljava/io/ObjectStreamClass;->getName()Ljava/lang/String;
move-result-object v0
2019-02-04 20:08:30 +00:00
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {v1}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {v0, v2, v1}, Ljava/lang/Class;->forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
2019-02-04 20:05:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_0
2019-02-04 20:05:16 +00:00
return-object v0
2019-02-04 20:08:30 +00:00
:cond_0
invoke-super {p0, p1}, Ljava/io/ObjectInputStream;->resolveClass(Ljava/io/ObjectStreamClass;)Ljava/lang/Class;
move-result-object p1
return-object p1
2019-02-04 20:05:16 +00:00
.end method