class sun.nio.ch.SelectionKeyImpl extends java.nio.channels.spi.AbstractSelectionKey
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.SelectionKeyImpl
super_class: java.nio.channels.spi.AbstractSelectionKey
{
final sun.nio.ch.SelChImpl channel;
descriptor: Lsun/nio/ch/SelChImpl;
flags: (0x0010) ACC_FINAL
final sun.nio.ch.SelectorImpl selector;
descriptor: Lsun/nio/ch/SelectorImpl;
flags: (0x0010) ACC_FINAL
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private volatile int interestOps;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private int readyOps;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(sun.nio.ch.SelChImpl, sun.nio.ch.SelectorImpl);
descriptor: (Lsun/nio/ch/SelChImpl;Lsun/nio/ch/SelectorImpl;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.nio.channels.spi.AbstractSelectionKey.<init>:()V
1: aload 0
aload 1
putfield sun.nio.ch.SelectionKeyImpl.channel:Lsun/nio/ch/SelChImpl;
2: aload 0
aload 2
putfield sun.nio.ch.SelectionKeyImpl.selector:Lsun/nio/ch/SelectorImpl;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/ch/SelectionKeyImpl;
0 4 1 ch Lsun/nio/ch/SelChImpl;
0 4 2 sel Lsun/nio/ch/SelectorImpl;
MethodParameters:
Name Flags
ch
sel
public java.nio.channels.SelectableChannel channel();
descriptor: ()Ljava/nio/channels/SelectableChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SelectionKeyImpl.channel:Lsun/nio/ch/SelChImpl;
checkcast java.nio.channels.SelectableChannel
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SelectionKeyImpl;
public java.nio.channels.Selector selector();
descriptor: ()Ljava/nio/channels/Selector;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SelectionKeyImpl.selector:Lsun/nio/ch/SelectorImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SelectionKeyImpl;
int getIndex();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SelectionKeyImpl.index:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SelectionKeyImpl;
void setIndex(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.nio.ch.SelectionKeyImpl.index:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/SelectionKeyImpl;
0 2 1 i I
MethodParameters:
Name Flags
i
private void ensureValid();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.SelectionKeyImpl.isValid:()Z
ifne 2
1: new java.nio.channels.CancelledKeyException
dup
invokespecial java.nio.channels.CancelledKeyException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/SelectionKeyImpl;
public int interestOps();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.SelectionKeyImpl.ensureValid:()V
1: aload 0
getfield sun.nio.ch.SelectionKeyImpl.interestOps:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/SelectionKeyImpl;
public java.nio.channels.SelectionKey interestOps(int);
descriptor: (I)Ljava/nio/channels/SelectionKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.nio.ch.SelectionKeyImpl.ensureValid:()V
1: aload 0
iload 1
invokevirtual sun.nio.ch.SelectionKeyImpl.nioInterestOps:(I)Ljava/nio/channels/SelectionKey;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/SelectionKeyImpl;
0 2 1 ops I
MethodParameters:
Name Flags
ops
public int readyOps();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.SelectionKeyImpl.ensureValid:()V
1: aload 0
getfield sun.nio.ch.SelectionKeyImpl.readyOps:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/SelectionKeyImpl;
void nioReadyOps(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.nio.ch.SelectionKeyImpl.readyOps:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/SelectionKeyImpl;
0 2 1 ops I
MethodParameters:
Name Flags
ops
int nioReadyOps();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SelectionKeyImpl.readyOps:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SelectionKeyImpl;
java.nio.channels.SelectionKey nioInterestOps(int);
descriptor: (I)Ljava/nio/channels/SelectionKey;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
invokevirtual sun.nio.ch.SelectionKeyImpl.channel:()Ljava/nio/channels/SelectableChannel;
invokevirtual java.nio.channels.SelectableChannel.validOps:()I
iconst_m1
ixor
iand
ifeq 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.SelectionKeyImpl.channel:Lsun/nio/ch/SelChImpl;
iload 1
aload 0
invokeinterface sun.nio.ch.SelChImpl.translateAndSetInterestOps:(ILsun/nio/ch/SelectionKeyImpl;)V
3: aload 0
iload 1
putfield sun.nio.ch.SelectionKeyImpl.interestOps:I
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/ch/SelectionKeyImpl;
0 5 1 ops I
MethodParameters:
Name Flags
ops
int nioInterestOps();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.SelectionKeyImpl.interestOps:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SelectionKeyImpl;
}
SourceFile: "SelectionKeyImpl.java"