214 lines
5.6 KiB
Smali
214 lines
5.6 KiB
Smali
.class public final Lcom/discord/widgets/chat/input/SourcedAttachment;
|
|
.super Lcom/lytefast/flexinput/model/Attachment;
|
|
.source "SourcedAttachment.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lcom/lytefast/flexinput/model/Attachment<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final source:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(JLandroid/net/Uri;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(J",
|
|
"Landroid/net/Uri;",
|
|
"Ljava/lang/String;",
|
|
"TT;",
|
|
"Ljava/lang/String;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string/jumbo v0, "uri"
|
|
|
|
invoke-static {p3, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "displayName"
|
|
|
|
invoke-static {p4, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "source"
|
|
|
|
invoke-static {p6, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-direct/range {p0 .. p5}, Lcom/lytefast/flexinput/model/Attachment;-><init>(JLandroid/net/Uri;Ljava/lang/String;Ljava/lang/Object;)V
|
|
|
|
iput-object p6, p0, Lcom/discord/widgets/chat/input/SourcedAttachment;->source:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/os/Parcel;)V
|
|
.locals 8
|
|
|
|
const-string v0, "parcelIn"
|
|
|
|
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readLong()J
|
|
|
|
move-result-wide v2
|
|
|
|
const-class v0, Landroid/net/Uri;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Parcel;->readParcelable(Ljava/lang/ClassLoader;)Landroid/os/Parcelable;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/net/Uri;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget-object v0, Landroid/net/Uri;->EMPTY:Landroid/net/Uri;
|
|
|
|
const-string v1, "Uri.EMPTY"
|
|
|
|
invoke-static {v0, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
move-object v4, v0
|
|
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, ""
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
move-object v5, v0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move-object v5, v1
|
|
|
|
:goto_1
|
|
const-string v0, "parcelIn.readString() ?: \"\""
|
|
|
|
invoke-static {v5, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v6, 0x0
|
|
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
move-object v7, p1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move-object v7, v1
|
|
|
|
:goto_2
|
|
invoke-static {v7, v0}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
move-object v1, p0
|
|
|
|
invoke-direct/range {v1 .. v7}, Lcom/discord/widgets/chat/input/SourcedAttachment;-><init>(JLandroid/net/Uri;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lcom/lytefast/flexinput/model/Attachment;Ljava/lang/String;)V
|
|
.locals 8
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/lytefast/flexinput/model/Attachment<",
|
|
"+TT;>;",
|
|
"Ljava/lang/String;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "attachment"
|
|
|
|
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "source"
|
|
|
|
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/model/Attachment;->getId()J
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/model/Attachment;->getUri()Landroid/net/Uri;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/model/Attachment;->getDisplayName()Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-virtual {p1}, Lcom/lytefast/flexinput/model/Attachment;->getData()Ljava/lang/Object;
|
|
|
|
move-result-object v6
|
|
|
|
move-object v1, p0
|
|
|
|
move-object v7, p2
|
|
|
|
invoke-direct/range {v1 .. v7}, Lcom/discord/widgets/chat/input/SourcedAttachment;-><init>(JLandroid/net/Uri;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getSource()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/input/SourcedAttachment;->source:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
|
.locals 1
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"MissingSuperCall"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/CallSuper;
|
|
.end annotation
|
|
|
|
const-string v0, "dest"
|
|
|
|
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-super {p0, p1, p2}, Lcom/lytefast/flexinput/model/Attachment;->writeToParcel(Landroid/os/Parcel;I)V
|
|
|
|
iget-object p2, p0, Lcom/discord/widgets/chat/input/SourcedAttachment;->source:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|