Subject.smali
1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
.class public abstract Lio/reactivex/subjects/Subject;
.super Lio/reactivex/Observable;
.source "Subject.java"
# interfaces
.implements Lio/reactivex/Observer;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/Observable<",
"TT;>;",
"Lio/reactivex/Observer<",
"TT;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 29
invoke-direct {p0}, Lio/reactivex/Observable;-><init>()V
return-void
.end method
# virtual methods
.method public abstract getThrowable()Ljava/lang/Throwable;
.annotation build Lio/reactivex/annotations/Nullable;
.end annotation
.end method
.method public abstract hasComplete()Z
.end method
.method public abstract hasObservers()Z
.end method
.method public abstract hasThrowable()Z
.end method
.method public final toSerialized()Lio/reactivex/subjects/Subject;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lio/reactivex/subjects/Subject<",
"TT;>;"
}
.end annotation
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.line 72
instance-of v0, p0, Lio/reactivex/subjects/SerializedSubject;
if-eqz v0, :cond_0
return-object p0
.line 75
:cond_0
new-instance v0, Lio/reactivex/subjects/SerializedSubject;
invoke-direct {v0, p0}, Lio/reactivex/subjects/SerializedSubject;-><init>(Lio/reactivex/subjects/Subject;)V
return-object v0
.end method