public class org.springframework.boot.devtools.restart.DefaultRestartInitializer implements org.springframework.boot.devtools.restart.RestartInitializer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.devtools.restart.DefaultRestartInitializer
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/restart/DefaultRestartInitializer;
public java.net.URL[] getInitialUrls(java.lang.Thread);
descriptor: (Ljava/lang/Thread;)[Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.boot.devtools.restart.DefaultRestartInitializer.isMain:(Ljava/lang/Thread;)Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic org.springframework.boot.devtools.system.DevToolsEnablementDeducer.shouldEnable:(Ljava/lang/Thread;)Z
ifne 4
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.springframework.boot.devtools.restart.DefaultRestartInitializer.getUrls:(Ljava/lang/Thread;)[Ljava/net/URL;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/devtools/restart/DefaultRestartInitializer;
0 5 1 thread Ljava/lang/Thread;
MethodParameters:
Name Flags
thread
protected boolean isMain(java.lang.Thread);
descriptor: (Ljava/lang/Thread;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.boot.devtools.restart.DefaultRestartInitializer.isMainThread:(Ljava/lang/Thread;)Z
ifeq 1
aload 0
aload 1
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
invokevirtual org.springframework.boot.devtools.restart.DefaultRestartInitializer.isDevelopmentClassLoader:(Ljava/lang/ClassLoader;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/devtools/restart/DefaultRestartInitializer;
0 2 1 thread Ljava/lang/Thread;
MethodParameters:
Name Flags
thread
protected boolean isMainThread(java.lang.Thread);
descriptor: (Ljava/lang/Thread;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
ldc "main"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/restart/DefaultRestartInitializer;
0 1 1 thread Ljava/lang/Thread;
MethodParameters:
Name Flags
thread
protected boolean isDevelopmentClassLoader(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
ldc "AppClassLoader"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/restart/DefaultRestartInitializer;
0 1 1 classLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
classLoader
protected java.net.URL[] getUrls(java.lang.Thread);
descriptor: (Ljava/lang/Thread;)[Ljava/net/URL;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
invokestatic org.springframework.boot.devtools.restart.ChangeableUrls.fromClassLoader:(Ljava/lang/ClassLoader;)Lorg/springframework/boot/devtools/restart/ChangeableUrls;
invokevirtual org.springframework.boot.devtools.restart.ChangeableUrls.toArray:()[Ljava/net/URL;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/restart/DefaultRestartInitializer;
0 1 1 thread Ljava/lang/Thread;
MethodParameters:
Name Flags
thread
}
SourceFile: "DefaultRestartInitializer.java"