final class jdk.jfr.internal.tool.Help extends jdk.jfr.internal.tool.Command
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.jfr.internal.tool.Help
  super_class: jdk.jfr.internal.tool.Command
{
  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.tool.Help this
         0: .line 33
            aload 0 /* this */
            invokespecial jdk.jfr.internal.tool.Command.<init>:()V
            return
        end local 0 // jdk.jfr.internal.tool.Help this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/tool/Help;

  public java.lang.String getName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.tool.Help this
         0: .line 37
            ldc "help"
            areturn
        end local 0 // jdk.jfr.internal.tool.Help this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/tool/Help;

  public java.util.List<java.lang.String> getOptionSyntax();
    descriptor: ()Ljava/util/List;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.tool.Help this
         0: .line 42
            ldc "[<command>]"
            invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
            areturn
        end local 0 // jdk.jfr.internal.tool.Help this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/tool/Help;
    Signature: ()Ljava/util/List<Ljava/lang/String;>;

  protected java.util.List<java.lang.String> getAliases();
    descriptor: ()Ljava/util/List;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.tool.Help this
         0: .line 46
            ldc "--help"
            ldc "-h"
            ldc "-?"
            invokestatic java.util.List.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/List;
            areturn
        end local 0 // jdk.jfr.internal.tool.Help this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/tool/Help;
    Signature: ()Ljava/util/List<Ljava/lang/String;>;

  public void displayOptionUsage(java.io.PrintStream);
    descriptor: (Ljava/io/PrintStream;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.tool.Help this
        start local 1 // java.io.PrintStream stream
         0: .line 51
            aload 0 /* this */
            ldc "  <command>   The name of the command to get help for"
            invokevirtual jdk.jfr.internal.tool.Help.println:(Ljava/lang/String;)V
         1: .line 52
            return
        end local 1 // java.io.PrintStream stream
        end local 0 // jdk.jfr.internal.tool.Help this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Ljdk/jfr/internal/tool/Help;
            0    2     1  stream  Ljava/io/PrintStream;
    MethodParameters:
        Name  Flags
      stream  

  public java.lang.String getDescription();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.tool.Help this
         0: .line 56
            ldc "Display all available commands, or help about a specific command"
            areturn
        end local 0 // jdk.jfr.internal.tool.Help this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/tool/Help;

  public void execute(java.util.Deque<java.lang.String>);
    descriptor: (Ljava/util/Deque;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // jdk.jfr.internal.tool.Help this
        start local 1 // java.util.Deque options
         0: .line 61
            aload 1 /* options */
            invokeinterface java.util.Deque.isEmpty:()Z
            ifeq 3
         1: .line 62
            invokestatic jdk.jfr.internal.tool.Command.displayHelp:()V
         2: .line 63
            return
         3: .line 65
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* options */
            iconst_1
            invokevirtual jdk.jfr.internal.tool.Help.ensureMaxArgumentCount:(Ljava/util/Deque;I)V
         4: .line 66
            aload 1 /* options */
            invokeinterface java.util.Deque.remove:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 2 /* commandName */
        start local 2 // java.lang.String commandName
         5: .line 67
            aload 2 /* commandName */
            invokestatic jdk.jfr.internal.tool.Command.valueOf:(Ljava/lang/String;)Ljdk/jfr/internal/tool/Command;
            astore 3 /* c */
        start local 3 // jdk.jfr.internal.tool.Command c
         6: .line 68
            aload 3 /* c */
            ifnonnull 8
         7: .line 69
            new jdk.jfr.internal.tool.UserDataException
            dup
            new java.lang.StringBuilder
            dup
            ldc "unknown command '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* commandName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "'"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial jdk.jfr.internal.tool.UserDataException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 71
      StackMap locals: java.lang.String jdk.jfr.internal.tool.Command
      StackMap stack:
            aload 0 /* this */
            aload 3 /* c */
            invokevirtual jdk.jfr.internal.tool.Command.getTitle:()Ljava/lang/String;
            invokevirtual jdk.jfr.internal.tool.Help.println:(Ljava/lang/String;)V
         9: .line 72
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.Help.println:()V
        10: .line 73
            aload 3 /* c */
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            invokevirtual jdk.jfr.internal.tool.Command.displayUsage:(Ljava/io/PrintStream;)V
        11: .line 74
            return
        end local 3 // jdk.jfr.internal.tool.Command c
        end local 2 // java.lang.String commandName
        end local 1 // java.util.Deque options
        end local 0 // jdk.jfr.internal.tool.Help this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   12     0         this  Ljdk/jfr/internal/tool/Help;
            0   12     1      options  Ljava/util/Deque<Ljava/lang/String;>;
            5   12     2  commandName  Ljava/lang/String;
            6   12     3            c  Ljdk/jfr/internal/tool/Command;
    Exceptions:
      throws jdk.jfr.internal.tool.UserSyntaxException, jdk.jfr.internal.tool.UserDataException
    Signature: (Ljava/util/Deque<Ljava/lang/String;>;)V
    MethodParameters:
         Name  Flags
      options  
}
SourceFile: "Help.java"