public final class io.reactivex.internal.operators.observable.ObservableFromCallable<T> extends io.reactivex.Observable<T> implements java.util.concurrent.Callable<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableFromCallable
super_class: io.reactivex.Observable
{
final java.util.concurrent.Callable<? extends T> callable;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/Callable<+TT;>;
public void <init>(java.util.concurrent.Callable<? extends T>);
descriptor: (Ljava/util/concurrent/Callable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.reactivex.Observable.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableFromCallable.callable:Ljava/util/concurrent/Callable;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/observable/ObservableFromCallable<TT;>;
0 3 1 callable Ljava/util/concurrent/Callable<+TT;>;
Signature: (Ljava/util/concurrent/Callable<+TT;>;)V
MethodParameters:
Name Flags
callable
public void subscribeActual(io.reactivex.Observer<? super T>);
descriptor: (Lio/reactivex/Observer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new io.reactivex.internal.observers.DeferredScalarDisposable
dup
aload 1
invokespecial io.reactivex.internal.observers.DeferredScalarDisposable.<init>:(Lio/reactivex/Observer;)V
astore 2
start local 2 1: aload 1
aload 2
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
2: aload 2
invokevirtual io.reactivex.internal.observers.DeferredScalarDisposable.isDisposed:()Z
ifeq 4
3: return
4: StackMap locals: io.reactivex.internal.observers.DeferredScalarDisposable
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromCallable.callable:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
ldc "Callable returned null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
astore 3
start local 3 5: goto 13
end local 3 StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 4
start local 4 7: aload 4
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
8: aload 2
invokevirtual io.reactivex.internal.observers.DeferredScalarDisposable.isDisposed:()Z
ifne 11
9: aload 1
aload 4
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
10: goto 12
11: StackMap locals: io.reactivex.internal.operators.observable.ObservableFromCallable io.reactivex.Observer io.reactivex.internal.observers.DeferredScalarDisposable top java.lang.Throwable
StackMap stack:
aload 4
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
12: StackMap locals:
StackMap stack:
return
end local 4 start local 3 13: StackMap locals: io.reactivex.internal.operators.observable.ObservableFromCallable io.reactivex.Observer io.reactivex.internal.observers.DeferredScalarDisposable java.lang.Object
StackMap stack:
aload 2
aload 3
invokevirtual io.reactivex.internal.observers.DeferredScalarDisposable.complete:(Ljava/lang/Object;)V
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/reactivex/internal/operators/observable/ObservableFromCallable<TT;>;
0 15 1 observer Lio/reactivex/Observer<-TT;>;
1 15 2 d Lio/reactivex/internal/observers/DeferredScalarDisposable<TT;>;
5 6 3 value TT;
13 15 3 value TT;
7 13 4 e Ljava/lang/Throwable;
Exception table:
from to target type
4 5 6 Class java.lang.Throwable
Signature: (Lio/reactivex/Observer<-TT;>;)V
MethodParameters:
Name Flags
observer
public T call();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromCallable.callable:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
ldc "The callable returned a null value"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableFromCallable<TT;>;
Exceptions:
throws java.lang.Exception
Signature: ()TT;
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/Observable<TT;>;Ljava/util/concurrent/Callable<TT;>;
SourceFile: "ObservableFromCallable.java"