class sun.nio.fs.LinuxWatchService$LinuxWatchKey extends sun.nio.fs.AbstractWatchKey
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.LinuxWatchService$LinuxWatchKey
super_class: sun.nio.fs.AbstractWatchKey
{
private final int ifd;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile int wd;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
void <init>(sun.nio.fs.UnixPath, sun.nio.fs.LinuxWatchService, int, int);
descriptor: (Lsun/nio/fs/UnixPath;Lsun/nio/fs/LinuxWatchService;II)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
invokespecial sun.nio.fs.AbstractWatchKey.<init>:(Ljava/nio/file/Path;Lsun/nio/fs/AbstractWatchService;)V
1: aload 0
iload 3
putfield sun.nio.fs.LinuxWatchService$LinuxWatchKey.ifd:I
2: aload 0
iload 4
putfield sun.nio.fs.LinuxWatchService$LinuxWatchKey.wd:I
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/fs/LinuxWatchService$LinuxWatchKey;
0 4 1 dir Lsun/nio/fs/UnixPath;
0 4 2 watcher Lsun/nio/fs/LinuxWatchService;
0 4 3 ifd I
0 4 4 wd I
MethodParameters:
Name Flags
dir
watcher
ifd
wd
int descriptor();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.LinuxWatchService$LinuxWatchKey.wd:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/LinuxWatchService$LinuxWatchKey;
void invalidate(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 4
1: aload 0
getfield sun.nio.fs.LinuxWatchService$LinuxWatchKey.ifd:I
aload 0
getfield sun.nio.fs.LinuxWatchService$LinuxWatchKey.wd:I
invokestatic sun.nio.fs.LinuxWatchService.inotifyRmWatch:(II)V
2: goto 4
StackMap locals:
StackMap stack: sun.nio.fs.UnixException
3: pop
4: StackMap locals:
StackMap stack:
aload 0
iconst_m1
putfield sun.nio.fs.LinuxWatchService$LinuxWatchKey.wd:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/fs/LinuxWatchService$LinuxWatchKey;
0 6 1 remove Z
Exception table:
from to target type
1 2 3 Class sun.nio.fs.UnixException
MethodParameters:
Name Flags
remove
public boolean isValid();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.LinuxWatchService$LinuxWatchKey.wd:I
iconst_m1
if_icmpeq 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 Lsun/nio/fs/LinuxWatchService$LinuxWatchKey;
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.fs.LinuxWatchService$LinuxWatchKey.isValid:()Z
ifeq 2
1: aload 0
invokevirtual sun.nio.fs.LinuxWatchService$LinuxWatchKey.watcher:()Lsun/nio/fs/AbstractWatchService;
checkcast sun.nio.fs.LinuxWatchService
getfield sun.nio.fs.LinuxWatchService.poller:Lsun/nio/fs/LinuxWatchService$Poller;
aload 0
invokevirtual sun.nio.fs.LinuxWatchService$Poller.cancel:(Ljava/nio/file/WatchKey;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/fs/LinuxWatchService$LinuxWatchKey;
}
SourceFile: "LinuxWatchService.java"
NestHost: sun.nio.fs.LinuxWatchService
InnerClasses:
private LinuxWatchKey = sun.nio.fs.LinuxWatchService$LinuxWatchKey of sun.nio.fs.LinuxWatchService
private Poller = sun.nio.fs.LinuxWatchService$Poller of sun.nio.fs.LinuxWatchService