class org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartConfiguration
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartConfiguration
super_class: java.lang.Object
{
private final org.springframework.boot.devtools.autoconfigure.DevToolsProperties properties;
descriptor: Lorg/springframework/boot/devtools/autoconfigure/DevToolsProperties;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(org.springframework.boot.devtools.autoconfigure.DevToolsProperties);
descriptor: (Lorg/springframework/boot/devtools/autoconfigure/DevToolsProperties;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartConfiguration.properties:Lorg/springframework/boot/devtools/autoconfigure/DevToolsProperties;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration$RestartConfiguration;
0 3 1 properties Lorg/springframework/boot/devtools/autoconfigure/DevToolsProperties;
MethodParameters:
Name Flags
properties
org.springframework.context.ApplicationListener<org.springframework.boot.devtools.classpath.ClassPathChangedEvent> restartingClassPathChangedEventListener(org.springframework.boot.devtools.filewatch.FileSystemWatcherFactory);
descriptor: (Lorg/springframework/boot/devtools/filewatch/FileSystemWatcherFactory;)Lorg/springframework/context/ApplicationListener;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic onApplicationEvent(Lorg/springframework/boot/devtools/filewatch/FileSystemWatcherFactory;)Lorg/springframework/context/ApplicationListener;
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:
(Lorg/springframework/context/ApplicationEvent;)V
org/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration$RestartConfiguration.lambda$0(Lorg/springframework/boot/devtools/filewatch/FileSystemWatcherFactory;Lorg/springframework/boot/devtools/classpath/ClassPathChangedEvent;)V (6)
(Lorg/springframework/boot/devtools/classpath/ClassPathChangedEvent;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration$RestartConfiguration;
0 1 1 fileSystemWatcherFactory Lorg/springframework/boot/devtools/filewatch/FileSystemWatcherFactory;
Signature: (Lorg/springframework/boot/devtools/filewatch/FileSystemWatcherFactory;)Lorg/springframework/context/ApplicationListener<Lorg/springframework/boot/devtools/classpath/ClassPathChangedEvent;>;
RuntimeVisibleAnnotations:
org.springframework.context.annotation.Bean()
MethodParameters:
Name Flags
fileSystemWatcherFactory
org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher classPathFileSystemWatcher(org.springframework.boot.devtools.filewatch.FileSystemWatcherFactory, org.springframework.boot.devtools.classpath.ClassPathRestartStrategy);
descriptor: (Lorg/springframework/boot/devtools/filewatch/FileSystemWatcherFactory;Lorg/springframework/boot/devtools/classpath/ClassPathRestartStrategy;)Lorg/springframework/boot/devtools/classpath/ClassPathFileSystemWatcher;
flags: (0x0000)
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.springframework.boot.devtools.restart.Restarter.getInstance:()Lorg/springframework/boot/devtools/restart/Restarter;
invokevirtual org.springframework.boot.devtools.restart.Restarter.getInitialUrls:()[Ljava/net/URL;
astore 3
start local 3 1: new org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher
dup
aload 1
2: aload 2
aload 3
3: invokespecial org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher.<init>:(Lorg/springframework/boot/devtools/filewatch/FileSystemWatcherFactory;Lorg/springframework/boot/devtools/classpath/ClassPathRestartStrategy;[Ljava/net/URL;)V
astore 4
start local 4 4: aload 4
iconst_1
invokevirtual org.springframework.boot.devtools.classpath.ClassPathFileSystemWatcher.setStopWatcherOnRestart:(Z)V
5: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration$RestartConfiguration;
0 6 1 fileSystemWatcherFactory Lorg/springframework/boot/devtools/filewatch/FileSystemWatcherFactory;
0 6 2 classPathRestartStrategy Lorg/springframework/boot/devtools/classpath/ClassPathRestartStrategy;
1 6 3 urls [Ljava/net/URL;
4 6 4 watcher Lorg/springframework/boot/devtools/classpath/ClassPathFileSystemWatcher;
RuntimeVisibleAnnotations:
org.springframework.context.annotation.Bean()
org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean()
MethodParameters:
Name Flags
fileSystemWatcherFactory
classPathRestartStrategy
org.springframework.boot.devtools.classpath.ClassPathRestartStrategy classPathRestartStrategy();
descriptor: ()Lorg/springframework/boot/devtools/classpath/ClassPathRestartStrategy;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.springframework.boot.devtools.classpath.PatternClassPathRestartStrategy
dup
aload 0
getfield org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartConfiguration.properties:Lorg/springframework/boot/devtools/autoconfigure/DevToolsProperties;
invokevirtual org.springframework.boot.devtools.autoconfigure.DevToolsProperties.getRestart:()Lorg/springframework/boot/devtools/autoconfigure/DevToolsProperties$Restart;
invokevirtual org.springframework.boot.devtools.autoconfigure.DevToolsProperties$Restart.getAllExclude:()[Ljava/lang/String;
invokespecial org.springframework.boot.devtools.classpath.PatternClassPathRestartStrategy.<init>:([Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration$RestartConfiguration;
RuntimeVisibleAnnotations:
org.springframework.context.annotation.Bean()
org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean()
org.springframework.boot.devtools.filewatch.FileSystemWatcherFactory fileSystemWatcherFactory();
descriptor: ()Lorg/springframework/boot/devtools/filewatch/FileSystemWatcherFactory;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic getFileSystemWatcher(Lorg/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration$RestartConfiguration;)Lorg/springframework/boot/devtools/filewatch/FileSystemWatcherFactory;
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:
()Lorg/springframework/boot/devtools/filewatch/FileSystemWatcher;
org/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration$RestartConfiguration.newFileSystemWatcher()Lorg/springframework/boot/devtools/filewatch/FileSystemWatcher; (7)
()Lorg/springframework/boot/devtools/filewatch/FileSystemWatcher;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration$RestartConfiguration;
RuntimeVisibleAnnotations:
org.springframework.context.annotation.Bean()
org.springframework.boot.devtools.autoconfigure.ConditionEvaluationDeltaLoggingListener conditionEvaluationDeltaLoggingListener();
descriptor: ()Lorg/springframework/boot/devtools/autoconfigure/ConditionEvaluationDeltaLoggingListener;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: new org.springframework.boot.devtools.autoconfigure.ConditionEvaluationDeltaLoggingListener
dup
invokespecial org.springframework.boot.devtools.autoconfigure.ConditionEvaluationDeltaLoggingListener.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration$RestartConfiguration;
RuntimeVisibleAnnotations:
org.springframework.context.annotation.Bean()
org.springframework.boot.autoconfigure.condition.ConditionalOnProperty(prefix = "spring.devtools.restart", name = {"log-condition-evaluation-delta"}, matchIfMissing = true)
private org.springframework.boot.devtools.filewatch.FileSystemWatcher newFileSystemWatcher();
descriptor: ()Lorg/springframework/boot/devtools/filewatch/FileSystemWatcher;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartConfiguration.properties:Lorg/springframework/boot/devtools/autoconfigure/DevToolsProperties;
invokevirtual org.springframework.boot.devtools.autoconfigure.DevToolsProperties.getRestart:()Lorg/springframework/boot/devtools/autoconfigure/DevToolsProperties$Restart;
astore 1
start local 1 1: new org.springframework.boot.devtools.filewatch.FileSystemWatcher
dup
iconst_1
aload 1
invokevirtual org.springframework.boot.devtools.autoconfigure.DevToolsProperties$Restart.getPollInterval:()Ljava/time/Duration;
2: aload 1
invokevirtual org.springframework.boot.devtools.autoconfigure.DevToolsProperties$Restart.getQuietPeriod:()Ljava/time/Duration;
3: invokespecial org.springframework.boot.devtools.filewatch.FileSystemWatcher.<init>:(ZLjava/time/Duration;Ljava/time/Duration;)V
astore 2
start local 2 4: aload 1
invokevirtual org.springframework.boot.devtools.autoconfigure.DevToolsProperties$Restart.getTriggerFile:()Ljava/lang/String;
astore 3
start local 3 5: aload 3
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifeq 7
6: aload 2
new org.springframework.boot.devtools.autoconfigure.TriggerFileFilter
dup
aload 3
invokespecial org.springframework.boot.devtools.autoconfigure.TriggerFileFilter.<init>:(Ljava/lang/String;)V
invokevirtual org.springframework.boot.devtools.filewatch.FileSystemWatcher.setTriggerFilter:(Ljava/io/FileFilter;)V
7: StackMap locals: org.springframework.boot.devtools.autoconfigure.DevToolsProperties$Restart org.springframework.boot.devtools.filewatch.FileSystemWatcher java.lang.String
StackMap stack:
aload 1
invokevirtual org.springframework.boot.devtools.autoconfigure.DevToolsProperties$Restart.getAdditionalPaths:()Ljava/util/List;
astore 4
start local 4 8: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 11
StackMap locals: org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartConfiguration org.springframework.boot.devtools.autoconfigure.DevToolsProperties$Restart org.springframework.boot.devtools.filewatch.FileSystemWatcher java.lang.String java.util.List top java.util.Iterator
StackMap stack:
9: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.io.File
astore 5
start local 5 10: aload 2
aload 5
invokevirtual java.io.File.getAbsoluteFile:()Ljava/io/File;
invokevirtual org.springframework.boot.devtools.filewatch.FileSystemWatcher.addSourceDirectory:(Ljava/io/File;)V
end local 5 11: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration$RestartConfiguration;
1 13 1 restartProperties Lorg/springframework/boot/devtools/autoconfigure/DevToolsProperties$Restart;
4 13 2 watcher Lorg/springframework/boot/devtools/filewatch/FileSystemWatcher;
5 13 3 triggerFile Ljava/lang/String;
8 13 4 additionalPaths Ljava/util/List<Ljava/io/File;>;
10 11 5 path Ljava/io/File;
private static void lambda$0(org.springframework.boot.devtools.filewatch.FileSystemWatcherFactory, org.springframework.boot.devtools.classpath.ClassPathChangedEvent);
descriptor: (Lorg/springframework/boot/devtools/filewatch/FileSystemWatcherFactory;Lorg/springframework/boot/devtools/classpath/ClassPathChangedEvent;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: aload 1
invokevirtual org.springframework.boot.devtools.classpath.ClassPathChangedEvent.isRestartRequired:()Z
ifeq 2
1: invokestatic org.springframework.boot.devtools.restart.Restarter.getInstance:()Lorg/springframework/boot/devtools/restart/Restarter;
new org.springframework.boot.devtools.autoconfigure.FileWatchingFailureHandler
dup
aload 0
invokespecial org.springframework.boot.devtools.autoconfigure.FileWatchingFailureHandler.<init>:(Lorg/springframework/boot/devtools/filewatch/FileSystemWatcherFactory;)V
invokevirtual org.springframework.boot.devtools.restart.Restarter.restart:(Lorg/springframework/boot/devtools/restart/FailureHandler;)V
2: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 event Lorg/springframework/boot/devtools/classpath/ClassPathChangedEvent;
}
SourceFile: "LocalDevToolsAutoConfiguration.java"
NestHost: org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Restart = org.springframework.boot.devtools.autoconfigure.DevToolsProperties$Restart of org.springframework.boot.devtools.autoconfigure.DevToolsProperties
RestartConfiguration = org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartConfiguration of org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration
RuntimeVisibleAnnotations:
org.springframework.context.annotation.Lazy(value = false)
org.springframework.context.annotation.Configuration(proxyBeanMethods = false)
org.springframework.boot.autoconfigure.condition.ConditionalOnProperty(prefix = "spring.devtools.restart", name = {"enabled"}, matchIfMissing = true)