class org.springframework.boot.devtools.restart.MainMethod
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.springframework.boot.devtools.restart.MainMethod
  super_class: java.lang.Object
{
  private final java.lang.reflect.Method method;
    descriptor: Ljava/lang/reflect/Method;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.springframework.boot.devtools.restart.MainMethod this
         0: .line 34
            aload 0 /* this */
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokespecial org.springframework.boot.devtools.restart.MainMethod.<init>:(Ljava/lang/Thread;)V
         1: .line 35
            return
        end local 0 // org.springframework.boot.devtools.restart.MainMethod this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/springframework/boot/devtools/restart/MainMethod;

  void <init>(java.lang.Thread);
    descriptor: (Ljava/lang/Thread;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.springframework.boot.devtools.restart.MainMethod this
        start local 1 // java.lang.Thread thread
         0: .line 37
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 38
            aload 1 /* thread */
            ldc "Thread must not be null"
            invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
         2: .line 39
            aload 0 /* this */
            aload 0 /* this */
            aload 1 /* thread */
            invokevirtual org.springframework.boot.devtools.restart.MainMethod.getMainMethod:(Ljava/lang/Thread;)Ljava/lang/reflect/Method;
            putfield org.springframework.boot.devtools.restart.MainMethod.method:Ljava/lang/reflect/Method;
         3: .line 40
            return
        end local 1 // java.lang.Thread thread
        end local 0 // org.springframework.boot.devtools.restart.MainMethod this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lorg/springframework/boot/devtools/restart/MainMethod;
            0    4     1  thread  Ljava/lang/Thread;
    MethodParameters:
        Name  Flags
      thread  

  private java.lang.reflect.Method getMainMethod(java.lang.Thread);
    descriptor: (Ljava/lang/Thread;)Ljava/lang/reflect/Method;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=7, args_size=2
        start local 0 // org.springframework.boot.devtools.restart.MainMethod this
        start local 1 // java.lang.Thread thread
         0: .line 43
            aload 1 /* thread */
            invokevirtual java.lang.Thread.getStackTrace:()[Ljava/lang/StackTraceElement;
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 7
      StackMap locals: org.springframework.boot.devtools.restart.MainMethod java.lang.Thread top int int java.lang.StackTraceElement[]
      StackMap stack:
         1: aload 5
            iload 3
            aaload
            astore 2 /* element */
        start local 2 // java.lang.StackTraceElement element
         2: .line 44
            ldc "main"
            aload 2 /* element */
            invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 6
         3: .line 45
            aload 0 /* this */
            aload 2 /* element */
            invokevirtual org.springframework.boot.devtools.restart.MainMethod.getMainMethod:(Ljava/lang/StackTraceElement;)Ljava/lang/reflect/Method;
            astore 6 /* method */
        start local 6 // java.lang.reflect.Method method
         4: .line 46
            aload 6 /* method */
            ifnull 6
         5: .line 47
            aload 6 /* method */
            areturn
        end local 6 // java.lang.reflect.Method method
        end local 2 // java.lang.StackTraceElement element
         6: .line 43
      StackMap locals:
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
         7: iload 3
            iload 4
            if_icmplt 1
         8: .line 51
            new java.lang.IllegalStateException
            dup
            ldc "Unable to find main method"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.lang.Thread thread
        end local 0 // org.springframework.boot.devtools.restart.MainMethod this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    9     0     this  Lorg/springframework/boot/devtools/restart/MainMethod;
            0    9     1   thread  Ljava/lang/Thread;
            2    6     2  element  Ljava/lang/StackTraceElement;
            4    6     6   method  Ljava/lang/reflect/Method;
    MethodParameters:
        Name  Flags
      thread  

  private java.lang.reflect.Method getMainMethod(java.lang.StackTraceElement);
    descriptor: (Ljava/lang/StackTraceElement;)Ljava/lang/reflect/Method;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=4, args_size=2
        start local 0 // org.springframework.boot.devtools.restart.MainMethod this
        start local 1 // java.lang.StackTraceElement element
         0: .line 56
            aload 1 /* element */
            invokevirtual java.lang.StackTraceElement.getClassName:()Ljava/lang/String;
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
            astore 2 /* elementClass */
        start local 2 // java.lang.Class elementClass
         1: .line 57
            aload 2 /* elementClass */
            ldc "main"
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc [Ljava/lang/String;
            aastore
            invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            astore 3 /* method */
        start local 3 // java.lang.reflect.Method method
         2: .line 58
            aload 3 /* method */
            invokevirtual java.lang.reflect.Method.getModifiers:()I
            invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
            ifeq 6
         3: .line 59
            aload 3 /* method */
         4: areturn
        end local 3 // java.lang.reflect.Method method
        end local 2 // java.lang.Class elementClass
         5: .line 62
      StackMap locals:
      StackMap stack: java.lang.Exception
            pop
         6: .line 65
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 1 // java.lang.StackTraceElement element
        end local 0 // org.springframework.boot.devtools.restart.MainMethod this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    7     0          this  Lorg/springframework/boot/devtools/restart/MainMethod;
            0    7     1       element  Ljava/lang/StackTraceElement;
            1    5     2  elementClass  Ljava/lang/Class<*>;
            2    5     3        method  Ljava/lang/reflect/Method;
      Exception table:
        from    to  target  type
           0     4       5  Class java.lang.Exception
    MethodParameters:
         Name  Flags
      element  

  java.lang.reflect.Method getMethod();
    descriptor: ()Ljava/lang/reflect/Method;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.springframework.boot.devtools.restart.MainMethod this
         0: .line 73
            aload 0 /* this */
            getfield org.springframework.boot.devtools.restart.MainMethod.method:Ljava/lang/reflect/Method;
            areturn
        end local 0 // org.springframework.boot.devtools.restart.MainMethod this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/springframework/boot/devtools/restart/MainMethod;

  java.lang.String getDeclaringClassName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.springframework.boot.devtools.restart.MainMethod this
         0: .line 81
            aload 0 /* this */
            getfield org.springframework.boot.devtools.restart.MainMethod.method:Ljava/lang/reflect/Method;
            invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            areturn
        end local 0 // org.springframework.boot.devtools.restart.MainMethod this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/springframework/boot/devtools/restart/MainMethod;
}
SourceFile: "MainMethod.java"