public final class io.reactivex.processors.BehaviorProcessor<T> extends io.reactivex.processors.FlowableProcessor<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.processors.BehaviorProcessor
super_class: io.reactivex.processors.FlowableProcessor
{
final java.util.concurrent.atomic.AtomicReference<io.reactivex.processors.BehaviorProcessor$BehaviorSubscription<T>[]> subscribers;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<[Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription<TT;>;>;
static final java.lang.Object[] EMPTY_ARRAY;
descriptor: [Ljava/lang/Object;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[] EMPTY;
descriptor: [Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[] TERMINATED;
descriptor: [Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
flags: (0x0018) ACC_STATIC, ACC_FINAL
final java.util.concurrent.locks.ReadWriteLock lock;
descriptor: Ljava/util/concurrent/locks/ReadWriteLock;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.locks.Lock readLock;
descriptor: Ljava/util/concurrent/locks/Lock;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.locks.Lock writeLock;
descriptor: Ljava/util/concurrent/locks/Lock;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicReference<java.lang.Object> value;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Object;>;
final java.util.concurrent.atomic.AtomicReference<java.lang.Throwable> terminalEvent;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Throwable;>;
long index;
descriptor: J
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray java.lang.Object
putstatic io.reactivex.processors.BehaviorProcessor.EMPTY_ARRAY:[Ljava/lang/Object;
1: iconst_0
anewarray io.reactivex.processors.BehaviorProcessor$BehaviorSubscription
putstatic io.reactivex.processors.BehaviorProcessor.EMPTY:[Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
2: iconst_0
anewarray io.reactivex.processors.BehaviorProcessor$BehaviorSubscription
putstatic io.reactivex.processors.BehaviorProcessor.TERMINATED:[Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
return
LocalVariableTable:
Start End Slot Name Signature
public static <T> io.reactivex.processors.BehaviorProcessor<T> create();
descriptor: ()Lio/reactivex/processors/BehaviorProcessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.reactivex.processors.BehaviorProcessor
dup
invokespecial io.reactivex.processors.BehaviorProcessor.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <T:Ljava/lang/Object;>()Lio/reactivex/processors/BehaviorProcessor<TT;>;
RuntimeVisibleAnnotations:
io.reactivex.annotations.CheckReturnValue()
RuntimeInvisibleAnnotations:
io.reactivex.annotations.NonNull()
public static <T> io.reactivex.processors.BehaviorProcessor<T> createDefault(T);
descriptor: (Ljava/lang/Object;)Lio/reactivex/processors/BehaviorProcessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "defaultValue is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: new io.reactivex.processors.BehaviorProcessor
dup
aload 0
invokespecial io.reactivex.processors.BehaviorProcessor.<init>:(Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 defaultValue TT;
Signature: <T:Ljava/lang/Object;>(TT;)Lio/reactivex/processors/BehaviorProcessor<TT;>;
RuntimeVisibleAnnotations:
io.reactivex.annotations.CheckReturnValue()
RuntimeInvisibleAnnotations:
io.reactivex.annotations.NonNull()
MethodParameters:
Name Flags
defaultValue
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.reactivex.processors.FlowableProcessor.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.processors.BehaviorProcessor.value:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 0
new java.util.concurrent.locks.ReentrantReadWriteLock
dup
invokespecial java.util.concurrent.locks.ReentrantReadWriteLock.<init>:()V
putfield io.reactivex.processors.BehaviorProcessor.lock:Ljava/util/concurrent/locks/ReadWriteLock;
3: aload 0
aload 0
getfield io.reactivex.processors.BehaviorProcessor.lock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.readLock:()Ljava/util/concurrent/locks/Lock;
putfield io.reactivex.processors.BehaviorProcessor.readLock:Ljava/util/concurrent/locks/Lock;
4: aload 0
aload 0
getfield io.reactivex.processors.BehaviorProcessor.lock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
putfield io.reactivex.processors.BehaviorProcessor.writeLock:Ljava/util/concurrent/locks/Lock;
5: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
getstatic io.reactivex.processors.BehaviorProcessor.EMPTY:[Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
putfield io.reactivex.processors.BehaviorProcessor.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
6: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.processors.BehaviorProcessor.terminalEvent:Ljava/util/concurrent/atomic/AtomicReference;
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
void <init>();
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.reactivex.processors.BehaviorProcessor.<init>:()V
1: aload 0
getfield io.reactivex.processors.BehaviorProcessor.value:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
ldc "defaultValue is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
0 3 1 defaultValue TT;
Signature: (TT;)V
MethodParameters:
Name Flags
defaultValue
protected void subscribeActual(org.reactivestreams.Subscriber<? super T>);
descriptor: (Lorg/reactivestreams/Subscriber;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new io.reactivex.processors.BehaviorProcessor$BehaviorSubscription
dup
aload 1
aload 0
invokespecial io.reactivex.processors.BehaviorProcessor$BehaviorSubscription.<init>:(Lorg/reactivestreams/Subscriber;Lio/reactivex/processors/BehaviorProcessor;)V
astore 2
start local 2 1: aload 1
aload 2
invokeinterface org.reactivestreams.Subscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
2: aload 0
aload 2
invokevirtual io.reactivex.processors.BehaviorProcessor.add:(Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;)Z
ifeq 8
3: aload 2
getfield io.reactivex.processors.BehaviorProcessor$BehaviorSubscription.cancelled:Z
ifeq 6
4: aload 0
aload 2
invokevirtual io.reactivex.processors.BehaviorProcessor.remove:(Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;)V
5: goto 13
6: StackMap locals: io.reactivex.processors.BehaviorProcessor$BehaviorSubscription
StackMap stack:
aload 2
invokevirtual io.reactivex.processors.BehaviorProcessor$BehaviorSubscription.emitFirst:()V
7: goto 13
8: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.processors.BehaviorProcessor.terminalEvent:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.lang.Throwable
astore 3
start local 3 9: aload 3
getstatic io.reactivex.internal.util.ExceptionHelper.TERMINATED:Ljava/lang/Throwable;
if_acmpne 12
10: aload 1
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
11: goto 13
12: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
aload 3
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
0 14 1 s Lorg/reactivestreams/Subscriber<-TT;>;
1 14 2 bs Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription<TT;>;
9 13 3 ex Ljava/lang/Throwable;
Signature: (Lorg/reactivestreams/Subscriber<-TT;>;)V
MethodParameters:
Name Flags
s
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.processors.BehaviorProcessor.terminalEvent:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnull 3
1: aload 1
invokeinterface org.reactivestreams.Subscription.cancel:()V
2: return
3: StackMap locals:
StackMap stack:
aload 1
ldc 9223372036854775807
invokeinterface org.reactivestreams.Subscription.request:(J)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/processors/BehaviorProcessor<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=7, args_size=2
start local 0 start local 1 0: aload 1
ldc "onNext called with null. Null values are generally not allowed in 2.x operators and sources."
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield io.reactivex.processors.BehaviorProcessor.terminalEvent:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnull 3
2: return
3: StackMap locals:
StackMap stack:
aload 1
invokestatic io.reactivex.internal.util.NotificationLite.next:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 4: aload 0
aload 2
invokevirtual io.reactivex.processors.BehaviorProcessor.setCurrent:(Ljava/lang/Object;)V
5: aload 0
getfield io.reactivex.processors.BehaviorProcessor.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 9
StackMap locals: io.reactivex.processors.BehaviorProcessor java.lang.Object java.lang.Object top int int io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
StackMap stack:
6: aload 6
iload 4
aaload
astore 3
start local 3 7: aload 3
aload 2
aload 0
getfield io.reactivex.processors.BehaviorProcessor.index:J
invokevirtual io.reactivex.processors.BehaviorProcessor$BehaviorSubscription.emitNext:(Ljava/lang/Object;J)V
end local 3 8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 5
if_icmplt 6
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
0 11 1 t TT;
4 11 2 o Ljava/lang/Object;
7 8 3 bs Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription<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=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ldc "onError called with null. Null values are generally not allowed in 2.x operators and sources."
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield io.reactivex.processors.BehaviorProcessor.terminalEvent:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 4
2: aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
3: return
4: StackMap locals:
StackMap stack:
aload 1
invokestatic io.reactivex.internal.util.NotificationLite.error:(Ljava/lang/Throwable;)Ljava/lang/Object;
astore 2
start local 2 5: aload 0
aload 2
invokevirtual io.reactivex.processors.BehaviorProcessor.terminate:(Ljava/lang/Object;)[Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 9
StackMap locals: io.reactivex.processors.BehaviorProcessor java.lang.Throwable java.lang.Object top int int io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
StackMap stack:
6: aload 6
iload 4
aaload
astore 3
start local 3 7: aload 3
aload 2
aload 0
getfield io.reactivex.processors.BehaviorProcessor.index:J
invokevirtual io.reactivex.processors.BehaviorProcessor$BehaviorSubscription.emitNext:(Ljava/lang/Object;J)V
end local 3 8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 5
if_icmplt 6
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
0 11 1 t Ljava/lang/Throwable;
5 11 2 o Ljava/lang/Object;
7 8 3 bs Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription<TT;>;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield io.reactivex.processors.BehaviorProcessor.terminalEvent:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
getstatic io.reactivex.internal.util.ExceptionHelper.TERMINATED:Ljava/lang/Throwable;
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
invokestatic io.reactivex.internal.util.NotificationLite.complete:()Ljava/lang/Object;
astore 1
start local 1 3: aload 0
aload 1
invokevirtual io.reactivex.processors.BehaviorProcessor.terminate:(Ljava/lang/Object;)[Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: io.reactivex.processors.BehaviorProcessor java.lang.Object top int int io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
StackMap stack:
4: aload 5
iload 3
aaload
astore 2
start local 2 5: aload 2
aload 1
aload 0
getfield io.reactivex.processors.BehaviorProcessor.index:J
invokevirtual io.reactivex.processors.BehaviorProcessor$BehaviorSubscription.emitNext:(Ljava/lang/Object;J)V
end local 2 6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 4
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
3 9 1 o Ljava/lang/Object;
5 6 2 bs Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription<TT;>;
public boolean offer();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
new java.lang.NullPointerException
dup
ldc "onNext called with null. Null values are generally not allowed in 2.x operators and sources."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
invokevirtual io.reactivex.processors.BehaviorProcessor.onError:(Ljava/lang/Throwable;)V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.processors.BehaviorProcessor.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
astore 2
start local 2 4: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 9
StackMap locals: io.reactivex.processors.BehaviorProcessor java.lang.Object io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[] top int int io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
StackMap stack:
5: aload 6
iload 4
aaload
astore 3
start local 3 6: aload 3
invokevirtual io.reactivex.processors.BehaviorProcessor$BehaviorSubscription.isFull:()Z
ifeq 8
7: iconst_0
ireturn
end local 3 8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 5
if_icmplt 5
10: aload 1
invokestatic io.reactivex.internal.util.NotificationLite.next:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 11: aload 0
aload 3
invokevirtual io.reactivex.processors.BehaviorProcessor.setCurrent:(Ljava/lang/Object;)V
12: aload 2
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 16
StackMap locals: io.reactivex.processors.BehaviorProcessor java.lang.Object io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[] java.lang.Object top int int io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
StackMap stack:
13: aload 7
iload 5
aaload
astore 4
start local 4 14: aload 4
aload 3
aload 0
getfield io.reactivex.processors.BehaviorProcessor.index:J
invokevirtual io.reactivex.processors.BehaviorProcessor$BehaviorSubscription.emitNext:(Ljava/lang/Object;J)V
end local 4 15: iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
iload 6
if_icmplt 13
17: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
0 18 1 t TT;
4 18 2 array [Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
6 8 3 s Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription<TT;>;
11 18 3 o Ljava/lang/Object;
14 15 4 bs Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription<TT;>;
Signature: (TT;)Z
MethodParameters:
Name Flags
t
public boolean hasSubscribers();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.processors.BehaviorProcessor.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
arraylength
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
int subscriberCount();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.processors.BehaviorProcessor.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
public java.lang.Throwable getThrowable();
descriptor: ()Ljava/lang/Throwable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.processors.BehaviorProcessor.value:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
astore 1
start local 1 1: aload 1
invokestatic io.reactivex.internal.util.NotificationLite.isError:(Ljava/lang/Object;)Z
ifeq 3
2: aload 1
invokestatic io.reactivex.internal.util.NotificationLite.getError:(Ljava/lang/Object;)Ljava/lang/Throwable;
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
1 4 1 o Ljava/lang/Object;
RuntimeInvisibleAnnotations:
io.reactivex.annotations.Nullable()
public T getValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.processors.BehaviorProcessor.value:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
astore 1
start local 1 1: aload 1
invokestatic io.reactivex.internal.util.NotificationLite.isComplete:(Ljava/lang/Object;)Z
ifne 2
aload 1
invokestatic io.reactivex.internal.util.NotificationLite.isError:(Ljava/lang/Object;)Z
ifeq 3
2: StackMap locals: java.lang.Object
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 1
invokestatic io.reactivex.internal.util.NotificationLite.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
1 4 1 o Ljava/lang/Object;
Signature: ()TT;
RuntimeInvisibleAnnotations:
io.reactivex.annotations.Nullable()
public java.lang.Object[] getValues();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic io.reactivex.processors.BehaviorProcessor.EMPTY_ARRAY:[Ljava/lang/Object;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual io.reactivex.processors.BehaviorProcessor.getValues:([Ljava/lang/Object;)[Ljava/lang/Object;
astore 2
start local 2 2: aload 2
getstatic io.reactivex.processors.BehaviorProcessor.EMPTY_ARRAY:[Ljava/lang/Object;
if_acmpne 4
3: iconst_0
anewarray java.lang.Object
areturn
4: StackMap locals: java.lang.Object[] java.lang.Object[]
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
1 5 1 a [Ljava/lang/Object;
2 5 2 b [Ljava/lang/Object;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public T[] getValues();
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.processors.BehaviorProcessor.value:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokestatic io.reactivex.internal.util.NotificationLite.isComplete:(Ljava/lang/Object;)Z
ifne 2
aload 2
invokestatic io.reactivex.internal.util.NotificationLite.isError:(Ljava/lang/Object;)Z
ifeq 5
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
arraylength
ifeq 4
3: aload 1
iconst_0
aconst_null
aastore
4: StackMap locals:
StackMap stack:
aload 1
areturn
5: StackMap locals:
StackMap stack:
aload 2
invokestatic io.reactivex.internal.util.NotificationLite.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 6: aload 1
arraylength
ifeq 11
7: aload 1
iconst_0
aload 3
aastore
8: aload 1
arraylength
iconst_1
if_icmpeq 13
9: aload 1
iconst_1
aconst_null
aastore
10: goto 13
11: StackMap locals: java.lang.Object
StackMap stack:
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
iconst_1
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.lang.Object[]
astore 1
12: aload 1
iconst_0
aload 3
aastore
13: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
0 14 1 array [Ljava/lang/Object;
1 14 2 o Ljava/lang/Object;
6 14 3 v TT;
Signature: ([TT;)[TT;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
array
public boolean hasComplete();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.processors.BehaviorProcessor.value:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
astore 1
start local 1 1: aload 1
invokestatic io.reactivex.internal.util.NotificationLite.isComplete:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
1 2 1 o Ljava/lang/Object;
public boolean hasThrowable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.processors.BehaviorProcessor.value:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
astore 1
start local 1 1: aload 1
invokestatic io.reactivex.internal.util.NotificationLite.isError:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
1 2 1 o Ljava/lang/Object;
public boolean hasValue();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.processors.BehaviorProcessor.value:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokestatic io.reactivex.internal.util.NotificationLite.isComplete:(Ljava/lang/Object;)Z
ifne 2
aload 1
invokestatic io.reactivex.internal.util.NotificationLite.isError:(Ljava/lang/Object;)Z
ifne 2
iconst_1
ireturn
StackMap locals: java.lang.Object
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
1 3 1 o Ljava/lang/Object;
boolean add(io.reactivex.processors.BehaviorProcessor$BehaviorSubscription<T>);
descriptor: (Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;)Z
flags: (0x0000)
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.processors.BehaviorProcessor.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
astore 2
start local 2 1: aload 2
getstatic io.reactivex.processors.BehaviorProcessor.TERMINATED:[Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
if_acmpne 3
2: iconst_0
ireturn
3: StackMap locals: io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
StackMap stack:
aload 2
arraylength
istore 3
start local 3 4: iload 3
iconst_1
iadd
anewarray io.reactivex.processors.BehaviorProcessor$BehaviorSubscription
astore 4
start local 4 5: aload 2
iconst_0
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 4
iload 3
aload 1
aastore
7: aload 0
getfield io.reactivex.processors.BehaviorProcessor.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
aload 2
aload 4
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
8: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
0 9 1 rs Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription<TT;>;
1 9 2 a [Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
4 9 3 len I
5 9 4 b [Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
Signature: (Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription<TT;>;)Z
MethodParameters:
Name Flags
rs
void remove(io.reactivex.processors.BehaviorProcessor$BehaviorSubscription<T>);
descriptor: (Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;)V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.processors.BehaviorProcessor.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
astore 2
start local 2 1: aload 2
arraylength
istore 3
start local 3 2: iload 3
ifne 4
3: return
4: StackMap locals: io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[] int
StackMap stack:
iconst_m1
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 11
7: StackMap locals: int int
StackMap stack:
aload 2
iload 5
aaload
aload 1
if_acmpne 10
8: iload 5
istore 4
9: goto 12
10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 3
if_icmplt 7
end local 5 12: StackMap locals:
StackMap stack:
iload 4
ifge 14
13: return
14: StackMap locals:
StackMap stack:
iload 3
iconst_1
if_icmpne 17
15: getstatic io.reactivex.processors.BehaviorProcessor.EMPTY:[Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
astore 5
start local 5 16: goto 20
end local 5 17: StackMap locals:
StackMap stack:
iload 3
iconst_1
isub
anewarray io.reactivex.processors.BehaviorProcessor$BehaviorSubscription
astore 5
start local 5 18: aload 2
iconst_0
aload 5
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: aload 2
iload 4
iconst_1
iadd
aload 5
iload 4
iload 3
iload 4
isub
iconst_1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
20: StackMap locals: io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
StackMap stack:
aload 0
getfield io.reactivex.processors.BehaviorProcessor.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
aload 2
aload 5
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
21: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
0 22 1 rs Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription<TT;>;
1 22 2 a [Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
2 22 3 len I
5 22 4 j I
6 12 5 i I
16 17 5 b [Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
18 22 5 b [Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
Signature: (Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription<TT;>;)V
MethodParameters:
Name Flags
rs
io.reactivex.processors.BehaviorProcessor$BehaviorSubscription<T>[] terminate();
descriptor: (Ljava/lang/Object;)[Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.processors.BehaviorProcessor.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
astore 2
start local 2 1: aload 2
getstatic io.reactivex.processors.BehaviorProcessor.TERMINATED:[Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
if_acmpeq 5
2: aload 0
getfield io.reactivex.processors.BehaviorProcessor.subscribers:Ljava/util/concurrent/atomic/AtomicReference;
getstatic io.reactivex.processors.BehaviorProcessor.TERMINATED:[Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
astore 2
3: aload 2
getstatic io.reactivex.processors.BehaviorProcessor.TERMINATED:[Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
if_acmpeq 5
4: aload 0
aload 1
invokevirtual io.reactivex.processors.BehaviorProcessor.setCurrent:(Ljava/lang/Object;)V
5: StackMap locals: io.reactivex.processors.BehaviorProcessor$BehaviorSubscription[]
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
0 6 1 terminalValue Ljava/lang/Object;
1 6 2 a [Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription;
Signature: (Ljava/lang/Object;)[Lio/reactivex/processors/BehaviorProcessor$BehaviorSubscription<TT;>;
MethodParameters:
Name Flags
terminalValue
void setCurrent(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.processors.BehaviorProcessor.writeLock:Ljava/util/concurrent/locks/Lock;
astore 2
start local 2 1: aload 2
invokeinterface java.util.concurrent.locks.Lock.lock:()V
2: aload 0
dup
getfield io.reactivex.processors.BehaviorProcessor.index:J
lconst_1
ladd
putfield io.reactivex.processors.BehaviorProcessor.index:J
3: aload 0
getfield io.reactivex.processors.BehaviorProcessor.value:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
4: aload 2
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/processors/BehaviorProcessor<TT;>;
0 6 1 o Ljava/lang/Object;
1 6 2 wl Ljava/util/concurrent/locks/Lock;
MethodParameters:
Name Flags
o
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/processors/FlowableProcessor<TT;>;
SourceFile: "BehaviorProcessor.java"
NestMembers:
io.reactivex.processors.BehaviorProcessor$BehaviorSubscription
InnerClasses:
final BehaviorSubscription = io.reactivex.processors.BehaviorProcessor$BehaviorSubscription of io.reactivex.processors.BehaviorProcessor