class jdk.internal.jshell.tool.JShellTool$ArgToSnippets<T extends jdk.jshell.Snippet>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.internal.jshell.tool.JShellTool$ArgToSnippets
  super_class: java.lang.Object
{
  final java.util.function.Supplier<java.util.stream.Stream<T>> snippetSupplier;
    descriptor: Ljava/util/function/Supplier;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/util/function/Supplier<Ljava/util/stream/Stream<TT;>;>;

  java.util.List<T> allSnippets;
    descriptor: Ljava/util/List;
    flags: (0x0000) 
    Signature: Ljava/util/List<TT;>;

  java.lang.String[] allIds;
    descriptor: [Ljava/lang/String;
    flags: (0x0000) 

  final jdk.internal.jshell.tool.JShellTool this$0;
    descriptor: Ljdk/internal/jshell/tool/JShellTool;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  void <init>(java.util.function.Supplier<java.util.stream.Stream<T>>);
    descriptor: (Ljdk/internal/jshell/tool/JShellTool;Ljava/util/function/Supplier;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
        start local 2 // java.util.function.Supplier snippetSupplier
         0: .line 2635
            aload 0 /* this */
            aload 1
            putfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.this$0:Ljdk/internal/jshell/tool/JShellTool;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 2629
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.allIds:[Ljava/lang/String;
         2: .line 2636
            aload 0 /* this */
            aload 2 /* snippetSupplier */
            putfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.snippetSupplier:Ljava/util/function/Supplier;
         3: .line 2637
            return
        end local 2 // java.util.function.Supplier snippetSupplier
        end local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    4     0             this  Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets<TT;>;
            0    4     2  snippetSupplier  Ljava/util/function/Supplier<Ljava/util/stream/Stream<TT;>;>;
    Signature: (Ljava/util/function/Supplier<Ljava/util/stream/Stream<TT;>;>;)V
    MethodParameters:
                 Name  Flags
      this$0           final
      snippetSupplier  

  java.util.stream.Stream<T> argsToSnippets(java.util.List<java.lang.String>);
    descriptor: (Ljava/util/List;)Ljava/util/stream/Stream;
    flags: (0x0000) 
    Code:
      stack=2, locals=6, args_size=2
        start local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
        start local 1 // java.util.List args
         0: .line 2649
            aconst_null
            astore 2 /* result */
        start local 2 // java.util.stream.Stream result
         1: .line 2650
            aload 1 /* args */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 10
      StackMap locals: jdk.internal.jshell.tool.JShellTool$ArgToSnippets java.util.List java.util.stream.Stream top java.util.Iterator
      StackMap stack:
         2: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 3 /* arg */
        start local 3 // java.lang.String arg
         3: .line 2652
            aload 0 /* this */
            aload 3 /* arg */
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.argToSnippets:(Ljava/lang/String;)Ljava/util/stream/Stream;
            astore 5 /* st */
        start local 5 // java.util.stream.Stream st
         4: .line 2653
            aload 5 /* st */
            ifnonnull 6
         5: .line 2654
            aconst_null
            areturn
         6: .line 2656
      StackMap locals: jdk.internal.jshell.tool.JShellTool$ArgToSnippets java.util.List java.util.stream.Stream java.lang.String java.util.Iterator java.util.stream.Stream
      StackMap stack:
            aload 2 /* result */
            ifnonnull 8
         7: .line 2657
            aload 5 /* st */
            goto 9
         8: .line 2658
      StackMap locals:
      StackMap stack:
            aload 2 /* result */
            aload 5 /* st */
            invokestatic java.util.stream.Stream.concat:(Ljava/util/stream/Stream;Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
         9: .line 2656
      StackMap locals:
      StackMap stack: java.util.stream.Stream
            astore 2 /* result */
        end local 5 // java.util.stream.Stream st
        end local 3 // java.lang.String arg
        10: .line 2650
      StackMap locals: jdk.internal.jshell.tool.JShellTool$ArgToSnippets java.util.List java.util.stream.Stream top java.util.Iterator
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
        11: .line 2661
            aload 2 /* result */
            areturn
        end local 2 // java.util.stream.Stream result
        end local 1 // java.util.List args
        end local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   12     0    this  Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets<TT;>;
            0   12     1    args  Ljava/util/List<Ljava/lang/String;>;
            1   12     2  result  Ljava/util/stream/Stream<TT;>;
            3   10     3     arg  Ljava/lang/String;
            4   10     5      st  Ljava/util/stream/Stream<TT;>;
    Signature: (Ljava/util/List<Ljava/lang/String;>;)Ljava/util/stream/Stream<TT;>;
    MethodParameters:
      Name  Flags
      args  

  java.util.stream.Stream<T> argToSnippets(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/util/stream/Stream;
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
        start local 1 // java.lang.String arg
         0: .line 2674
            aload 1 /* arg */
            ldc "-"
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifeq 2
         1: .line 2675
            aload 0 /* this */
            aload 1 /* arg */
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.range:(Ljava/lang/String;)Ljava/util/stream/Stream;
            areturn
         2: .line 2678
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.snippetSupplier:Ljava/util/function/Supplier;
            aload 1 /* arg */
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.layeredSnippetSearch:(Ljava/util/function/Supplier;Ljava/lang/String;)Ljava/util/stream/Stream;
            astore 2 /* st */
        start local 2 // java.util.stream.Stream st
         3: .line 2679
            aload 2 /* st */
            ifnonnull 6
         4: .line 2680
            aload 0 /* this */
            aload 1 /* arg */
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.badSnippetErrormsg:(Ljava/lang/String;)V
         5: .line 2681
            aconst_null
            areturn
         6: .line 2683
      StackMap locals: java.util.stream.Stream
      StackMap stack:
            aload 2 /* st */
            areturn
        end local 2 // java.util.stream.Stream st
        end local 1 // java.lang.String arg
        end local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets<TT;>;
            0    7     1   arg  Ljava/lang/String;
            3    7     2    st  Ljava/util/stream/Stream<TT;>;
    Signature: (Ljava/lang/String;)Ljava/util/stream/Stream<TT;>;
    MethodParameters:
      Name  Flags
      arg   

  void badSnippetErrormsg(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
        start local 1 // java.lang.String arg
         0: .line 2694
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.this$0:Ljdk/internal/jshell/tool/JShellTool;
            getfield jdk.internal.jshell.tool.JShellTool.state:Ljdk/jshell/JShell;
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic get(Ljdk/jshell/JShell;)Ljava/util/function/Supplier;
              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:
                  ()Ljava/lang/Object;
                  jdk/jshell/JShell.snippets()Ljava/util/stream/Stream; (5)
                  ()Ljava/util/stream/Stream;
            aload 1 /* arg */
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.layeredSnippetSearch:(Ljava/util/function/Supplier;Ljava/lang/String;)Ljava/util/stream/Stream;
            astore 2 /* est */
        start local 2 // java.util.stream.Stream est
         1: .line 2695
            aload 2 /* est */
            ifnonnull 7
         2: .line 2696
            getstatic jdk.internal.jshell.tool.JShellTool.ID:Ljava/util/regex/Pattern;
            aload 1 /* arg */
            invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
            invokevirtual java.util.regex.Matcher.matches:()Z
            ifeq 5
         3: .line 2697
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.this$0:Ljdk/internal/jshell/tool/JShellTool;
            ldc "jshell.err.no.snippet.with.id"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* arg */
            aastore
            invokevirtual jdk.internal.jshell.tool.JShellTool.errormsg:(Ljava/lang/String;[Ljava/lang/Object;)V
         4: .line 2698
            goto 10
         5: .line 2699
      StackMap locals: java.util.stream.Stream
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.this$0:Ljdk/internal/jshell/tool/JShellTool;
            ldc "jshell.err.no.such.snippets"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* arg */
            aastore
            invokevirtual jdk.internal.jshell.tool.JShellTool.errormsg:(Ljava/lang/String;[Ljava/lang/Object;)V
         6: .line 2701
            goto 10
         7: .line 2702
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.this$0:Ljdk/internal/jshell/tool/JShellTool;
            ldc "jshell.err.the.snippet.cannot.be.used.with.this.command"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         8: .line 2703
            aload 1 /* arg */
            aastore
            dup
            iconst_1
            aload 2 /* est */
            invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
            invokevirtual java.util.Optional.get:()Ljava/lang/Object;
            checkcast jdk.jshell.Snippet
            invokevirtual jdk.jshell.Snippet.source:()Ljava/lang/String;
            aastore
         9: .line 2702
            invokevirtual jdk.internal.jshell.tool.JShellTool.errormsg:(Ljava/lang/String;[Ljava/lang/Object;)V
        10: .line 2705
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.stream.Stream est
        end local 1 // java.lang.String arg
        end local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets<TT;>;
            0   11     1   arg  Ljava/lang/String;
            1   11     2   est  Ljava/util/stream/Stream<Ljdk/jshell/Snippet;>;
    MethodParameters:
      Name  Flags
      arg   

  <R extends jdk.jshell.Snippet> java.util.stream.Stream<R> layeredSnippetSearch(java.util.function.Supplier<java.util.stream.Stream<R>>, java.lang.String);
    descriptor: (Ljava/util/function/Supplier;Ljava/lang/String;)Ljava/util/stream/Stream;
    flags: (0x0000) 
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
        start local 1 // java.util.function.Supplier aSnippetSupplier
        start local 2 // java.lang.String arg
         0: .line 2719
            aload 1 /* aSnippetSupplier */
            iconst_3
            anewarray jdk.internal.jshell.tool.JShellTool$SnippetPredicate
            dup
            iconst_0
         1: .line 2721
            aload 0 /* this */
            aload 2 /* arg */
            invokedynamic test(Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets;Ljava/lang/String;)Ljdk/internal/jshell/tool/JShellTool$SnippetPredicate;
              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:
                  (Ljava/lang/Object;)Z
                  jdk/internal/jshell/tool/JShellTool$ArgToSnippets.lambda$1(Ljava/lang/String;Ljdk/jshell/Snippet;)Z (7)
                  (Ljdk/jshell/Snippet;)Z
            aastore
            dup
            iconst_1
         2: .line 2723
            aload 0 /* this */
            aload 2 /* arg */
            invokedynamic test(Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets;Ljava/lang/String;)Ljdk/internal/jshell/tool/JShellTool$SnippetPredicate;
              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:
                  (Ljava/lang/Object;)Z
                  jdk/internal/jshell/tool/JShellTool$ArgToSnippets.lambda$2(Ljava/lang/String;Ljdk/jshell/Snippet;)Z (7)
                  (Ljdk/jshell/Snippet;)Z
            aastore
            dup
            iconst_2
         3: .line 2725
            aload 2 /* arg */
            invokedynamic test(Ljava/lang/String;)Ljdk/internal/jshell/tool/JShellTool$SnippetPredicate;
              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:
                  (Ljava/lang/Object;)Z
                  jdk/internal/jshell/tool/JShellTool$ArgToSnippets.lambda$3(Ljava/lang/String;Ljdk/jshell/Snippet;)Z (6)
                  (Ljdk/jshell/Snippet;)Z
            aastore
         4: .line 2717
            invokestatic jdk.internal.jshell.tool.JShellTool.nonEmptyStream:(Ljava/util/function/Supplier;[Ljdk/internal/jshell/tool/JShellTool$SnippetPredicate;)Ljava/util/stream/Stream;
            areturn
        end local 2 // java.lang.String arg
        end local 1 // java.util.function.Supplier aSnippetSupplier
        end local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    5     0              this  Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets<TT;>;
            0    5     1  aSnippetSupplier  Ljava/util/function/Supplier<Ljava/util/stream/Stream<TR;>;>;
            0    5     2               arg  Ljava/lang/String;
    Signature: <R:Ljdk/jshell/Snippet;>(Ljava/util/function/Supplier<Ljava/util/stream/Stream<TR;>;>;Ljava/lang/String;)Ljava/util/stream/Stream<TR;>;
    MethodParameters:
                  Name  Flags
      aSnippetSupplier  
      arg               

  java.util.stream.Stream<T> range(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/util/stream/Stream;
    flags: (0x0000) 
    Code:
      stack=6, locals=7, args_size=2
        start local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
        start local 1 // java.lang.String arg
         0: .line 2738
            aload 1 /* arg */
            bipush 45
            invokevirtual java.lang.String.indexOf:(I)I
            istore 2 /* dash */
        start local 2 // int dash
         1: .line 2739
            aload 1 /* arg */
            iconst_0
            iload 2 /* dash */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 3 /* iid */
        start local 3 // java.lang.String iid
         2: .line 2740
            aload 1 /* arg */
            iload 2 /* dash */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 4 /* tid */
        start local 4 // java.lang.String tid
         3: .line 2741
            aload 0 /* this */
            aload 3 /* iid */
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.snippetIndex:(Ljava/lang/String;)I
            istore 5 /* iidx */
        start local 5 // int iidx
         4: .line 2742
            iload 5 /* iidx */
            ifge 6
         5: .line 2743
            aconst_null
            areturn
         6: .line 2745
      StackMap locals: jdk.internal.jshell.tool.JShellTool$ArgToSnippets java.lang.String int java.lang.String java.lang.String int
      StackMap stack:
            aload 0 /* this */
            aload 4 /* tid */
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.snippetIndex:(Ljava/lang/String;)I
            istore 6 /* tidx */
        start local 6 // int tidx
         7: .line 2746
            iload 6 /* tidx */
            ifge 9
         8: .line 2747
            aconst_null
            areturn
         9: .line 2749
      StackMap locals: int
      StackMap stack:
            iload 6 /* tidx */
            iload 5 /* iidx */
            if_icmpge 12
        10: .line 2750
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.this$0:Ljdk/internal/jshell/tool/JShellTool;
            ldc "jshell.err.end.snippet.range.less.than.start"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 3 /* iid */
            aastore
            dup
            iconst_1
            aload 4 /* tid */
            aastore
            invokevirtual jdk.internal.jshell.tool.JShellTool.errormsg:(Ljava/lang/String;[Ljava/lang/Object;)V
        11: .line 2751
            aconst_null
            areturn
        12: .line 2753
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.allSnippets:Ljava/util/List;
            iload 5 /* iidx */
            iload 6 /* tidx */
            iconst_1
            iadd
            invokeinterface java.util.List.subList:(II)Ljava/util/List;
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
            areturn
        end local 6 // int tidx
        end local 5 // int iidx
        end local 4 // java.lang.String tid
        end local 3 // java.lang.String iid
        end local 2 // int dash
        end local 1 // java.lang.String arg
        end local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   13     0  this  Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets<TT;>;
            0   13     1   arg  Ljava/lang/String;
            1   13     2  dash  I
            2   13     3   iid  Ljava/lang/String;
            3   13     4   tid  Ljava/lang/String;
            4   13     5  iidx  I
            7   13     6  tidx  I
    Signature: (Ljava/lang/String;)Ljava/util/stream/Stream<TT;>;
    MethodParameters:
      Name  Flags
      arg   

  void initIdMapping();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
         0: .line 2760
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.allIds:[Ljava/lang/String;
            ifnonnull 9
         1: .line 2761
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.snippetSupplier:Ljava/util/function/Supplier;
            invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
            checkcast java.util.stream.Stream
         2: .line 2762
            aload 0 /* this */
            invokedynamic compare(Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets;)Ljava/util/Comparator;
              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:
                  (Ljava/lang/Object;Ljava/lang/Object;)I
                  jdk/internal/jshell/tool/JShellTool$ArgToSnippets.lambda$4(Ljdk/jshell/Snippet;Ljdk/jshell/Snippet;)I (7)
                  (Ljdk/jshell/Snippet;Ljdk/jshell/Snippet;)I
            invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
         3: .line 2763
            invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.util.List
         4: .line 2761
            putfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.allSnippets:Ljava/util/List;
         5: .line 2764
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.allSnippets:Ljava/util/List;
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
         6: .line 2765
            invokedynamic apply()Ljava/util/function/Function;
              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:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  jdk/internal/jshell/tool/JShellTool$ArgToSnippets.lambda$5(Ljdk/jshell/Snippet;)Ljava/lang/String; (6)
                  (Ljdk/jshell/Snippet;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         7: .line 2766
            invokedynamic apply()Ljava/util/function/IntFunction;
              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:
                  (I)Ljava/lang/Object;
                  jdk/internal/jshell/tool/JShellTool$ArgToSnippets.lambda$6(I)[Ljava/lang/String; (6)
                  (I)[Ljava/lang/String;
            invokeinterface java.util.stream.Stream.toArray:(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
            checkcast java.lang.String[]
         8: .line 2764
            putfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.allIds:[Ljava/lang/String;
         9: .line 2768
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets<TT;>;

  java.lang.String[] allIds();
    descriptor: ()[Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
         0: .line 2776
            aload 0 /* this */
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.initIdMapping:()V
         1: .line 2777
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.allIds:[Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets<TT;>;

  int order(java.lang.String);
    descriptor: (Ljava/lang/String;)I
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
        start local 1 // java.lang.String id
         0: .line 2789
            aload 1 /* id */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            lookupswitch { // 2
                  101: 3
                  115: 1
              default: 5
          }
         1: .line 2791
      StackMap locals:
      StackMap stack:
            aload 1 /* id */
            iconst_1
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
         2: ireturn
         3: .line 2793
      StackMap locals:
      StackMap stack:
            ldc 1073741824
            aload 1 /* id */
            iconst_1
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            iadd
         4: ireturn
         5: .line 2795
      StackMap locals:
      StackMap stack:
            ldc 536870912
            aload 1 /* id */
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            iadd
         6: ireturn
         7: .line 2797
      StackMap locals:
      StackMap stack: java.lang.Exception
            pop
         8: .line 2798
            ldc 1610612736
            ireturn
        end local 1 // java.lang.String id
        end local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets<TT;>;
            0    9     1    id  Ljava/lang/String;
      Exception table:
        from    to  target  type
           0     2       7  Class java.lang.Exception
           3     4       7  Class java.lang.Exception
           5     6       7  Class java.lang.Exception
    MethodParameters:
      Name  Flags
      id    

  int order(jdk.jshell.Snippet);
    descriptor: (Ljdk/jshell/Snippet;)I
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
        start local 1 // jdk.jshell.Snippet sn
         0: .line 2811
            aload 0 /* this */
            aload 1 /* sn */
            invokevirtual jdk.jshell.Snippet.id:()Ljava/lang/String;
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.order:(Ljava/lang/String;)I
            ireturn
        end local 1 // jdk.jshell.Snippet sn
        end local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets<TT;>;
            0    1     1    sn  Ljdk/jshell/Snippet;
    MethodParameters:
      Name  Flags
      sn    

  int snippetIndex(java.lang.String);
    descriptor: (Ljava/lang/String;)I
    flags: (0x0000) 
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
        start local 1 // java.lang.String s
         0: .line 2822
            aload 0 /* this */
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.allIds:()[Ljava/lang/String;
            iconst_0
            aload 0 /* this */
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.allIds:()[Ljava/lang/String;
            arraylength
            aload 1 /* s */
         1: .line 2823
            aload 0 /* this */
            invokedynamic compare(Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets;)Ljava/util/Comparator;
              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:
                  (Ljava/lang/Object;Ljava/lang/Object;)I
                  jdk/internal/jshell/tool/JShellTool$ArgToSnippets.lambda$7(Ljava/lang/String;Ljava/lang/String;)I (7)
                  (Ljava/lang/String;Ljava/lang/String;)I
         2: .line 2822
            invokestatic java.util.Arrays.binarySearch:([Ljava/lang/Object;IILjava/lang/Object;Ljava/util/Comparator;)I
            istore 2 /* idx */
        start local 2 // int idx
         3: .line 2824
            iload 2 /* idx */
            ifge 8
         4: .line 2826
            getstatic jdk.internal.jshell.tool.JShellTool.ID:Ljava/util/regex/Pattern;
            aload 1 /* s */
            invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
            invokevirtual java.util.regex.Matcher.matches:()Z
            ifne 7
         5: .line 2827
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.this$0:Ljdk/internal/jshell/tool/JShellTool;
            ldc "jshell.err.range.requires.id"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* s */
            aastore
            invokevirtual jdk.internal.jshell.tool.JShellTool.errormsg:(Ljava/lang/String;[Ljava/lang/Object;)V
         6: .line 2828
            goto 8
         7: .line 2829
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* s */
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.badSnippetErrormsg:(Ljava/lang/String;)V
         8: .line 2832
      StackMap locals:
      StackMap stack:
            iload 2 /* idx */
            ireturn
        end local 2 // int idx
        end local 1 // java.lang.String s
        end local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets<TT;>;
            0    9     1     s  Ljava/lang/String;
            3    9     2   idx  I
    MethodParameters:
      Name  Flags
      s     

  private boolean lambda$1(java.lang.String, jdk.jshell.Snippet);
    descriptor: (Ljava/lang/String;Ljdk/jshell/Snippet;)Z
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
        start local 2 // jdk.jshell.Snippet sn
         0: .line 2721
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.this$0:Ljdk/internal/jshell/tool/JShellTool;
            aload 2 /* sn */
            invokevirtual jdk.internal.jshell.tool.JShellTool.isActive:(Ljdk/jshell/Snippet;)Z
            ifeq 1
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.this$0:Ljdk/internal/jshell/tool/JShellTool;
            aload 2 /* sn */
            aload 1
            invokevirtual jdk.internal.jshell.tool.JShellTool.matchingDeclaration:(Ljdk/jshell/Snippet;Ljava/lang/String;)Z
            ifeq 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 2 // jdk.jshell.Snippet sn
        end local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets<TT;>;
            0    3     2    sn  TR;

  private boolean lambda$2(java.lang.String, jdk.jshell.Snippet);
    descriptor: (Ljava/lang/String;Ljdk/jshell/Snippet;)Z
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
        start local 2 // jdk.jshell.Snippet sn
         0: .line 2723
            aload 0 /* this */
            getfield jdk.internal.jshell.tool.JShellTool$ArgToSnippets.this$0:Ljdk/internal/jshell/tool/JShellTool;
            aload 2 /* sn */
            aload 1
            invokevirtual jdk.internal.jshell.tool.JShellTool.matchingDeclaration:(Ljdk/jshell/Snippet;Ljava/lang/String;)Z
            ireturn
        end local 2 // jdk.jshell.Snippet sn
        end local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets<TT;>;
            0    1     2    sn  TR;

  private static boolean lambda$3(java.lang.String, jdk.jshell.Snippet);
    descriptor: (Ljava/lang/String;Ljdk/jshell/Snippet;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 1 // jdk.jshell.Snippet sn
         0: .line 2725
            aload 1 /* sn */
            invokevirtual jdk.jshell.Snippet.id:()Ljava/lang/String;
            aload 0
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ireturn
        end local 1 // jdk.jshell.Snippet sn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     1    sn  TR;

  private int lambda$4(jdk.jshell.Snippet, jdk.jshell.Snippet);
    descriptor: (Ljdk/jshell/Snippet;Ljdk/jshell/Snippet;)I
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
        start local 1 // jdk.jshell.Snippet a
        start local 2 // jdk.jshell.Snippet b
         0: .line 2762
            aload 0 /* this */
            aload 1 /* a */
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.order:(Ljdk/jshell/Snippet;)I
            aload 0 /* this */
            aload 2 /* b */
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.order:(Ljdk/jshell/Snippet;)I
            isub
            ireturn
        end local 2 // jdk.jshell.Snippet b
        end local 1 // jdk.jshell.Snippet a
        end local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets<TT;>;
            0    1     1     a  TT;
            0    1     2     b  TT;

  private static java.lang.String lambda$5(jdk.jshell.Snippet);
    descriptor: (Ljdk/jshell/Snippet;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jshell.Snippet sn
         0: .line 2765
            aload 0 /* sn */
            invokevirtual jdk.jshell.Snippet.id:()Ljava/lang/String;
            areturn
        end local 0 // jdk.jshell.Snippet sn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0    sn  TT;

  private static java.lang.String[] lambda$6(int);
    descriptor: (I)[Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // int n
         0: .line 2766
            iload 0 /* n */
            anewarray java.lang.String
            areturn
        end local 0 // int n
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     n  I

  private int lambda$7(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)I
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
        start local 1 // java.lang.String a
        start local 2 // java.lang.String b
         0: .line 2823
            aload 0 /* this */
            aload 1 /* a */
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.order:(Ljava/lang/String;)I
            aload 0 /* this */
            aload 2 /* b */
            invokevirtual jdk.internal.jshell.tool.JShellTool$ArgToSnippets.order:(Ljava/lang/String;)I
            isub
            ireturn
        end local 2 // java.lang.String b
        end local 1 // java.lang.String a
        end local 0 // jdk.internal.jshell.tool.JShellTool$ArgToSnippets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jshell/tool/JShellTool$ArgToSnippets<TT;>;
            0    1     1     a  Ljava/lang/String;
            0    1     2     b  Ljava/lang/String;
}
Signature: <T:Ljdk/jshell/Snippet;>Ljava/lang/Object;
SourceFile: "JShellTool.java"
NestHost: jdk.internal.jshell.tool.JShellTool
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  private ArgToSnippets = jdk.internal.jshell.tool.JShellTool$ArgToSnippets of jdk.internal.jshell.tool.JShellTool
  private abstract SnippetPredicate = jdk.internal.jshell.tool.JShellTool$SnippetPredicate of jdk.internal.jshell.tool.JShellTool