final class io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver<T> implements io.reactivex.FlowableSubscriber<T>, io.reactivex.disposables.Disposable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver
super_class: java.lang.Object
{
final io.reactivex.SingleObserver<? super T> downstream;
descriptor: Lio/reactivex/SingleObserver;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/SingleObserver<-TT;>;
org.reactivestreams.Subscription upstream;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0000)
T value;
descriptor: Ljava/lang/Object;
flags: (0x0000)
Signature: TT;
boolean done;
descriptor: Z
flags: (0x0000)
volatile boolean disposed;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
void <init>(io.reactivex.SingleObserver<? super T>);
descriptor: (Lio/reactivex/SingleObserver;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.downstream:Lio/reactivex/SingleObserver;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/single/SingleFromPublisher$ToSingleObserver<TT;>;
0 3 1 downstream Lio/reactivex/SingleObserver<-TT;>;
Signature: (Lio/reactivex/SingleObserver<-TT;>;)V
MethodParameters:
Name Flags
downstream
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.upstream:Lorg/reactivestreams/Subscription;
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(Lorg/reactivestreams/Subscription;Lorg/reactivestreams/Subscription;)Z
ifeq 4
1: aload 0
aload 1
putfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.upstream:Lorg/reactivestreams/Subscription;
2: aload 0
getfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.downstream:Lio/reactivex/SingleObserver;
aload 0
invokeinterface io.reactivex.SingleObserver.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
3: aload 1
ldc 9223372036854775807
invokeinterface org.reactivestreams.Subscription.request:(J)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/single/SingleFromPublisher$ToSingleObserver<TT;>;
0 5 1 s Lorg/reactivestreams/Subscription;
MethodParameters:
Name Flags
s
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.value:Ljava/lang/Object;
ifnull 8
3: aload 0
getfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
4: aload 0
iconst_1
putfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.done:Z
5: aload 0
aconst_null
putfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.value:Ljava/lang/Object;
6: aload 0
getfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.downstream:Lio/reactivex/SingleObserver;
new java.lang.IndexOutOfBoundsException
dup
ldc "Too many elements in the Publisher"
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
invokeinterface io.reactivex.SingleObserver.onError:(Ljava/lang/Throwable;)V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.value:Ljava/lang/Object;
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/reactivex/internal/operators/single/SingleFromPublisher$ToSingleObserver<TT;>;
0 10 1 t TT;
Signature: (TT;)V
MethodParameters:
Name Flags
t
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.done:Z
ifeq 3
1: aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.done:Z
4: aload 0
aconst_null
putfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.value:Ljava/lang/Object;
5: aload 0
getfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.downstream:Lio/reactivex/SingleObserver;
aload 1
invokeinterface io.reactivex.SingleObserver.onError:(Ljava/lang/Throwable;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/single/SingleFromPublisher$ToSingleObserver<TT;>;
0 7 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.done:Z
3: aload 0
getfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.value:Ljava/lang/Object;
astore 1
start local 1 4: aload 0
aconst_null
putfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.value:Ljava/lang/Object;
5: aload 1
ifnonnull 8
6: aload 0
getfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.downstream:Lio/reactivex/SingleObserver;
new java.util.NoSuchElementException
dup
ldc "The source Publisher is empty"
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
invokeinterface io.reactivex.SingleObserver.onError:(Ljava/lang/Throwable;)V
7: goto 9
8: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.downstream:Lio/reactivex/SingleObserver;
aload 1
invokeinterface io.reactivex.SingleObserver.onSuccess:(Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/reactivex/internal/operators/single/SingleFromPublisher$ToSingleObserver<TT;>;
4 10 1 v TT;
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.disposed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/single/SingleFromPublisher$ToSingleObserver<TT;>;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.disposed:Z
1: aload 0
getfield io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/single/SingleFromPublisher$ToSingleObserver<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lio/reactivex/FlowableSubscriber<TT;>;Lio/reactivex/disposables/Disposable;
SourceFile: "SingleFromPublisher.java"
NestHost: io.reactivex.internal.operators.single.SingleFromPublisher
InnerClasses:
final ToSingleObserver = io.reactivex.internal.operators.single.SingleFromPublisher$ToSingleObserver of io.reactivex.internal.operators.single.SingleFromPublisher