public final class io.reactivex.internal.disposables.DisposableHelper extends java.lang.Enum<io.reactivex.internal.disposables.DisposableHelper> implements io.reactivex.disposables.Disposable
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: io.reactivex.internal.disposables.DisposableHelper
super_class: java.lang.Enum
{
public static final io.reactivex.internal.disposables.DisposableHelper DISPOSED;
descriptor: Lio/reactivex/internal/disposables/DisposableHelper;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private static final io.reactivex.internal.disposables.DisposableHelper[] ENUM$VALUES;
descriptor: [Lio/reactivex/internal/disposables/DisposableHelper;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new io.reactivex.internal.disposables.DisposableHelper
dup
ldc "DISPOSED"
iconst_0
invokespecial io.reactivex.internal.disposables.DisposableHelper.<init>:(Ljava/lang/String;I)V
1: putstatic io.reactivex.internal.disposables.DisposableHelper.DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
2: iconst_1
anewarray io.reactivex.internal.disposables.DisposableHelper
dup
iconst_0
getstatic io.reactivex.internal.disposables.DisposableHelper.DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
aastore
putstatic io.reactivex.internal.disposables.DisposableHelper.ENUM$VALUES:[Lio/reactivex/internal/disposables/DisposableHelper;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/disposables/DisposableHelper;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
public static boolean isDisposed(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic io.reactivex.internal.disposables.DisposableHelper.DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 d Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
d
public static boolean set(java.util.concurrent.atomic.AtomicReference<io.reactivex.disposables.Disposable>, io.reactivex.disposables.Disposable);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/Disposable;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.disposables.Disposable
astore 2
start local 2 1: aload 2
getstatic io.reactivex.internal.disposables.DisposableHelper.DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if_acmpne 5
2: aload 1
ifnull 4
3: aload 1
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
4: StackMap locals: io.reactivex.disposables.Disposable
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
6: aload 2
ifnull 8
7: aload 2
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 field Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;
0 9 1 d Lio/reactivex/disposables/Disposable;
1 9 2 current Lio/reactivex/disposables/Disposable;
Signature: (Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;Lio/reactivex/disposables/Disposable;)Z
MethodParameters:
Name Flags
field
d
public static boolean setOnce(java.util.concurrent.atomic.AtomicReference<io.reactivex.disposables.Disposable>, io.reactivex.disposables.Disposable);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/Disposable;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "d is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aconst_null
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 6
2: aload 1
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
3: aload 0
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic io.reactivex.internal.disposables.DisposableHelper.DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if_acmpeq 5
4: invokestatic io.reactivex.internal.disposables.DisposableHelper.reportDisposableSet:()V
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 field Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;
0 7 1 d Lio/reactivex/disposables/Disposable;
Signature: (Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;Lio/reactivex/disposables/Disposable;)Z
MethodParameters:
Name Flags
field
d
public static boolean replace(java.util.concurrent.atomic.AtomicReference<io.reactivex.disposables.Disposable>, io.reactivex.disposables.Disposable);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/Disposable;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.disposables.Disposable
astore 2
start local 2 1: aload 2
getstatic io.reactivex.internal.disposables.DisposableHelper.DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if_acmpne 5
2: aload 1
ifnull 4
3: aload 1
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
4: StackMap locals: io.reactivex.disposables.Disposable
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
6: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 field Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;
0 7 1 d Lio/reactivex/disposables/Disposable;
1 7 2 current Lio/reactivex/disposables/Disposable;
Signature: (Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;Lio/reactivex/disposables/Disposable;)Z
MethodParameters:
Name Flags
field
d
public static boolean dispose(java.util.concurrent.atomic.AtomicReference<io.reactivex.disposables.Disposable>);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.disposables.Disposable
astore 1
start local 1 1: getstatic io.reactivex.internal.disposables.DisposableHelper.DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
astore 2
start local 2 2: aload 1
aload 2
if_acmpeq 8
3: aload 0
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.disposables.Disposable
astore 1
4: aload 1
aload 2
if_acmpeq 8
5: aload 1
ifnull 7
6: aload 1
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
7: StackMap locals: io.reactivex.disposables.Disposable io.reactivex.disposables.Disposable
StackMap stack:
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 field Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;
1 9 1 current Lio/reactivex/disposables/Disposable;
2 9 2 d Lio/reactivex/disposables/Disposable;
Signature: (Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;)Z
MethodParameters:
Name Flags
field
public static boolean validate(io.reactivex.disposables.Disposable, io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;Lio/reactivex/disposables/Disposable;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: new java.lang.NullPointerException
dup
ldc "next is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
ifnull 7
4: aload 1
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
5: invokestatic io.reactivex.internal.disposables.DisposableHelper.reportDisposableSet:()V
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 current Lio/reactivex/disposables/Disposable;
0 8 1 next Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
current
next
public static void reportDisposableSet();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new io.reactivex.exceptions.ProtocolViolationException
dup
ldc "Disposable already set!"
invokespecial io.reactivex.exceptions.ProtocolViolationException.<init>:(Ljava/lang/String;)V
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static boolean trySet(java.util.concurrent.atomic.AtomicReference<io.reactivex.disposables.Disposable>, io.reactivex.disposables.Disposable);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/Disposable;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 4
1: aload 0
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic io.reactivex.internal.disposables.DisposableHelper.DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if_acmpne 3
2: aload 1
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 field Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;
0 5 1 d Lio/reactivex/disposables/Disposable;
Signature: (Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;Lio/reactivex/disposables/Disposable;)Z
MethodParameters:
Name Flags
field
d
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/disposables/DisposableHelper;
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/disposables/DisposableHelper;
public static io.reactivex.internal.disposables.DisposableHelper[] values();
descriptor: ()[Lio/reactivex/internal/disposables/DisposableHelper;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic io.reactivex.internal.disposables.DisposableHelper.ENUM$VALUES:[Lio/reactivex/internal/disposables/DisposableHelper;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray io.reactivex.internal.disposables.DisposableHelper
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static io.reactivex.internal.disposables.DisposableHelper valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/reactivex/internal/disposables/DisposableHelper;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lio/reactivex/internal/disposables/DisposableHelper;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast io.reactivex.internal.disposables.DisposableHelper
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lio/reactivex/internal/disposables/DisposableHelper;>;Lio/reactivex/disposables/Disposable;
SourceFile: "DisposableHelper.java"