public abstract class java.nio.channels.spi.AbstractSelectionKey extends java.nio.channels.SelectionKey
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.nio.channels.spi.AbstractSelectionKey
super_class: java.nio.channels.SelectionKey
{
private volatile boolean valid;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.nio.channels.SelectionKey.<init>:()V
1: aload 0
iconst_1
putfield java.nio.channels.spi.AbstractSelectionKey.valid:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/channels/spi/AbstractSelectionKey;
public final boolean isValid();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.nio.channels.spi.AbstractSelectionKey.valid:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/channels/spi/AbstractSelectionKey;
void invalidate();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield java.nio.channels.spi.AbstractSelectionKey.valid:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/channels/spi/AbstractSelectionKey;
public final void cancel();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield java.nio.channels.spi.AbstractSelectionKey.valid:Z
ifeq 4
2: aload 0
iconst_0
putfield java.nio.channels.spi.AbstractSelectionKey.valid:Z
3: aload 0
invokevirtual java.nio.channels.spi.AbstractSelectionKey.selector:()Ljava/nio/channels/Selector;
checkcast java.nio.channels.spi.AbstractSelector
aload 0
invokevirtual java.nio.channels.spi.AbstractSelector.cancel:(Ljava/nio/channels/SelectionKey;)V
4: StackMap locals: java.nio.channels.spi.AbstractSelectionKey
StackMap stack:
aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/nio/channels/spi/AbstractSelectionKey;
Exception table:
from to target type
1 5 6 any
6 7 6 any
}
SourceFile: "AbstractSelectionKey.java"