public class org.eclipse.jetty.util.PathWatcher$PathWatchEvent
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.PathWatcher$PathWatchEvent
super_class: java.lang.Object
{
private final java.nio.file.Path path;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.util.PathWatcher$PathWatchEventType type;
descriptor: Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.util.PathWatcher$Config config;
descriptor: Lorg/eclipse/jetty/util/PathWatcher$Config;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
long checked;
descriptor: J
flags: (0x0000)
long modified;
descriptor: J
flags: (0x0000)
long length;
descriptor: J
flags: (0x0000)
final org.eclipse.jetty.util.PathWatcher this$0;
descriptor: Lorg/eclipse/jetty/util/PathWatcher;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.eclipse.jetty.util.PathWatcher, java.nio.file.Path, org.eclipse.jetty.util.PathWatcher$PathWatchEventType, org.eclipse.jetty.util.PathWatcher$Config);
descriptor: (Lorg/eclipse/jetty/util/PathWatcher;Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;Lorg/eclipse/jetty/util/PathWatcher$Config;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.this$0:Lorg/eclipse/jetty/util/PathWatcher;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
aload 2
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.path:Ljava/nio/file/Path;
3: aload 0
aload 3
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.type:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
4: aload 0
aload 4
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.config:Lorg/eclipse/jetty/util/PathWatcher$Config;
5: aload 0
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokestatic java.lang.System.nanoTime:()J
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.checked:J
6: aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEvent.check:()V
7: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
0 8 2 path Ljava/nio/file/Path;
0 8 3 type Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
0 8 4 config Lorg/eclipse/jetty/util/PathWatcher$Config;
MethodParameters:
Name Flags
this$0 final
path
type
config
public org.eclipse.jetty.util.PathWatcher$Config getConfig();
descriptor: ()Lorg/eclipse/jetty/util/PathWatcher$Config;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.config:Lorg/eclipse/jetty/util/PathWatcher$Config;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
public void <init>(java.nio.file.Path, java.nio.file.WatchEvent<java.nio.file.Path>, org.eclipse.jetty.util.PathWatcher$Config);
descriptor: (Lorg/eclipse/jetty/util/PathWatcher;Ljava/nio/file/Path;Ljava/nio/file/WatchEvent;Lorg/eclipse/jetty/util/PathWatcher$Config;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.this$0:Lorg/eclipse/jetty/util/PathWatcher;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
aload 2
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.path:Ljava/nio/file/Path;
3: aload 3
invokeinterface java.nio.file.WatchEvent.kind:()Ljava/nio/file/WatchEvent$Kind;
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_CREATE:Ljava/nio/file/WatchEvent$Kind;
if_acmpne 6
4: aload 0
getstatic org.eclipse.jetty.util.PathWatcher$PathWatchEventType.ADDED:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.type:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
5: goto 13
6: StackMap locals: org.eclipse.jetty.util.PathWatcher$PathWatchEvent org.eclipse.jetty.util.PathWatcher java.nio.file.Path java.nio.file.WatchEvent org.eclipse.jetty.util.PathWatcher$Config
StackMap stack:
aload 3
invokeinterface java.nio.file.WatchEvent.kind:()Ljava/nio/file/WatchEvent$Kind;
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_DELETE:Ljava/nio/file/WatchEvent$Kind;
if_acmpne 9
7: aload 0
getstatic org.eclipse.jetty.util.PathWatcher$PathWatchEventType.DELETED:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.type:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
8: goto 13
9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.nio.file.WatchEvent.kind:()Ljava/nio/file/WatchEvent$Kind;
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY:Ljava/nio/file/WatchEvent$Kind;
if_acmpne 12
10: aload 0
getstatic org.eclipse.jetty.util.PathWatcher$PathWatchEventType.MODIFIED:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.type:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jetty.util.PathWatcher$PathWatchEventType.UNKNOWN:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.type:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
13: StackMap locals:
StackMap stack:
aload 0
aload 4
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.config:Lorg/eclipse/jetty/util/PathWatcher$Config;
14: aload 0
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokestatic java.lang.System.nanoTime:()J
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.checked:J
15: aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEvent.check:()V
16: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
0 17 2 path Ljava/nio/file/Path;
0 17 3 event Ljava/nio/file/WatchEvent<Ljava/nio/file/Path;>;
0 17 4 config Lorg/eclipse/jetty/util/PathWatcher$Config;
Signature: (Ljava/nio/file/Path;Ljava/nio/file/WatchEvent<Ljava/nio/file/Path;>;Lorg/eclipse/jetty/util/PathWatcher$Config;)V
MethodParameters:
Name Flags
this$0 final
path
event
config
private void check();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.path:Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 8
1: aload 0
aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.path:Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.getLastModifiedTime:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileTime;
invokevirtual java.nio.file.attribute.FileTime.toMillis:()J
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.modified:J
2: aload 0
aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.path:Ljava/nio/file/Path;
invokestatic java.nio.file.Files.size:(Ljava/nio/file/Path;)J
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.length:J
3: goto 10
4: StackMap locals:
StackMap stack: java.io.IOException
pop
5: aload 0
ldc -1
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.modified:J
6: aload 0
ldc -1
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.length:J
7: goto 10
8: StackMap locals:
StackMap stack:
aload 0
ldc -1
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.modified:J
9: aload 0
ldc -1
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.length:J
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
Exception table:
from to target type
1 3 4 Class java.io.IOException
public boolean isQuiet(long, long);
descriptor: (JJ)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.modified:J
lstore 5
start local 5 1: aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.length:J
lstore 7
start local 7 2: aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEvent.check:()V
3: lload 5
aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.modified:J
lcmp
ifne 6
lload 7
aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.length:J
lcmp
ifne 6
4: lload 1
aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.checked:J
lsub
lload 3
lcmp
iflt 5
iconst_1
ireturn
StackMap locals: long long
StackMap stack:
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
lload 1
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.checked:J
7: iconst_0
ireturn
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
0 8 1 now J
0 8 3 quietTime J
1 8 5 lastModified J
2 8 7 lastLength J
MethodParameters:
Name Flags
now
quietTime
public long toQuietCheck(long, long);
descriptor: (JJ)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 3 0: lload 3
lload 1
aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.checked:J
lsub
lsub
lstore 5
start local 5 1: lload 5
lconst_0
lcmp
ifgt 3
2: lload 3
lreturn
3: StackMap locals: long
StackMap stack:
lload 5
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
0 4 1 now J
0 4 3 quietTime J
1 4 5 check J
MethodParameters:
Name Flags
now
quietTime
public void modified();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokestatic java.lang.System.nanoTime:()J
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
lstore 1
start local 1 1: aload 0
lload 1
putfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.checked:J
2: aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEvent.check:()V
3: aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.config:Lorg/eclipse/jetty/util/PathWatcher$Config;
lload 1
aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.this$0:Lorg/eclipse/jetty/util/PathWatcher;
invokevirtual org.eclipse.jetty.util.PathWatcher.getUpdateQuietTimeMillis:()J
ladd
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.setPauseUntil:(J)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
1 5 1 now J
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast org.eclipse.jetty.util.PathWatcher$PathWatchEvent
astore 2
start local 2 7: aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.path:Ljava/nio/file/Path;
ifnonnull 10
8: aload 2
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.path:Ljava/nio/file/Path;
ifnull 12
9: iconst_0
ireturn
10: StackMap locals: org.eclipse.jetty.util.PathWatcher$PathWatchEvent
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.path:Ljava/nio/file/Path;
aload 2
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.equals:(Ljava/lang/Object;)Z
ifne 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.type:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
aload 2
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.type:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
if_acmpeq 14
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
0 15 1 obj Ljava/lang/Object;
7 15 2 other Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
MethodParameters:
Name Flags
obj
public java.nio.file.Path getPath();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.path:Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
public org.eclipse.jetty.util.PathWatcher$PathWatchEventType getType();
descriptor: ()Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.type:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.path:Ljava/nio/file/Path;
ifnonnull 2
iconst_0
goto 3
StackMap locals: org.eclipse.jetty.util.PathWatcher$PathWatchEvent int
StackMap stack: int
2: aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.hashCode:()I
StackMap locals: org.eclipse.jetty.util.PathWatcher$PathWatchEvent int
StackMap stack: int int
3: iadd
istore 1
4: bipush 31
iload 1
imul
aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.type:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
ifnonnull 5
iconst_0
goto 6
StackMap locals:
StackMap stack: int
5: aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.type:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEventType.hashCode:()I
StackMap locals: org.eclipse.jetty.util.PathWatcher$PathWatchEvent int
StackMap stack: int int
6: iadd
istore 1
7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
1 8 1 result I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "PathWatchEvent[%8s|%s]"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.type:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.util.PathWatcher$PathWatchEvent.path:Ljava/nio/file/Path;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
}
SourceFile: "PathWatcher.java"
NestHost: org.eclipse.jetty.util.PathWatcher
InnerClasses:
public abstract Kind = java.nio.file.WatchEvent$Kind of java.nio.file.WatchEvent
public Config = org.eclipse.jetty.util.PathWatcher$Config of org.eclipse.jetty.util.PathWatcher
public PathWatchEvent = org.eclipse.jetty.util.PathWatcher$PathWatchEvent of org.eclipse.jetty.util.PathWatcher
public final PathWatchEventType = org.eclipse.jetty.util.PathWatcher$PathWatchEventType of org.eclipse.jetty.util.PathWatcher