public class org.eclipse.jetty.util.PathWatcher extends org.eclipse.jetty.util.component.AbstractLifeCycle implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.PathWatcher
super_class: org.eclipse.jetty.util.component.AbstractLifeCycle
{
private static final boolean IS_WINDOWS;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final org.eclipse.jetty.util.log.Logger LOG;
descriptor: Lorg/eclipse/jetty/util/log/Logger;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final java.nio.file.WatchEvent$Kind<?>[] WATCH_EVENT_KINDS;
descriptor: [Ljava/nio/file/WatchEvent$Kind;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: [Ljava/nio/file/WatchEvent$Kind<*>;
private static final java.nio.file.WatchEvent$Kind<?>[] WATCH_DIR_KINDS;
descriptor: [Ljava/nio/file/WatchEvent$Kind;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: [Ljava/nio/file/WatchEvent$Kind<*>;
private java.nio.file.WatchService watchService;
descriptor: Ljava/nio/file/WatchService;
flags: (0x0002) ACC_PRIVATE
private java.nio.file.WatchEvent$Modifier[] watchModifiers;
descriptor: [Ljava/nio/file/WatchEvent$Modifier;
flags: (0x0002) ACC_PRIVATE
private boolean nativeWatchService;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.util.List<org.eclipse.jetty.util.PathWatcher$Config> configs;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/eclipse/jetty/util/PathWatcher$Config;>;
private final java.util.Map<java.nio.file.WatchKey, org.eclipse.jetty.util.PathWatcher$Config> keys;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/nio/file/WatchKey;Lorg/eclipse/jetty/util/PathWatcher$Config;>;
private final java.util.List<java.util.EventListener> listeners;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/util/EventListener;>;
private final java.util.Map<java.nio.file.Path, org.eclipse.jetty.util.PathWatcher$PathWatchEvent> pending;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;>;
private final java.util.List<org.eclipse.jetty.util.PathWatcher$PathWatchEvent> events;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;>;
private long updateQuietTimeDuration;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.TimeUnit updateQuietTimeUnit;
descriptor: Ljava/util/concurrent/TimeUnit;
flags: (0x0002) ACC_PRIVATE
private java.lang.Thread thread;
descriptor: Ljava/lang/Thread;
flags: (0x0002) ACC_PRIVATE
private boolean _notifyExistingOnStart;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$org$eclipse$jetty$util$PathWatcher$DirAction;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$org$eclipse$jetty$util$PathWatcher$PathWatchEventType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: ldc "os.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnonnull 4
2: iconst_0
putstatic org.eclipse.jetty.util.PathWatcher.IS_WINDOWS:Z
3: goto 6
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 1
start local 1 5: aload 1
ldc "windows"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
putstatic org.eclipse.jetty.util.PathWatcher.IS_WINDOWS:Z
end local 1 end local 0 6: StackMap locals:
StackMap stack:
ldc Lorg/eclipse/jetty/util/PathWatcher;
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
7: iconst_3
anewarray java.nio.file.WatchEvent$Kind
dup
iconst_0
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_CREATE:Ljava/nio/file/WatchEvent$Kind;
aastore
dup
iconst_1
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_DELETE:Ljava/nio/file/WatchEvent$Kind;
aastore
dup
iconst_2
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY:Ljava/nio/file/WatchEvent$Kind;
aastore
putstatic org.eclipse.jetty.util.PathWatcher.WATCH_EVENT_KINDS:[Ljava/nio/file/WatchEvent$Kind;
8: iconst_2
anewarray java.nio.file.WatchEvent$Kind
dup
iconst_0
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_CREATE:Ljava/nio/file/WatchEvent$Kind;
aastore
dup
iconst_1
getstatic java.nio.file.StandardWatchEventKinds.ENTRY_DELETE:Ljava/nio/file/WatchEvent$Kind;
aastore
putstatic org.eclipse.jetty.util.PathWatcher.WATCH_DIR_KINDS:[Ljava/nio/file/WatchEvent$Kind;
return
LocalVariableTable:
Start End Slot Name Signature
1 6 0 os Ljava/lang/String;
5 6 1 osl Ljava/lang/String;
protected static <T> java.nio.file.WatchEvent<T> cast(java.nio.file.WatchEvent<?>);
descriptor: (Ljava/nio/file/WatchEvent;)Ljava/nio/file/WatchEvent;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 event Ljava/nio/file/WatchEvent<*>;
Signature: <T:Ljava/lang/Object;>(Ljava/nio/file/WatchEvent<*>;)Ljava/nio/file/WatchEvent<TT;>;
MethodParameters:
Name Flags
event
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.jetty.util.component.AbstractLifeCycle.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.eclipse.jetty.util.PathWatcher.configs:Ljava/util/List;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.eclipse.jetty.util.PathWatcher.keys:Ljava/util/Map;
3: aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putfield org.eclipse.jetty.util.PathWatcher.listeners:Ljava/util/List;
4: aload 0
new java.util.LinkedHashMap
dup
bipush 32
ldc 0.75
iconst_0
invokespecial java.util.LinkedHashMap.<init>:(IFZ)V
putfield org.eclipse.jetty.util.PathWatcher.pending:Ljava/util/Map;
5: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.eclipse.jetty.util.PathWatcher.events:Ljava/util/List;
6: aload 0
ldc 1000
putfield org.eclipse.jetty.util.PathWatcher.updateQuietTimeDuration:J
7: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
putfield org.eclipse.jetty.util.PathWatcher.updateQuietTimeUnit:Ljava/util/concurrent/TimeUnit;
8: aload 0
iconst_1
putfield org.eclipse.jetty.util.PathWatcher._notifyExistingOnStart:Z
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jetty/util/PathWatcher;
public java.util.Collection<org.eclipse.jetty.util.PathWatcher$Config> getConfigs();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.PathWatcher.configs:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/PathWatcher;
Signature: ()Ljava/util/Collection<Lorg/eclipse/jetty/util/PathWatcher$Config;>;
public void watch(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: aload 2
invokeinterface java.nio.file.Path.isAbsolute:()Z
ifne 3
2: aload 1
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
astore 2
3: StackMap locals: java.nio.file.Path
StackMap stack:
aconst_null
astore 3
start local 3 4: aload 2
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
astore 4
start local 4 5: aload 0
getfield org.eclipse.jetty.util.PathWatcher.configs:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 10
StackMap locals: org.eclipse.jetty.util.PathWatcher java.nio.file.Path java.nio.file.Path org.eclipse.jetty.util.PathWatcher$Config java.nio.file.Path top java.util.Iterator
StackMap stack:
6: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.PathWatcher$Config
astore 5
start local 5 7: aload 5
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.getPath:()Ljava/nio/file/Path;
aload 4
invokeinterface java.nio.file.Path.equals:(Ljava/lang/Object;)Z
ifeq 10
8: aload 5
astore 3
9: goto 11
end local 5 10: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
11: StackMap locals: org.eclipse.jetty.util.PathWatcher java.nio.file.Path java.nio.file.Path org.eclipse.jetty.util.PathWatcher$Config java.nio.file.Path
StackMap stack:
aload 3
ifnonnull 17
12: new org.eclipse.jetty.util.PathWatcher$Config
dup
aload 2
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
invokespecial org.eclipse.jetty.util.PathWatcher$Config.<init>:(Ljava/nio/file/Path;)V
astore 3
13: aload 3
ldc ""
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.addIncludeGlobRelative:(Ljava/lang/String;)V
14: aload 3
aload 1
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.addIncludeGlobRelative:(Ljava/lang/String;)V
15: aload 0
aload 3
invokevirtual org.eclipse.jetty.util.PathWatcher.watch:(Lorg/eclipse/jetty/util/PathWatcher$Config;)V
16: goto 18
17: StackMap locals:
StackMap stack:
aload 3
aload 1
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.addIncludeGlobRelative:(Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/eclipse/jetty/util/PathWatcher;
0 19 1 file Ljava/nio/file/Path;
1 19 2 abs Ljava/nio/file/Path;
4 19 3 config Lorg/eclipse/jetty/util/PathWatcher$Config;
5 19 4 parent Ljava/nio/file/Path;
7 10 5 c Lorg/eclipse/jetty/util/PathWatcher$Config;
MethodParameters:
Name Flags
file final
public void watch(org.eclipse.jetty.util.PathWatcher$Config);
descriptor: (Lorg/eclipse/jetty/util/PathWatcher$Config;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.PathWatcher.configs:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/PathWatcher;
0 2 1 config Lorg/eclipse/jetty/util/PathWatcher$Config;
MethodParameters:
Name Flags
config final
public void addListener(java.util.EventListener);
descriptor: (Ljava/util/EventListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.PathWatcher.listeners:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/PathWatcher;
0 2 1 listener Ljava/util/EventListener;
MethodParameters:
Name Flags
listener
private void appendConfigId(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.eclipse.jetty.util.PathWatcher.keys:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.eclipse.jetty.util.PathWatcher java.lang.StringBuilder java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.PathWatcher$Config
astore 3
start local 3 3: aload 2
aload 3
getfield org.eclipse.jetty.util.PathWatcher$Config.path:Ljava/nio/file/Path;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 2
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
6: aload 1
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 2
invokeinterface java.util.List.size:()I
ifle 12
8: aload 1
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
9: aload 2
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 13
10: aload 1
ldc " (+"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokeinterface java.util.List.size:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: goto 13
12: StackMap locals: org.eclipse.jetty.util.PathWatcher java.lang.StringBuilder java.util.List
StackMap stack:
aload 1
ldc "<null>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: StackMap locals:
StackMap stack:
aload 1
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jetty/util/PathWatcher;
0 15 1 s Ljava/lang/StringBuilder;
1 15 2 dirs Ljava/util/List<Ljava/nio/file/Path;>;
3 4 3 config Lorg/eclipse/jetty/util/PathWatcher$Config;
MethodParameters:
Name Flags
s
protected void doStart();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher.createWatchService:()V
1: aload 0
aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher.getUpdateQuietTimeMillis:()J
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual org.eclipse.jetty.util.PathWatcher.setUpdateQuietTime:(JLjava/util/concurrent/TimeUnit;)V
2: aload 0
getfield org.eclipse.jetty.util.PathWatcher.configs:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 5
StackMap locals: org.eclipse.jetty.util.PathWatcher top java.util.Iterator
StackMap stack:
3: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.PathWatcher$Config
astore 1
start local 1 4: aload 0
aload 1
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.getPath:()Ljava/nio/file/Path;
aload 1
aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher.isNotifyExistingOnStart:()Z
invokevirtual org.eclipse.jetty.util.PathWatcher.registerTree:(Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$Config;Z)V
end local 1 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 7: aload 1
ldc "PathWatcher@"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 11
10: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} -> {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
11: StackMap locals: org.eclipse.jetty.util.PathWatcher java.lang.StringBuilder
StackMap stack:
aload 0
new java.lang.Thread
dup
aload 0
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
putfield org.eclipse.jetty.util.PathWatcher.thread:Ljava/lang/Thread;
12: aload 0
getfield org.eclipse.jetty.util.PathWatcher.thread:Ljava/lang/Thread;
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
13: aload 0
getfield org.eclipse.jetty.util.PathWatcher.thread:Ljava/lang/Thread;
invokevirtual java.lang.Thread.start:()V
14: aload 0
invokespecial org.eclipse.jetty.util.component.AbstractLifeCycle.doStart:()V
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/eclipse/jetty/util/PathWatcher;
4 5 1 c Lorg/eclipse/jetty/util/PathWatcher$Config;
7 16 1 threadId Ljava/lang/StringBuilder;
Exceptions:
throws java.lang.Exception
protected void doStop();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.PathWatcher.watchService:Ljava/nio/file/WatchService;
ifnull 2
1: aload 0
getfield org.eclipse.jetty.util.PathWatcher.watchService:Ljava/nio/file/WatchService;
invokeinterface java.nio.file.WatchService.close:()V
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jetty.util.PathWatcher.watchService:Ljava/nio/file/WatchService;
3: aload 0
aconst_null
putfield org.eclipse.jetty.util.PathWatcher.thread:Ljava/lang/Thread;
4: aload 0
getfield org.eclipse.jetty.util.PathWatcher.keys:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
5: aload 0
getfield org.eclipse.jetty.util.PathWatcher.pending:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
6: aload 0
getfield org.eclipse.jetty.util.PathWatcher.events:Ljava/util/List;
invokeinterface java.util.List.clear:()V
7: aload 0
invokespecial org.eclipse.jetty.util.component.AbstractLifeCycle.doStop:()V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/util/PathWatcher;
Exceptions:
throws java.lang.Exception
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher.isStopped:()Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "PathWatcher must be stopped before reset."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.PathWatcher.configs:Ljava/util/List;
invokeinterface java.util.List.clear:()V
3: aload 0
getfield org.eclipse.jetty.util.PathWatcher.listeners:Ljava/util/List;
invokeinterface java.util.List.clear:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/PathWatcher;
private void createWatchService();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=1
start local 0 0: aload 0
invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
invokevirtual java.nio.file.FileSystem.newWatchService:()Ljava/nio/file/WatchService;
putfield org.eclipse.jetty.util.PathWatcher.watchService:Ljava/nio/file/WatchService;
1: aconst_null
astore 1
start local 1 2: iconst_1
istore 2
start local 2 3: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 3
start local 3 4: ldc "sun.nio.fs.PollingWatchService"
iconst_0
aload 3
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 4
start local 4 5: aload 4
aload 0
getfield org.eclipse.jetty.util.PathWatcher.watchService:Ljava/nio/file/WatchService;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 14
6: iconst_0
istore 2
7: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Using Non-Native Java {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
8: ldc "com.sun.nio.file.SensitivityWatchEventModifier"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 5
start local 5 9: aload 5
ldc "HIGH"
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 6
start local 6 10: iconst_1
anewarray java.nio.file.WatchEvent$Modifier
dup
iconst_0
aload 6
aload 5
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.file.WatchEvent$Modifier
aastore
astore 1
end local 6 end local 5 end local 4 end local 3 11: goto 14
12: StackMap locals: org.eclipse.jetty.util.PathWatcher java.nio.file.WatchEvent$Modifier[] int
StackMap stack: java.lang.Throwable
astore 3
start local 3 13: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 3
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(Ljava/lang/Throwable;)V
end local 3 14: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.eclipse.jetty.util.PathWatcher.watchModifiers:[Ljava/nio/file/WatchEvent$Modifier;
15: aload 0
iload 2
putfield org.eclipse.jetty.util.PathWatcher.nativeWatchService:Z
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/eclipse/jetty/util/PathWatcher;
2 17 1 modifiers [Ljava/nio/file/WatchEvent$Modifier;
3 17 2 nativeService Z
4 11 3 cl Ljava/lang/ClassLoader;
5 11 4 pollingWatchServiceClass Ljava/lang/Class<*>;
9 11 5 c Ljava/lang/Class<*>;
10 11 6 f Ljava/lang/reflect/Field;
13 14 3 t Ljava/lang/Throwable;
Exception table:
from to target type
3 11 12 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
protected boolean isNotifiable();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher.isStarted:()Z
ifne 2
aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher.isStarted:()Z
ifne 1
aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher.isNotifyExistingOnStart:()Z
ifne 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/PathWatcher;
public java.util.Iterator<java.util.EventListener> getListeners();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.PathWatcher.listeners:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/PathWatcher;
Signature: ()Ljava/util/Iterator<Ljava/util/EventListener;>;
public long getUpdateQuietTimeMillis();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
aload 0
getfield org.eclipse.jetty.util.PathWatcher.updateQuietTimeDuration:J
aload 0
getfield org.eclipse.jetty.util.PathWatcher.updateQuietTimeUnit:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/PathWatcher;
private void registerTree(java.nio.file.Path, org.eclipse.jetty.util.PathWatcher$Config, boolean);
descriptor: (Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$Config;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "registerTree {} {} {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
iload 3
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 1
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 4
3: new java.lang.IllegalArgumentException
dup
aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.eclipse.jetty.util.PathWatcher.register:(Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$Config;)V
5: new org.eclipse.jetty.util.MultiException
dup
invokespecial org.eclipse.jetty.util.MultiException.<init>:()V
astore 4
start local 4 6: aconst_null
astore 5
aconst_null
astore 6
7: aload 1
invokestatic java.nio.file.Files.list:(Ljava/nio/file/Path;)Ljava/util/stream/Stream;
astore 7
start local 7 8: aload 7
aload 0
iload 3
aload 2
aload 4
invokedynamic accept(Lorg/eclipse/jetty/util/PathWatcher;ZLorg/eclipse/jetty/util/PathWatcher$Config;Lorg/eclipse/jetty/util/MultiException;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/eclipse/jetty/util/PathWatcher.lambda$0(ZLorg/eclipse/jetty/util/PathWatcher$Config;Lorg/eclipse/jetty/util/MultiException;Ljava/nio/file/Path;)V (7)
(Ljava/nio/file/Path;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
9: aload 7
ifnull 15
aload 7
invokeinterface java.util.stream.Stream.close:()V
goto 15
StackMap locals: org.eclipse.jetty.util.PathWatcher java.nio.file.Path org.eclipse.jetty.util.PathWatcher$Config int org.eclipse.jetty.util.MultiException java.lang.Throwable java.lang.Throwable java.util.stream.Stream
StackMap stack: java.lang.Throwable
10: astore 5
aload 7
ifnull 11
aload 7
invokeinterface java.util.stream.Stream.close:()V
end local 7 StackMap locals:
StackMap stack:
11: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 6
aload 5
ifnonnull 13
aload 6
astore 5
goto 14
StackMap locals:
StackMap stack:
13: aload 5
aload 6
if_acmpeq 14
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 5
athrow
15: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.eclipse.jetty.util.MultiException.ifExceptionThrow:()V
16: goto 21
17: StackMap locals:
StackMap stack: java.io.IOException
astore 5
start local 5 18: aload 5
athrow
end local 5 19: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 20: new java.io.IOException
dup
aload 5
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 21: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/eclipse/jetty/util/PathWatcher;
0 22 1 dir Ljava/nio/file/Path;
0 22 2 config Lorg/eclipse/jetty/util/PathWatcher$Config;
0 22 3 notify Z
6 22 4 me Lorg/eclipse/jetty/util/MultiException;
8 11 7 stream Ljava/util/stream/Stream<Ljava/nio/file/Path;>;
18 19 5 e Ljava/io/IOException;
20 21 5 th Ljava/lang/Throwable;
Exception table:
from to target type
8 9 10 any
7 12 12 any
15 16 17 Class java.io.IOException
15 16 19 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dir
config
notify
private void registerDir(java.nio.file.Path, org.eclipse.jetty.util.PathWatcher$Config);
descriptor: (Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$Config;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "registerDir {} {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 1
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 4
3: new java.lang.IllegalArgumentException
dup
aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 1
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.asSubConfig:(Ljava/nio/file/Path;)Lorg/eclipse/jetty/util/PathWatcher$Config;
getstatic org.eclipse.jetty.util.PathWatcher.WATCH_DIR_KINDS:[Ljava/nio/file/WatchEvent$Kind;
invokevirtual org.eclipse.jetty.util.PathWatcher.register:(Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$Config;[Ljava/nio/file/WatchEvent$Kind;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/util/PathWatcher;
0 6 1 path Ljava/nio/file/Path;
0 6 2 config Lorg/eclipse/jetty/util/PathWatcher$Config;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
config
protected void register(java.nio.file.Path, org.eclipse.jetty.util.PathWatcher$Config);
descriptor: (Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$Config;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 4
1: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Registering watch on {} {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.util.PathWatcher.watchModifiers:[Ljava/nio/file/WatchEvent$Modifier;
ifnonnull 2
aconst_null
goto 3
StackMap locals: org.eclipse.jetty.util.PathWatcher java.nio.file.Path org.eclipse.jetty.util.PathWatcher$Config
StackMap stack: org.eclipse.jetty.util.log.Logger java.lang.String java.lang.Object[] java.lang.Object[] int
2: aload 0
getfield org.eclipse.jetty.util.PathWatcher.watchModifiers:[Ljava/nio/file/WatchEvent$Modifier;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
StackMap locals: org.eclipse.jetty.util.PathWatcher java.nio.file.Path org.eclipse.jetty.util.PathWatcher$Config
StackMap stack: org.eclipse.jetty.util.log.Logger java.lang.String java.lang.Object[] java.lang.Object[] int java.util.List
3: aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
getstatic org.eclipse.jetty.util.PathWatcher.WATCH_EVENT_KINDS:[Ljava/nio/file/WatchEvent$Kind;
invokevirtual org.eclipse.jetty.util.PathWatcher.register:(Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$Config;[Ljava/nio/file/WatchEvent$Kind;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/util/PathWatcher;
0 6 1 path Ljava/nio/file/Path;
0 6 2 config Lorg/eclipse/jetty/util/PathWatcher$Config;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
config
private void register(java.nio.file.Path, org.eclipse.jetty.util.PathWatcher$Config, java.nio.file.WatchEvent$Kind<?>[]);
descriptor: (Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$Config;[Ljava/nio/file/WatchEvent$Kind;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.eclipse.jetty.util.PathWatcher.watchModifiers:[Ljava/nio/file/WatchEvent$Modifier;
ifnull 4
1: aload 1
aload 0
getfield org.eclipse.jetty.util.PathWatcher.watchService:Ljava/nio/file/WatchService;
aload 3
aload 0
getfield org.eclipse.jetty.util.PathWatcher.watchModifiers:[Ljava/nio/file/WatchEvent$Modifier;
invokeinterface java.nio.file.Path.register:(Ljava/nio/file/WatchService;[Ljava/nio/file/WatchEvent$Kind;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/nio/file/WatchKey;
astore 4
start local 4 2: aload 0
getfield org.eclipse.jetty.util.PathWatcher.keys:Ljava/util/Map;
aload 4
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 3: goto 6
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.eclipse.jetty.util.PathWatcher.watchService:Ljava/nio/file/WatchService;
aload 3
invokeinterface java.nio.file.Path.register:(Ljava/nio/file/WatchService;[Ljava/nio/file/WatchEvent$Kind;)Ljava/nio/file/WatchKey;
astore 4
start local 4 5: aload 0
getfield org.eclipse.jetty.util.PathWatcher.keys:Ljava/util/Map;
aload 4
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/util/PathWatcher;
0 7 1 path Ljava/nio/file/Path;
0 7 2 config Lorg/eclipse/jetty/util/PathWatcher$Config;
0 7 3 kinds [Ljava/nio/file/WatchEvent$Kind;
2 3 4 key Ljava/nio/file/WatchKey;
5 6 4 key Ljava/nio/file/WatchKey;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$Config;[Ljava/nio/file/WatchEvent$Kind<*>;)V
MethodParameters:
Name Flags
path
config
kinds
public boolean removeListener(org.eclipse.jetty.util.PathWatcher$Listener);
descriptor: (Lorg/eclipse/jetty/util/PathWatcher$Listener;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.PathWatcher.listeners:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/PathWatcher;
0 1 1 listener Lorg/eclipse/jetty/util/PathWatcher$Listener;
MethodParameters:
Name Flags
listener
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=1
start local 0 0: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Starting java.nio file watching with {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.eclipse.jetty.util.PathWatcher.watchService:Ljava/nio/file/WatchService;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher.getUpdateQuietTimeMillis:()J
lstore 1
start local 1 3: aload 0
getfield org.eclipse.jetty.util.PathWatcher.watchService:Ljava/nio/file/WatchService;
astore 3
start local 3 4: goto 35
5: StackMap locals: long java.nio.file.WatchService
StackMap stack:
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 5
start local 5 6: aload 0
getfield org.eclipse.jetty.util.PathWatcher.keys:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 14
StackMap locals: org.eclipse.jetty.util.PathWatcher long java.nio.file.WatchService top long top java.util.Iterator
StackMap stack:
7: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 7
start local 7 8: aload 7
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.nio.file.WatchKey
astore 9
start local 9 9: aload 7
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.PathWatcher$Config
astore 10
start local 10 10: aload 10
lload 5
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.isPaused:(J)Z
ifne 14
aload 9
invokeinterface java.nio.file.WatchKey.reset:()Z
ifne 14
11: aload 0
getfield org.eclipse.jetty.util.PathWatcher.keys:Ljava/util/Map;
aload 9
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 0
getfield org.eclipse.jetty.util.PathWatcher.keys:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 14
13: return
end local 10 end local 9 end local 7 14: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
15: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 17
16: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Waiting for poll({})"
lload 1
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;J)V
17: StackMap locals: org.eclipse.jetty.util.PathWatcher long java.nio.file.WatchService top long
StackMap stack:
lload 1
lconst_0
lcmp
ifge 18
aload 3
invokeinterface java.nio.file.WatchService.take:()Ljava/nio/file/WatchKey;
goto 20
StackMap locals:
StackMap stack:
18: lload 1
lconst_0
lcmp
ifle 19
aload 3
lload 1
aload 0
getfield org.eclipse.jetty.util.PathWatcher.updateQuietTimeUnit:Ljava/util/concurrent/TimeUnit;
invokeinterface java.nio.file.WatchService.poll:(JLjava/util/concurrent/TimeUnit;)Ljava/nio/file/WatchKey;
goto 20
StackMap locals:
StackMap stack:
19: aload 3
invokeinterface java.nio.file.WatchService.poll:()Ljava/nio/file/WatchKey;
StackMap locals:
StackMap stack: java.nio.file.WatchKey
20: astore 4
start local 4 21: goto 24
22: StackMap locals: org.eclipse.jetty.util.PathWatcher long java.nio.file.WatchService java.nio.file.WatchKey long
StackMap stack:
aload 0
aload 4
invokevirtual org.eclipse.jetty.util.PathWatcher.handleKey:(Ljava/nio/file/WatchKey;)V
23: aload 3
invokeinterface java.nio.file.WatchService.poll:()Ljava/nio/file/WatchKey;
astore 4
24: StackMap locals:
StackMap stack:
aload 4
ifnonnull 22
25: aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher.processPending:()J
lstore 1
26: aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher.notifyEvents:()V
end local 5 27: goto 35
end local 4 28: StackMap locals: org.eclipse.jetty.util.PathWatcher long java.nio.file.WatchService
StackMap stack: java.nio.file.ClosedWatchServiceException
pop
29: return
30: StackMap locals:
StackMap stack: java.lang.InterruptedException
astore 5
start local 5 31: aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher.isRunning:()Z
ifeq 34
32: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 5
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/Throwable;)V
33: goto 35
34: StackMap locals: org.eclipse.jetty.util.PathWatcher long java.nio.file.WatchService top java.lang.InterruptedException
StackMap stack:
getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 5
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(Ljava/lang/Throwable;)V
end local 5 35: StackMap locals: org.eclipse.jetty.util.PathWatcher long java.nio.file.WatchService
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher.isRunning:()Z
ifeq 36
aload 0
getfield org.eclipse.jetty.util.PathWatcher.thread:Ljava/lang/Thread;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpeq 5
36: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lorg/eclipse/jetty/util/PathWatcher;
3 37 1 waitTime J
4 37 3 watch Ljava/nio/file/WatchService;
21 28 4 key Ljava/nio/file/WatchKey;
6 27 5 now J
8 14 7 e Ljava/util/Map$Entry<Ljava/nio/file/WatchKey;Lorg/eclipse/jetty/util/PathWatcher$Config;>;
9 14 9 k Ljava/nio/file/WatchKey;
10 14 10 c Lorg/eclipse/jetty/util/PathWatcher$Config;
31 35 5 e Ljava/lang/InterruptedException;
Exception table:
from to target type
5 13 28 Class java.nio.file.ClosedWatchServiceException
14 27 28 Class java.nio.file.ClosedWatchServiceException
5 13 30 Class java.lang.InterruptedException
14 27 30 Class java.lang.InterruptedException
private void handleKey(java.nio.file.WatchKey);
descriptor: (Ljava/nio/file/WatchKey;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.PathWatcher.keys:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.eclipse.jetty.util.PathWatcher$Config
astore 2
start local 2 1: aload 2
ifnonnull 5
2: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 4
3: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "WatchKey not recognized: {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals: org.eclipse.jetty.util.PathWatcher$Config
StackMap stack:
return
5: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.nio.file.WatchKey.pollEvents:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 30
StackMap locals: org.eclipse.jetty.util.PathWatcher java.nio.file.WatchKey org.eclipse.jetty.util.PathWatcher$Config top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.WatchEvent
astore 3
start local 3 7: aload 3
invokestatic org.eclipse.jetty.util.PathWatcher.cast:(Ljava/nio/file/WatchEvent;)Ljava/nio/file/WatchEvent;
astore 5
start local 5 8: aload 5
invokeinterface java.nio.file.WatchEvent.context:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 6
start local 6 9: aload 2
aload 6
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 7
start local 7 10: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 12
11: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "handleKey? {} {} {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 5
invokeinterface java.nio.file.WatchEvent.kind:()Ljava/nio/file/WatchEvent$Kind;
aastore
dup
iconst_1
aload 2
aload 7
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.toShortPath:(Ljava/nio/file/Path;)Ljava/lang/String;
aastore
dup
iconst_2
aload 2
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals: org.eclipse.jetty.util.PathWatcher java.nio.file.WatchKey org.eclipse.jetty.util.PathWatcher$Config java.nio.file.WatchEvent java.util.Iterator java.nio.file.WatchEvent java.nio.file.Path java.nio.file.Path
StackMap stack:
aload 5
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 14
aload 7
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 14
aload 7
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 14
13: goto 30
14: StackMap locals:
StackMap stack:
aload 2
aload 7
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.test:(Ljava/nio/file/Path;)Z
ifeq 16
15: aload 0
aload 7
new org.eclipse.jetty.util.PathWatcher$PathWatchEvent
dup
aload 0
aload 7
aload 5
aload 2
invokespecial org.eclipse.jetty.util.PathWatcher$PathWatchEvent.<init>:(Lorg/eclipse/jetty/util/PathWatcher;Ljava/nio/file/Path;Ljava/nio/file/WatchEvent;Lorg/eclipse/jetty/util/PathWatcher$Config;)V
invokevirtual org.eclipse.jetty.util.PathWatcher.handleWatchEvent:(Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;)V
goto 21
16: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.getRecurseDepth:()I
iconst_m1
if_icmpne 21
17: aload 7
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
astore 8
start local 8 18: aload 2
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.getParent:()Lorg/eclipse/jetty/util/PathWatcher$Config;
astore 9
start local 9 19: aload 0
aload 8
new org.eclipse.jetty.util.PathWatcher$PathWatchEvent
dup
aload 0
aload 8
getstatic org.eclipse.jetty.util.PathWatcher$PathWatchEventType.MODIFIED:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
aload 9
invokespecial org.eclipse.jetty.util.PathWatcher$PathWatchEvent.<init>:(Lorg/eclipse/jetty/util/PathWatcher;Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;Lorg/eclipse/jetty/util/PathWatcher$Config;)V
invokevirtual org.eclipse.jetty.util.PathWatcher.handleWatchEvent:(Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;)V
20: goto 30
end local 9 end local 8 21: StackMap locals:
StackMap stack:
aload 5
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 30
22: invokestatic org.eclipse.jetty.util.PathWatcher.$SWITCH_TABLE$org$eclipse$jetty$util$PathWatcher$DirAction:()[I
aload 2
aload 7
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.handleDir:(Ljava/nio/file/Path;)Lorg/eclipse/jetty/util/PathWatcher$DirAction;
invokevirtual org.eclipse.jetty.util.PathWatcher$DirAction.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 27
2: 25
3: 23
default: 27
}
23: StackMap locals:
StackMap stack:
aload 0
aload 7
aload 2
aload 7
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.asSubConfig:(Ljava/nio/file/Path;)Lorg/eclipse/jetty/util/PathWatcher$Config;
iconst_1
invokevirtual org.eclipse.jetty.util.PathWatcher.registerTree:(Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$Config;Z)V
24: goto 30
25: StackMap locals:
StackMap stack:
aload 0
aload 7
aload 2
invokevirtual org.eclipse.jetty.util.PathWatcher.registerDir:(Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$Config;)V
26: goto 30
27: StackMap locals:
StackMap stack:
goto 30
28: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 29: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 8
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/Throwable;)V
end local 8 end local 7 end local 6 end local 5 end local 3 30: StackMap locals: org.eclipse.jetty.util.PathWatcher java.nio.file.WatchKey org.eclipse.jetty.util.PathWatcher$Config top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
31: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/eclipse/jetty/util/PathWatcher;
0 32 1 key Ljava/nio/file/WatchKey;
1 32 2 config Lorg/eclipse/jetty/util/PathWatcher$Config;
7 30 3 event Ljava/nio/file/WatchEvent<*>;
8 30 5 ev Ljava/nio/file/WatchEvent<Ljava/nio/file/Path;>;
9 30 6 name Ljava/nio/file/Path;
10 30 7 path Ljava/nio/file/Path;
18 21 8 parent Ljava/nio/file/Path;
19 21 9 parentConfig Lorg/eclipse/jetty/util/PathWatcher$Config;
29 30 8 e Ljava/io/IOException;
Exception table:
from to target type
22 27 28 Class java.io.IOException
MethodParameters:
Name Flags
key
public void handleWatchEvent(java.nio.file.Path, org.eclipse.jetty.util.PathWatcher$PathWatchEvent);
descriptor: (Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.jetty.util.PathWatcher.pending:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.eclipse.jetty.util.PathWatcher$PathWatchEvent
astore 3
start local 3 1: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "handleWatchEvent {} {} <= {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 3
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
3: StackMap locals: org.eclipse.jetty.util.PathWatcher$PathWatchEvent
StackMap stack:
invokestatic org.eclipse.jetty.util.PathWatcher.$SWITCH_TABLE$org$eclipse$jetty$util$PathWatcher$PathWatchEventType:()[I
aload 2
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEvent.getType:()Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEventType.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 4
2: 12
3: 8
4: 12
default: 16
}
4: StackMap locals:
StackMap stack:
aload 3
ifnull 6
aload 3
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEvent.getType:()Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
getstatic org.eclipse.jetty.util.PathWatcher$PathWatchEventType.MODIFIED:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
if_acmpne 6
5: aload 0
getfield org.eclipse.jetty.util.PathWatcher.events:Ljava/util/List;
new org.eclipse.jetty.util.PathWatcher$PathWatchEvent
dup
aload 0
aload 1
getstatic org.eclipse.jetty.util.PathWatcher$PathWatchEventType.DELETED:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
aload 3
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEvent.getConfig:()Lorg/eclipse/jetty/util/PathWatcher$Config;
invokespecial org.eclipse.jetty.util.PathWatcher$PathWatchEvent.<init>:(Lorg/eclipse/jetty/util/PathWatcher;Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;Lorg/eclipse/jetty/util/PathWatcher$Config;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.PathWatcher.pending:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: goto 17
8: StackMap locals:
StackMap stack:
aload 3
ifnonnull 10
9: aload 0
getfield org.eclipse.jetty.util.PathWatcher.pending:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
goto 17
10: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEvent.modified:()V
11: goto 17
12: StackMap locals:
StackMap stack:
aload 3
ifnull 14
13: aload 0
getfield org.eclipse.jetty.util.PathWatcher.pending:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
14: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.PathWatcher.events:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
15: goto 17
16: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
aload 2
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEvent.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/eclipse/jetty/util/PathWatcher;
0 18 1 path Ljava/nio/file/Path;
0 18 2 event Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
1 18 3 existing Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
MethodParameters:
Name Flags
path
event
private long processPending();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=10, args_size=1
start local 0 0: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "processPending> {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.eclipse.jetty.util.PathWatcher.pending:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
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 3: ldc 9223372036854775807
lstore 3
start local 3 4: new java.util.ArrayList
dup
aload 0
getfield org.eclipse.jetty.util.PathWatcher.pending:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 6
goto 20
StackMap locals: org.eclipse.jetty.util.PathWatcher long long top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.PathWatcher$PathWatchEvent
astore 5
start local 5 6: aload 5
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEvent.getPath:()Ljava/nio/file/Path;
astore 7
start local 7 7: aload 0
getfield org.eclipse.jetty.util.PathWatcher.pending:Ljava/util/Map;
aload 7
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 9
8: goto 20
9: StackMap locals: org.eclipse.jetty.util.PathWatcher long long org.eclipse.jetty.util.PathWatcher$PathWatchEvent java.util.Iterator java.nio.file.Path
StackMap stack:
aload 5
lload 1
aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher.getUpdateQuietTimeMillis:()J
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEvent.isQuiet:(JJ)Z
ifeq 15
10: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 12
11: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "isQuiet {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.PathWatcher.pending:Ljava/util/Map;
aload 7
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 0
getfield org.eclipse.jetty.util.PathWatcher.events:Ljava/util/List;
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: goto 20
15: StackMap locals:
StackMap stack:
aload 5
lload 1
aload 0
invokevirtual org.eclipse.jetty.util.PathWatcher.getUpdateQuietTimeMillis:()J
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEvent.toQuietCheck:(JJ)J
lstore 8
start local 8 16: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 18
17: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "pending {} {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
lload 8
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
18: StackMap locals: long
StackMap stack:
lload 8
lload 3
lcmp
ifge 20
19: lload 8
lstore 3
end local 8 end local 7 end local 5 20: StackMap locals: org.eclipse.jetty.util.PathWatcher long long top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
21: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 23
22: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "processPending< {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.eclipse.jetty.util.PathWatcher.pending:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
23: StackMap locals: org.eclipse.jetty.util.PathWatcher long long
StackMap stack:
lload 3
ldc 9223372036854775807
lcmp
ifne 24
ldc -1
goto 25
StackMap locals:
StackMap stack:
24: lload 3
StackMap locals:
StackMap stack: long
25: lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/eclipse/jetty/util/PathWatcher;
3 26 1 now J
4 26 3 wait J
6 20 5 event Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
7 20 7 path Ljava/nio/file/Path;
16 20 8 msToCheck J
private void notifyEvents();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=1
start local 0 0: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "notifyEvents {}"
aload 0
getfield org.eclipse.jetty.util.PathWatcher.events:Ljava/util/List;
invokeinterface java.util.List.size:()I
i2l
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;J)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.PathWatcher.events:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 5: aload 0
getfield org.eclipse.jetty.util.PathWatcher.listeners:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 16
StackMap locals: org.eclipse.jetty.util.PathWatcher int top java.util.Iterator
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.EventListener
astore 2
start local 2 7: aload 2
instanceof org.eclipse.jetty.util.PathWatcher$EventListListener
ifeq 15
8: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 10
9: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "notifyEvents {} {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.util.PathWatcher.events:Ljava/util/List;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
10: StackMap locals: org.eclipse.jetty.util.PathWatcher int java.util.EventListener java.util.Iterator
StackMap stack:
aload 2
checkcast org.eclipse.jetty.util.PathWatcher$EventListListener
aload 0
getfield org.eclipse.jetty.util.PathWatcher.events:Ljava/util/List;
invokeinterface org.eclipse.jetty.util.PathWatcher$EventListListener.onPathWatchEvents:(Ljava/util/List;)V
11: goto 16
12: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
start local 4 13: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 4
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/Throwable;)V
end local 4 14: goto 16
15: StackMap locals:
StackMap stack:
iconst_1
istore 1
end local 2 16: StackMap locals: org.eclipse.jetty.util.PathWatcher int top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
17: iload 1
ifeq 31
18: aload 0
getfield org.eclipse.jetty.util.PathWatcher.events:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 30
StackMap locals:
StackMap stack:
19: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.PathWatcher$PathWatchEvent
astore 2
start local 2 20: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 22
21: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "notifyEvent {} {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.util.PathWatcher.listeners:Ljava/util/List;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
22: StackMap locals: org.eclipse.jetty.util.PathWatcher int org.eclipse.jetty.util.PathWatcher$PathWatchEvent java.util.Iterator
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.PathWatcher.listeners:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 29
StackMap locals: org.eclipse.jetty.util.PathWatcher int org.eclipse.jetty.util.PathWatcher$PathWatchEvent java.util.Iterator top java.util.Iterator
StackMap stack:
23: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.EventListener
astore 4
start local 4 24: aload 4
instanceof org.eclipse.jetty.util.PathWatcher$Listener
ifeq 29
25: aload 4
checkcast org.eclipse.jetty.util.PathWatcher$Listener
aload 2
invokeinterface org.eclipse.jetty.util.PathWatcher$Listener.onPathWatchEvent:(Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;)V
26: goto 29
27: StackMap locals: org.eclipse.jetty.util.PathWatcher int org.eclipse.jetty.util.PathWatcher$PathWatchEvent java.util.Iterator java.util.EventListener java.util.Iterator
StackMap stack: java.lang.Throwable
astore 6
start local 6 28: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 6
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/Throwable;)V
end local 6 end local 4 29: StackMap locals: org.eclipse.jetty.util.PathWatcher int org.eclipse.jetty.util.PathWatcher$PathWatchEvent java.util.Iterator top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
end local 2 30: StackMap locals: org.eclipse.jetty.util.PathWatcher int top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 19
31: StackMap locals: org.eclipse.jetty.util.PathWatcher int
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.PathWatcher.events:Ljava/util/List;
invokeinterface java.util.List.clear:()V
32: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/eclipse/jetty/util/PathWatcher;
5 33 1 eventListeners Z
7 16 2 listener Ljava/util/EventListener;
13 14 4 t Ljava/lang/Throwable;
20 30 2 event Lorg/eclipse/jetty/util/PathWatcher$PathWatchEvent;
24 29 4 listener Ljava/util/EventListener;
28 29 6 t Ljava/lang/Throwable;
Exception table:
from to target type
8 11 12 Class java.lang.Throwable
25 26 27 Class java.lang.Throwable
public void setNotifyExistingOnStart(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.eclipse.jetty.util.PathWatcher._notifyExistingOnStart:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/PathWatcher;
0 2 1 notify Z
MethodParameters:
Name Flags
notify
public boolean isNotifyExistingOnStart();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.PathWatcher._notifyExistingOnStart:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/PathWatcher;
public void setUpdateQuietTime(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aload 3
lload 1
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
lstore 4
start local 4 1: aload 0
getfield org.eclipse.jetty.util.PathWatcher.watchService:Ljava/nio/file/WatchService;
ifnull 6
aload 0
getfield org.eclipse.jetty.util.PathWatcher.nativeWatchService:Z
ifne 6
lload 4
ldc 5000
lcmp
ifge 6
2: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Quiet Time is too low for non-native WatchService [{}]: {} < 5000 ms (defaulting to 5000 ms)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.eclipse.jetty.util.PathWatcher.watchService:Ljava/nio/file/WatchService;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
3: aload 0
ldc 5000
putfield org.eclipse.jetty.util.PathWatcher.updateQuietTimeDuration:J
4: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
putfield org.eclipse.jetty.util.PathWatcher.updateQuietTimeUnit:Ljava/util/concurrent/TimeUnit;
5: return
6: StackMap locals: long
StackMap stack:
getstatic org.eclipse.jetty.util.PathWatcher.IS_WINDOWS:Z
ifeq 11
lload 4
ldc 1000
lcmp
ifge 11
7: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Quiet Time is too low for Microsoft Windows: {} < 1000 ms (defaulting to 1000 ms)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
8: aload 0
ldc 1000
putfield org.eclipse.jetty.util.PathWatcher.updateQuietTimeDuration:J
9: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
putfield org.eclipse.jetty.util.PathWatcher.updateQuietTimeUnit:Ljava/util/concurrent/TimeUnit;
10: return
11: StackMap locals:
StackMap stack:
aload 0
lload 1
putfield org.eclipse.jetty.util.PathWatcher.updateQuietTimeDuration:J
12: aload 0
aload 3
putfield org.eclipse.jetty.util.PathWatcher.updateQuietTimeUnit:Ljava/util/concurrent/TimeUnit;
13: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/eclipse/jetty/util/PathWatcher;
0 14 1 duration J
0 14 3 unit Ljava/util/concurrent/TimeUnit;
1 14 4 desiredMillis J
MethodParameters:
Name Flags
duration
unit
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 0
aload 1
invokevirtual org.eclipse.jetty.util.PathWatcher.appendConfigId:(Ljava/lang/StringBuilder;)V
2: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/PathWatcher;
1 3 1 s Ljava/lang/StringBuilder;
static int[] $SWITCH_TABLE$org$eclipse$jetty$util$PathWatcher$DirAction();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.eclipse.jetty.util.PathWatcher.$SWITCH_TABLE$org$eclipse$jetty$util$PathWatcher$DirAction:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.eclipse.jetty.util.PathWatcher$DirAction.values:()[Lorg/eclipse/jetty/util/PathWatcher$DirAction;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.eclipse.jetty.util.PathWatcher$DirAction.ENTER:Lorg/eclipse/jetty/util/PathWatcher$DirAction;
invokevirtual org.eclipse.jetty.util.PathWatcher$DirAction.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.eclipse.jetty.util.PathWatcher$DirAction.IGNORE:Lorg/eclipse/jetty/util/PathWatcher$DirAction;
invokevirtual org.eclipse.jetty.util.PathWatcher$DirAction.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.eclipse.jetty.util.PathWatcher$DirAction.WATCH:Lorg/eclipse/jetty/util/PathWatcher$DirAction;
invokevirtual org.eclipse.jetty.util.PathWatcher$DirAction.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic org.eclipse.jetty.util.PathWatcher.$SWITCH_TABLE$org$eclipse$jetty$util$PathWatcher$DirAction:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
static int[] $SWITCH_TABLE$org$eclipse$jetty$util$PathWatcher$PathWatchEventType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.eclipse.jetty.util.PathWatcher.$SWITCH_TABLE$org$eclipse$jetty$util$PathWatcher$PathWatchEventType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.eclipse.jetty.util.PathWatcher$PathWatchEventType.values:()[Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.eclipse.jetty.util.PathWatcher$PathWatchEventType.ADDED:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEventType.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.eclipse.jetty.util.PathWatcher$PathWatchEventType.DELETED:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEventType.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.eclipse.jetty.util.PathWatcher$PathWatchEventType.MODIFIED:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEventType.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.eclipse.jetty.util.PathWatcher$PathWatchEventType.UNKNOWN:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
invokevirtual org.eclipse.jetty.util.PathWatcher$PathWatchEventType.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.eclipse.jetty.util.PathWatcher.$SWITCH_TABLE$org$eclipse$jetty$util$PathWatcher$PathWatchEventType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
private void lambda$0(boolean, org.eclipse.jetty.util.PathWatcher$Config, org.eclipse.jetty.util.MultiException, java.nio.file.Path);
descriptor: (ZLorg/eclipse/jetty/util/PathWatcher$Config;Lorg/eclipse/jetty/util/MultiException;Ljava/nio/file/Path;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=6, args_size=5
start local 0 start local 4 0: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.util.PathWatcher.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "registerTree? {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
iload 1
ifeq 4
aload 2
aload 4
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.test:(Ljava/nio/file/Path;)Z
ifeq 4
3: aload 0
getfield org.eclipse.jetty.util.PathWatcher.pending:Ljava/util/Map;
aload 4
new org.eclipse.jetty.util.PathWatcher$PathWatchEvent
dup
aload 0
aload 4
getstatic org.eclipse.jetty.util.PathWatcher$PathWatchEventType.ADDED:Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;
aload 2
invokespecial org.eclipse.jetty.util.PathWatcher$PathWatchEvent.<init>:(Lorg/eclipse/jetty/util/PathWatcher;Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$PathWatchEventType;Lorg/eclipse/jetty/util/PathWatcher$Config;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals:
StackMap stack:
invokestatic org.eclipse.jetty.util.PathWatcher.$SWITCH_TABLE$org$eclipse$jetty$util$PathWatcher$DirAction:()[I
aload 2
aload 4
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.handleDir:(Ljava/nio/file/Path;)Lorg/eclipse/jetty/util/PathWatcher$DirAction;
invokevirtual org.eclipse.jetty.util.PathWatcher$DirAction.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 9
2: 7
3: 5
default: 9
}
5: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 2
aload 4
invokevirtual org.eclipse.jetty.util.PathWatcher$Config.asSubConfig:(Ljava/nio/file/Path;)Lorg/eclipse/jetty/util/PathWatcher$Config;
iload 1
invokevirtual org.eclipse.jetty.util.PathWatcher.registerTree:(Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$Config;Z)V
6: goto 12
7: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 2
invokevirtual org.eclipse.jetty.util.PathWatcher.registerDir:(Ljava/nio/file/Path;Lorg/eclipse/jetty/util/PathWatcher$Config;)V
8: goto 12
9: StackMap locals:
StackMap stack:
goto 12
10: StackMap locals:
StackMap stack: java.io.IOException
astore 5
start local 5 11: aload 3
aload 5
invokevirtual org.eclipse.jetty.util.MultiException.add:(Ljava/lang/Throwable;)V
end local 5 12: StackMap locals:
StackMap stack:
return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jetty/util/PathWatcher;
0 13 4 p Ljava/nio/file/Path;
11 12 5 e Ljava/io/IOException;
Exception table:
from to target type
2 9 10 Class java.io.IOException
}
SourceFile: "PathWatcher.java"
NestMembers:
org.eclipse.jetty.util.PathWatcher$Config org.eclipse.jetty.util.PathWatcher$DirAction org.eclipse.jetty.util.PathWatcher$EventListListener org.eclipse.jetty.util.PathWatcher$ExactPathMatcher org.eclipse.jetty.util.PathWatcher$Listener org.eclipse.jetty.util.PathWatcher$PathMatcherSet org.eclipse.jetty.util.PathWatcher$PathWatchEvent org.eclipse.jetty.util.PathWatcher$PathWatchEventType
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Kind = java.nio.file.WatchEvent$Kind of java.nio.file.WatchEvent
public abstract Modifier = java.nio.file.WatchEvent$Modifier of java.nio.file.WatchEvent
public abstract Entry = java.util.Map$Entry of java.util.Map
public Config = org.eclipse.jetty.util.PathWatcher$Config of org.eclipse.jetty.util.PathWatcher
public final DirAction = org.eclipse.jetty.util.PathWatcher$DirAction of org.eclipse.jetty.util.PathWatcher
public abstract EventListListener = org.eclipse.jetty.util.PathWatcher$EventListListener of org.eclipse.jetty.util.PathWatcher
private ExactPathMatcher = org.eclipse.jetty.util.PathWatcher$ExactPathMatcher of org.eclipse.jetty.util.PathWatcher
public abstract Listener = org.eclipse.jetty.util.PathWatcher$Listener of org.eclipse.jetty.util.PathWatcher
public PathMatcherSet = org.eclipse.jetty.util.PathWatcher$PathMatcherSet 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