final class io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver<T, D> extends java.util.concurrent.atomic.AtomicBoolean implements io.reactivex.Observer<T>, io.reactivex.disposables.Disposable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver
super_class: java.util.concurrent.atomic.AtomicBoolean
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5904473792286235046
final io.reactivex.Observer<? super T> downstream;
descriptor: Lio/reactivex/Observer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/Observer<-TT;>;
final D resource;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Signature: TD;
final io.reactivex.functions.Consumer<? super D> disposer;
descriptor: Lio/reactivex/functions/Consumer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Consumer<-TD;>;
final boolean eager;
descriptor: Z
flags: (0x0010) ACC_FINAL
io.reactivex.disposables.Disposable upstream;
descriptor: Lio/reactivex/disposables/Disposable;
flags: (0x0000)
void <init>(io.reactivex.Observer<? super T>, D, io.reactivex.functions.Consumer<? super D>, );
descriptor: (Lio/reactivex/Observer;Ljava/lang/Object;Lio/reactivex/functions/Consumer;Z)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.downstream:Lio/reactivex/Observer;
2: aload 0
aload 2
putfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.resource:Ljava/lang/Object;
3: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.disposer:Lio/reactivex/functions/Consumer;
4: aload 0
iload 4
putfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.eager:Z
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/observable/ObservableUsing$UsingObserver<TT;TD;>;
0 6 1 actual Lio/reactivex/Observer<-TT;>;
0 6 2 resource TD;
0 6 3 disposer Lio/reactivex/functions/Consumer<-TD;>;
0 6 4 eager Z
Signature: (Lio/reactivex/Observer<-TT;>;TD;Lio/reactivex/functions/Consumer<-TD;>;Z)V
MethodParameters:
Name Flags
actual
resource
disposer
eager
public void onSubscribe(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)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.observable.ObservableUsing$UsingObserver.upstream:Lio/reactivex/disposables/Disposable;
aload 1
invokestatic io.reactivex.internal.disposables.DisposableHelper.validate:(Lio/reactivex/disposables/Disposable;Lio/reactivex/disposables/Disposable;)Z
ifeq 3
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.upstream:Lio/reactivex/disposables/Disposable;
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.downstream:Lio/reactivex/Observer;
aload 0
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableUsing$UsingObserver<TT;TD;>;
0 4 1 d Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
d
public void onNext();
descriptor: (Ljava/lang/Object;)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.observable.ObservableUsing$UsingObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/observable/ObservableUsing$UsingObserver<TT;TD;>;
0 2 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=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.eager:Z
ifeq 10
1: aload 0
iconst_0
iconst_1
invokevirtual io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.compareAndSet:(ZZ)Z
ifeq 7
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.disposer:Lio/reactivex/functions/Consumer;
aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.resource:Ljava/lang/Object;
invokeinterface io.reactivex.functions.Consumer.accept:(Ljava/lang/Object;)V
3: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
4: astore 2
start local 2 5: aload 2
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
6: new io.reactivex.exceptions.CompositeException
dup
iconst_2
anewarray java.lang.Throwable
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokespecial io.reactivex.exceptions.CompositeException.<init>:([Ljava/lang/Throwable;)V
astore 1
end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
8: aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
9: goto 13
10: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
11: aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
12: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.disposeAfter:()V
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/reactivex/internal/operators/observable/ObservableUsing$UsingObserver<TT;TD;>;
0 14 1 t Ljava/lang/Throwable;
5 7 2 e Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.eager:Z
ifeq 11
1: aload 0
iconst_0
iconst_1
invokevirtual io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.compareAndSet:(ZZ)Z
ifeq 8
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.disposer:Lio/reactivex/functions/Consumer;
aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.resource:Ljava/lang/Object;
invokeinterface io.reactivex.functions.Consumer.accept:(Ljava/lang/Object;)V
3: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
4: astore 1
start local 1 5: aload 1
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
6: aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
7: return
end local 1 8: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
9: aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.downstream:Lio/reactivex/Observer;
invokeinterface io.reactivex.Observer.onComplete:()V
10: goto 14
11: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.downstream:Lio/reactivex/Observer;
invokeinterface io.reactivex.Observer.onComplete:()V
12: aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
13: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.disposeAfter:()V
14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/reactivex/internal/operators/observable/ObservableUsing$UsingObserver<TT;TD;>;
5 8 1 e Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.disposeAfter:()V
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/observable/ObservableUsing$UsingObserver<TT;TD;>;
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.get:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableUsing$UsingObserver<TT;TD;>;
void disposeAfter();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
iconst_0
iconst_1
invokevirtual io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.compareAndSet:(ZZ)Z
ifeq 6
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.disposer:Lio/reactivex/functions/Consumer;
aload 0
getfield io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver.resource:Ljava/lang/Object;
invokeinterface io.reactivex.functions.Consumer.accept:(Ljava/lang/Object;)V
2: goto 6
StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 1
start local 1 4: aload 1
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
5: aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
end local 1 6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/observable/ObservableUsing$UsingObserver<TT;TD;>;
4 6 1 e Ljava/lang/Throwable;
Exception table:
from to target type
1 2 3 Class java.lang.Throwable
}
Signature: <T:Ljava/lang/Object;D:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicBoolean;Lio/reactivex/Observer<TT;>;Lio/reactivex/disposables/Disposable;
SourceFile: "ObservableUsing.java"
NestHost: io.reactivex.internal.operators.observable.ObservableUsing
InnerClasses:
final UsingObserver = io.reactivex.internal.operators.observable.ObservableUsing$UsingObserver of io.reactivex.internal.operators.observable.ObservableUsing