apkfuckery/com.discord/smali_classes2/rx/subjects/Subject.smali
2019-12-21 02:41:59 +01:00

73 lines
1.5 KiB
Smali

.class public abstract Lrx/subjects/Subject;
.super Lrx/Observable;
.source "Subject.java"
# interfaces
.implements Lb0/g;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lrx/Observable<",
"TR;>;",
"Lb0/g<",
"TT;>;"
}
.end annotation
# direct methods
.method public constructor <init>(Lrx/Observable$a;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Observable$a<",
"TR;>;)V"
}
.end annotation
invoke-direct {p0, p1}, Lrx/Observable;-><init>(Lrx/Observable$a;)V
return-void
.end method
# virtual methods
.method public final n()Lrx/subjects/SerializedSubject;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lrx/subjects/SerializedSubject<",
"TT;TR;>;"
}
.end annotation
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v0
const-class v1, Lrx/subjects/SerializedSubject;
if-ne v0, v1, :cond_0
move-object v0, p0
check-cast v0, Lrx/subjects/SerializedSubject;
return-object v0
:cond_0
new-instance v0, Lrx/subjects/SerializedSubject;
invoke-direct {v0, p0}, Lrx/subjects/SerializedSubject;-><init>(Lrx/subjects/Subject;)V
return-object v0
.end method