public class org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher
super_class: java.lang.Object
{
private final org.springframework.boot.devtools.filewatch.FileSystemWatcher fileSystemWatcher;
descriptor: Lorg/springframework/boot/devtools/filewatch/FileSystemWatcher;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.springframework.boot.devtools.classpath.ClassPathRestartStrategy restartStrategy;
descriptor: Lorg/springframework/boot/devtools/classpath/ClassPathRestartStrategy;
flags: (0x0002) ACC_PRIVATE
private org.springframework.context.ApplicationContext applicationContext;
descriptor: Lorg/springframework/context/ApplicationContext;
flags: (0x0002) ACC_PRIVATE
private boolean stopWatcherOnRestart;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(org.springframework.boot.devtools.filewatch.FileSystemWatcherFactory, org.springframework.boot.devtools.classpath.ClassPathRestartStrategy, java.net.URL[]);
descriptor: (Lorg/springframework/boot/devtools/filewatch/FileSystemWatcherFactory;Lorg/springframework/boot/devtools/classpath/ClassPathRestartStrategy;[Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "FileSystemWatcherFactory must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 3
ldc "Urls must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 0
aload 1
invokeinterface org.springframework.boot.devtools.filewatch.FileSystemWatcherFactory.getFileSystemWatcher:()Lorg/springframework/boot/devtools/filewatch/FileSystemWatcher;
putfield org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher.fileSystemWatcher:Lorg/springframework/boot/devtools/filewatch/FileSystemWatcher;
4: aload 0
aload 2
putfield org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher.restartStrategy:Lorg/springframework/boot/devtools/classpath/ClassPathRestartStrategy;
5: aload 0
getfield org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher.fileSystemWatcher:Lorg/springframework/boot/devtools/filewatch/FileSystemWatcher;
new org.springframework.boot.devtools.classpath.ClassPathDirectories
dup
aload 3
invokespecial org.springframework.boot.devtools.classpath.ClassPathDirectories.<init>:([Ljava/net/URL;)V
invokevirtual org.springframework.boot.devtools.filewatch.FileSystemWatcher.addSourceDirectories:(Ljava/lang/Iterable;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/devtools/classpath/ClassPathFileSystemWatcher;
0 7 1 fileSystemWatcherFactory Lorg/springframework/boot/devtools/filewatch/FileSystemWatcherFactory;
0 7 2 restartStrategy Lorg/springframework/boot/devtools/classpath/ClassPathRestartStrategy;
0 7 3 urls [Ljava/net/URL;
MethodParameters:
Name Flags
fileSystemWatcherFactory
restartStrategy
urls
public void setStopWatcherOnRestart(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.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher.stopWatcherOnRestart:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/devtools/classpath/ClassPathFileSystemWatcher;
0 2 1 stopWatcherOnRestart Z
MethodParameters:
Name Flags
stopWatcherOnRestart
public void setApplicationContext(org.springframework.context.ApplicationContext);
descriptor: (Lorg/springframework/context/ApplicationContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher.applicationContext:Lorg/springframework/context/ApplicationContext;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/devtools/classpath/ClassPathFileSystemWatcher;
0 2 1 applicationContext Lorg/springframework/context/ApplicationContext;
Exceptions:
throws org.springframework.beans.BeansException
MethodParameters:
Name Flags
applicationContext
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher.restartStrategy:Lorg/springframework/boot/devtools/classpath/ClassPathRestartStrategy;
ifnull 7
1: aconst_null
astore 1
start local 1 2: aload 0
getfield org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher.stopWatcherOnRestart:Z
ifeq 4
3: aload 0
getfield org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher.fileSystemWatcher:Lorg/springframework/boot/devtools/filewatch/FileSystemWatcher;
astore 1
4: StackMap locals: org.springframework.boot.devtools.filewatch.FileSystemWatcher
StackMap stack:
aload 0
getfield org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher.fileSystemWatcher:Lorg/springframework/boot/devtools/filewatch/FileSystemWatcher;
5: new org.springframework.boot.devtools.classpath.ClassPathFileChangeListener
dup
aload 0
getfield org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher.applicationContext:Lorg/springframework/context/ApplicationContext;
aload 0
getfield org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher.restartStrategy:Lorg/springframework/boot/devtools/classpath/ClassPathRestartStrategy;
aload 1
invokespecial org.springframework.boot.devtools.classpath.ClassPathFileChangeListener.<init>:(Lorg/springframework/context/ApplicationEventPublisher;Lorg/springframework/boot/devtools/classpath/ClassPathRestartStrategy;Lorg/springframework/boot/devtools/filewatch/FileSystemWatcher;)V
6: invokevirtual org.springframework.boot.devtools.filewatch.FileSystemWatcher.addListener:(Lorg/springframework/boot/devtools/filewatch/FileChangeListener;)V
end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher.fileSystemWatcher:Lorg/springframework/boot/devtools/filewatch/FileSystemWatcher;
invokevirtual org.springframework.boot.devtools.filewatch.FileSystemWatcher.start:()V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/boot/devtools/classpath/ClassPathFileSystemWatcher;
2 7 1 watcherToStop Lorg/springframework/boot/devtools/filewatch/FileSystemWatcher;
Exceptions:
throws java.lang.Exception
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher.fileSystemWatcher:Lorg/springframework/boot/devtools/filewatch/FileSystemWatcher;
invokevirtual org.springframework.boot.devtools.filewatch.FileSystemWatcher.stop:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/devtools/classpath/ClassPathFileSystemWatcher;
Exceptions:
throws java.lang.Exception
}
SourceFile: "ClassPathFileSystemWatcher.java"