public class jdk.internal.org.jline.utils.StyleResolver
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.org.jline.utils.StyleResolver
  super_class: java.lang.Object
{
  private final java.util.function.Function<java.lang.String, java.lang.String> source;
    descriptor: Ljava/util/function/Function;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;

  public void <init>(java.util.function.Function<java.lang.String, java.lang.String>);
    descriptor: (Ljava/util/function/Function;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.utils.StyleResolver this
        start local 1 // java.util.function.Function source
         0: .line 31
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 32
            aload 0 /* this */
            aload 1 /* source */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.function.Function
            putfield jdk.internal.org.jline.utils.StyleResolver.source:Ljava/util/function/Function;
         2: .line 33
            return
        end local 1 // java.util.function.Function source
        end local 0 // jdk.internal.org.jline.utils.StyleResolver this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Ljdk/internal/org/jline/utils/StyleResolver;
            0    3     1  source  Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;
    Signature: (Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;)V
    MethodParameters:
        Name  Flags
      source  final

  private static java.lang.Integer color(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/Integer;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // java.lang.String name
         0: .line 46
            iconst_0
            istore 1 /* flags */
        start local 1 // int flags
         1: .line 47
            aload 0 /* name */
            getstatic java.util.Locale.US:Ljava/util/Locale;
            invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
            astore 0 /* name */
         2: .line 50
            aload 0 /* name */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            bipush 33
            if_icmpne 6
         3: .line 51
            aload 0 /* name */
            iconst_1
            aload 0 /* name */
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 0 /* name */
         4: .line 52
            bipush 8
            istore 1 /* flags */
         5: .line 53
            goto 16
      StackMap locals: int
      StackMap stack:
         6: aload 0 /* name */
            ldc "bright-"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 10
         7: .line 54
            aload 0 /* name */
            bipush 7
            aload 0 /* name */
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 0 /* name */
         8: .line 55
            bipush 8
            istore 1 /* flags */
         9: .line 56
            goto 16
      StackMap locals:
      StackMap stack:
        10: aload 0 /* name */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            bipush 126
            if_icmpne 16
        11: .line 61
            aload 0 /* name */
            iconst_1
            aload 0 /* name */
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 0 /* name */
        12: .line 62
            aload 0 /* name */
            invokestatic jdk.internal.org.jline.utils.Colors.rgbColor:(Ljava/lang/String;)Ljava/lang/Integer;
        13: areturn
        14: .line 63
      StackMap locals:
      StackMap stack: java.lang.IllegalArgumentException
            pop
        15: .line 65
            aconst_null
            areturn
        16: .line 69
      StackMap locals:
      StackMap stack:
            aload 0 /* name */
            dup
            astore 2
            invokevirtual java.lang.String.hashCode:()I
            lookupswitch { // 16
           -734239628: 17
                   98: 18
                   99: 19
                  103: 20
                  107: 21
                  109: 22
                  114: 23
                  119: 24
                  121: 25
               112785: 26
              3027034: 27
              3068707: 28
             93818879: 29
             98619139: 30
            113101865: 31
            828922025: 32
              default: 41
          }
      StackMap locals: java.lang.String
      StackMap stack:
        17: aload 2
            ldc "yellow"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 36
            goto 41
      StackMap locals:
      StackMap stack:
        18: aload 2
            ldc "b"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 37
            goto 41
      StackMap locals:
      StackMap stack:
        19: aload 2
            ldc "c"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 39
            goto 41
      StackMap locals:
      StackMap stack:
        20: aload 2
            ldc "g"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 35
            goto 41
      StackMap locals:
      StackMap stack:
        21: aload 2
            ldc "k"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 33
            goto 41
      StackMap locals:
      StackMap stack:
        22: aload 2
            ldc "m"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 38
            goto 41
      StackMap locals:
      StackMap stack:
        23: aload 2
            ldc "r"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 34
            goto 41
      StackMap locals:
      StackMap stack:
        24: aload 2
            ldc "w"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 40
            goto 41
      StackMap locals:
      StackMap stack:
        25: aload 2
            ldc "y"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 36
            goto 41
      StackMap locals:
      StackMap stack:
        26: aload 2
            ldc "red"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 34
            goto 41
      StackMap locals:
      StackMap stack:
        27: aload 2
            ldc "blue"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 37
            goto 41
      StackMap locals:
      StackMap stack:
        28: aload 2
            ldc "cyan"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 39
            goto 41
      StackMap locals:
      StackMap stack:
        29: aload 2
            ldc "black"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 33
            goto 41
      StackMap locals:
      StackMap stack:
        30: aload 2
            ldc "green"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 35
            goto 41
      StackMap locals:
      StackMap stack:
        31: aload 2
            ldc "white"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 40
            goto 41
      StackMap locals:
      StackMap stack:
        32: aload 2
            ldc "magenta"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 38
            goto 41
        33: .line 72
      StackMap locals:
      StackMap stack:
            iload 1 /* flags */
            iconst_0
            iadd
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            areturn
        34: .line 76
      StackMap locals:
      StackMap stack:
            iload 1 /* flags */
            iconst_1
            iadd
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            areturn
        35: .line 80
      StackMap locals:
      StackMap stack:
            iload 1 /* flags */
            iconst_2
            iadd
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            areturn
        36: .line 84
      StackMap locals:
      StackMap stack:
            iload 1 /* flags */
            iconst_3
            iadd
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            areturn
        37: .line 88
      StackMap locals:
      StackMap stack:
            iload 1 /* flags */
            iconst_4
            iadd
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            areturn
        38: .line 92
      StackMap locals:
      StackMap stack:
            iload 1 /* flags */
            iconst_5
            iadd
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            areturn
        39: .line 96
      StackMap locals:
      StackMap stack:
            iload 1 /* flags */
            bipush 6
            iadd
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            areturn
        40: .line 100
      StackMap locals:
      StackMap stack:
            iload 1 /* flags */
            bipush 7
            iadd
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            areturn
        41: .line 103
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 1 // int flags
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   42     0   name  Ljava/lang/String;
            1   42     1  flags  I
      Exception table:
        from    to  target  type
          11    13      14  Class java.lang.IllegalArgumentException
    MethodParameters:
      Name  Flags
      name  

  public jdk.internal.org.jline.utils.AttributedStyle resolve(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // jdk.internal.org.jline.utils.StyleResolver this
        start local 1 // java.lang.String spec
         0: .line 117
            aload 1 /* spec */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 123
            aload 1 /* spec */
            ldc ":-"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 2 /* i */
        start local 2 // int i
         2: .line 124
            iload 2 /* i */
            iconst_m1
            if_icmpeq 5
         3: .line 125
            aload 1 /* spec */
            ldc ":-"
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 3 /* parts */
        start local 3 // java.lang.String[] parts
         4: .line 126
            aload 0 /* this */
            aload 3 /* parts */
            iconst_0
            aaload
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            aload 3 /* parts */
            iconst_1
            aaload
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            invokevirtual jdk.internal.org.jline.utils.StyleResolver.resolve:(Ljava/lang/String;Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        end local 3 // java.lang.String[] parts
         5: .line 129
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getstatic jdk.internal.org.jline.utils.AttributedStyle.DEFAULT:Ljdk/internal/org/jline/utils/AttributedStyle;
            aload 1 /* spec */
            invokevirtual jdk.internal.org.jline.utils.StyleResolver.apply:(Ljdk/internal/org/jline/utils/AttributedStyle;Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        end local 2 // int i
        end local 1 // java.lang.String spec
        end local 0 // jdk.internal.org.jline.utils.StyleResolver this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0   this  Ljdk/internal/org/jline/utils/StyleResolver;
            0    6     1   spec  Ljava/lang/String;
            2    6     2      i  I
            4    5     3  parts  [Ljava/lang/String;
    MethodParameters:
      Name  Flags
      spec  final

  public jdk.internal.org.jline.utils.AttributedStyle resolve(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // jdk.internal.org.jline.utils.StyleResolver this
        start local 1 // java.lang.String spec
        start local 2 // java.lang.String defaultSpec
         0: .line 142
            aload 1 /* spec */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 148
            aload 0 /* this */
            getstatic jdk.internal.org.jline.utils.AttributedStyle.DEFAULT:Ljdk/internal/org/jline/utils/AttributedStyle;
            aload 1 /* spec */
            invokevirtual jdk.internal.org.jline.utils.StyleResolver.apply:(Ljdk/internal/org/jline/utils/AttributedStyle;Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
            astore 3 /* style */
        start local 3 // jdk.internal.org.jline.utils.AttributedStyle style
         2: .line 149
            aload 3 /* style */
            getstatic jdk.internal.org.jline.utils.AttributedStyle.DEFAULT:Ljdk/internal/org/jline/utils/AttributedStyle;
            if_acmpne 4
            aload 2 /* defaultSpec */
            ifnull 4
         3: .line 150
            aload 0 /* this */
            aload 3 /* style */
            aload 2 /* defaultSpec */
            invokevirtual jdk.internal.org.jline.utils.StyleResolver.apply:(Ljdk/internal/org/jline/utils/AttributedStyle;Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
            astore 3 /* style */
         4: .line 152
      StackMap locals: jdk.internal.org.jline.utils.AttributedStyle
      StackMap stack:
            aload 3 /* style */
            areturn
        end local 3 // jdk.internal.org.jline.utils.AttributedStyle style
        end local 2 // java.lang.String defaultSpec
        end local 1 // java.lang.String spec
        end local 0 // jdk.internal.org.jline.utils.StyleResolver this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Ljdk/internal/org/jline/utils/StyleResolver;
            0    5     1         spec  Ljava/lang/String;
            0    5     2  defaultSpec  Ljava/lang/String;
            2    5     3        style  Ljdk/internal/org/jline/utils/AttributedStyle;
    MethodParameters:
             Name  Flags
      spec         final
      defaultSpec  final

  private jdk.internal.org.jline.utils.AttributedStyle apply(jdk.internal.org.jline.utils.AttributedStyle, java.lang.String);
    descriptor: (Ljdk/internal/org/jline/utils/AttributedStyle;Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=7, args_size=3
        start local 0 // jdk.internal.org.jline.utils.StyleResolver this
        start local 1 // jdk.internal.org.jline.utils.AttributedStyle style
        start local 2 // java.lang.String spec
         0: .line 167
            aload 2 /* spec */
            ldc ","
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            dup
            astore 6
            arraylength
            istore 5
            iconst_0
            istore 4
            goto 16
      StackMap locals: jdk.internal.org.jline.utils.StyleResolver jdk.internal.org.jline.utils.AttributedStyle java.lang.String top int int java.lang.String[]
      StackMap stack:
         1: aload 6
            iload 4
            aaload
            astore 3 /* item */
        start local 3 // java.lang.String item
         2: .line 168
            aload 3 /* item */
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            astore 3 /* item */
         3: .line 169
            aload 3 /* item */
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 5
         4: .line 170
            goto 15
         5: .line 173
      StackMap locals: jdk.internal.org.jline.utils.StyleResolver jdk.internal.org.jline.utils.AttributedStyle java.lang.String java.lang.String int int java.lang.String[]
      StackMap stack:
            aload 3 /* item */
            ldc "."
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 8
         6: .line 174
            aload 0 /* this */
            aload 1 /* style */
            aload 3 /* item */
            invokevirtual jdk.internal.org.jline.utils.StyleResolver.applyReference:(Ljdk/internal/org/jline/utils/AttributedStyle;Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
            astore 1 /* style */
         7: .line 175
            goto 15
      StackMap locals:
      StackMap stack:
         8: aload 3 /* item */
            ldc ":"
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifeq 11
         9: .line 176
            aload 0 /* this */
            aload 1 /* style */
            aload 3 /* item */
            invokevirtual jdk.internal.org.jline.utils.StyleResolver.applyColor:(Ljdk/internal/org/jline/utils/AttributedStyle;Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
            astore 1 /* style */
        10: .line 177
            goto 15
      StackMap locals:
      StackMap stack:
        11: aload 3 /* item */
            ldc "[0-9]+(;[0-9]+)*"
            invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
            ifeq 14
        12: .line 178
            aload 0 /* this */
            aload 1 /* style */
            aload 3 /* item */
            invokevirtual jdk.internal.org.jline.utils.StyleResolver.applyAnsi:(Ljdk/internal/org/jline/utils/AttributedStyle;Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
            astore 1 /* style */
        13: .line 179
            goto 15
        14: .line 180
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* style */
            aload 3 /* item */
            invokevirtual jdk.internal.org.jline.utils.StyleResolver.applyNamed:(Ljdk/internal/org/jline/utils/AttributedStyle;Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
            astore 1 /* style */
        end local 3 // java.lang.String item
        15: .line 167
      StackMap locals: jdk.internal.org.jline.utils.StyleResolver jdk.internal.org.jline.utils.AttributedStyle java.lang.String top int int java.lang.String[]
      StackMap stack:
            iinc 4 1
      StackMap locals:
      StackMap stack:
        16: iload 4
            iload 5
            if_icmplt 1
        17: .line 184
            aload 1 /* style */
            areturn
        end local 2 // java.lang.String spec
        end local 1 // jdk.internal.org.jline.utils.AttributedStyle style
        end local 0 // jdk.internal.org.jline.utils.StyleResolver this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   18     0   this  Ljdk/internal/org/jline/utils/StyleResolver;
            0   18     1  style  Ljdk/internal/org/jline/utils/AttributedStyle;
            0   18     2   spec  Ljava/lang/String;
            2   15     3   item  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      style  
      spec   final

  private jdk.internal.org.jline.utils.AttributedStyle applyAnsi(jdk.internal.org.jline.utils.AttributedStyle, java.lang.String);
    descriptor: (Ljdk/internal/org/jline/utils/AttributedStyle;Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // jdk.internal.org.jline.utils.StyleResolver this
        start local 1 // jdk.internal.org.jline.utils.AttributedStyle style
        start local 2 // java.lang.String spec
         0: .line 192
            new jdk.internal.org.jline.utils.AttributedStringBuilder
            dup
            invokespecial jdk.internal.org.jline.utils.AttributedStringBuilder.<init>:()V
         1: .line 193
            aload 1 /* style */
            invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.style:(Ljdk/internal/org/jline/utils/AttributedStyle;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
         2: .line 194
            new java.lang.StringBuilder
            dup
            ldc "\u001B["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* spec */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "m"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.ansiAppend:(Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
         3: .line 195
            invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.style:()Ljdk/internal/org/jline/utils/AttributedStyle;
         4: .line 192
            areturn
        end local 2 // java.lang.String spec
        end local 1 // jdk.internal.org.jline.utils.AttributedStyle style
        end local 0 // jdk.internal.org.jline.utils.StyleResolver this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Ljdk/internal/org/jline/utils/StyleResolver;
            0    5     1  style  Ljdk/internal/org/jline/utils/AttributedStyle;
            0    5     2   spec  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      style  final
      spec   final

  private jdk.internal.org.jline.utils.AttributedStyle applyReference(jdk.internal.org.jline.utils.AttributedStyle, java.lang.String);
    descriptor: (Ljdk/internal/org/jline/utils/AttributedStyle;Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=5, args_size=3
        start local 0 // jdk.internal.org.jline.utils.StyleResolver this
        start local 1 // jdk.internal.org.jline.utils.AttributedStyle style
        start local 2 // java.lang.String spec
         0: .line 210
            aload 2 /* spec */
            invokevirtual java.lang.String.length:()I
            iconst_1
            if_icmpeq 5
         1: .line 213
            aload 2 /* spec */
            iconst_1
            aload 2 /* spec */
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 3 /* name */
        start local 3 // java.lang.String name
         2: .line 214
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.StyleResolver.source:Ljava/util/function/Function;
            aload 3 /* name */
            invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 4 /* resolvedSpec */
        start local 4 // java.lang.String resolvedSpec
         3: .line 215
            aload 4 /* resolvedSpec */
            ifnull 5
         4: .line 216
            aload 0 /* this */
            aload 1 /* style */
            aload 4 /* resolvedSpec */
            invokevirtual jdk.internal.org.jline.utils.StyleResolver.apply:(Ljdk/internal/org/jline/utils/AttributedStyle;Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        end local 4 // java.lang.String resolvedSpec
        end local 3 // java.lang.String name
         5: .line 221
      StackMap locals:
      StackMap stack:
            aload 1 /* style */
            areturn
        end local 2 // java.lang.String spec
        end local 1 // jdk.internal.org.jline.utils.AttributedStyle style
        end local 0 // jdk.internal.org.jline.utils.StyleResolver this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    6     0          this  Ljdk/internal/org/jline/utils/StyleResolver;
            0    6     1         style  Ljdk/internal/org/jline/utils/AttributedStyle;
            0    6     2          spec  Ljava/lang/String;
            2    5     3          name  Ljava/lang/String;
            3    5     4  resolvedSpec  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      style  final
      spec   final

  private jdk.internal.org.jline.utils.AttributedStyle applyNamed(jdk.internal.org.jline.utils.AttributedStyle, java.lang.String);
    descriptor: (Ljdk/internal/org/jline/utils/AttributedStyle;Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=3
        start local 0 // jdk.internal.org.jline.utils.StyleResolver this
        start local 1 // jdk.internal.org.jline.utils.AttributedStyle style
        start local 2 // java.lang.String name
         0: .line 238
            aload 2 /* name */
            getstatic java.util.Locale.US:Ljava/util/Locale;
            invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
            dup
            astore 3
            invokevirtual java.lang.String.hashCode:()I
            lookupswitch { // 13
          -1255743117: 1
          -1217487446: 2
          -1178781136: 3
          -1026963764: 4
           -967429792: 5
              3029637: 6
             93826908: 7
             97193300: 8
            384498191: 9
            951023759: 10
           1544803905: 11
           1899216992: 12
           1959910192: 13
              default: 25
          }
      StackMap locals: java.lang.String
      StackMap stack:
         1: aload 3
            ldc "inverse-neg"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 21
            goto 25
      StackMap locals:
      StackMap stack:
         2: aload 3
            ldc "hidden"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 24
            goto 25
      StackMap locals:
      StackMap stack:
         3: aload 3
            ldc "italic"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 17
            goto 25
      StackMap locals:
      StackMap stack:
         4: aload 3
            ldc "underline"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 18
            goto 25
      StackMap locals:
      StackMap stack:
         5: aload 3
            ldc "crossed-out"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 23
            goto 25
      StackMap locals:
      StackMap stack:
         6: aload 3
            ldc "bold"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 15
            goto 25
      StackMap locals:
      StackMap stack:
         7: aload 3
            ldc "blink"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 19
            goto 25
      StackMap locals:
      StackMap stack:
         8: aload 3
            ldc "faint"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 16
            goto 25
      StackMap locals:
      StackMap stack:
         9: aload 3
            ldc "crossedout"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 23
            goto 25
      StackMap locals:
      StackMap stack:
        10: aload 3
            ldc "conceal"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 22
            goto 25
      StackMap locals:
      StackMap stack:
        11: aload 3
            ldc "default"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 14
            goto 25
      StackMap locals:
      StackMap stack:
        12: aload 3
            ldc "inverseneg"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 21
            goto 25
      StackMap locals:
      StackMap stack:
        13: aload 3
            ldc "inverse"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 20
            goto 25
        14: .line 240
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.org.jline.utils.AttributedStyle.DEFAULT:Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        15: .line 243
      StackMap locals:
      StackMap stack:
            aload 1 /* style */
            invokevirtual jdk.internal.org.jline.utils.AttributedStyle.bold:()Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        16: .line 246
      StackMap locals:
      StackMap stack:
            aload 1 /* style */
            invokevirtual jdk.internal.org.jline.utils.AttributedStyle.faint:()Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        17: .line 249
      StackMap locals:
      StackMap stack:
            aload 1 /* style */
            invokevirtual jdk.internal.org.jline.utils.AttributedStyle.italic:()Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        18: .line 252
      StackMap locals:
      StackMap stack:
            aload 1 /* style */
            invokevirtual jdk.internal.org.jline.utils.AttributedStyle.underline:()Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        19: .line 255
      StackMap locals:
      StackMap stack:
            aload 1 /* style */
            invokevirtual jdk.internal.org.jline.utils.AttributedStyle.blink:()Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        20: .line 258
      StackMap locals:
      StackMap stack:
            aload 1 /* style */
            invokevirtual jdk.internal.org.jline.utils.AttributedStyle.inverse:()Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        21: .line 262
      StackMap locals:
      StackMap stack:
            aload 1 /* style */
            invokevirtual jdk.internal.org.jline.utils.AttributedStyle.inverseNeg:()Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        22: .line 265
      StackMap locals:
      StackMap stack:
            aload 1 /* style */
            invokevirtual jdk.internal.org.jline.utils.AttributedStyle.conceal:()Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        23: .line 269
      StackMap locals:
      StackMap stack:
            aload 1 /* style */
            invokevirtual jdk.internal.org.jline.utils.AttributedStyle.crossedOut:()Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        24: .line 272
      StackMap locals:
      StackMap stack:
            aload 1 /* style */
            invokevirtual jdk.internal.org.jline.utils.AttributedStyle.hidden:()Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        25: .line 276
      StackMap locals:
      StackMap stack:
            aload 1 /* style */
            areturn
        end local 2 // java.lang.String name
        end local 1 // jdk.internal.org.jline.utils.AttributedStyle style
        end local 0 // jdk.internal.org.jline.utils.StyleResolver this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   26     0   this  Ljdk/internal/org/jline/utils/StyleResolver;
            0   26     1  style  Ljdk/internal/org/jline/utils/AttributedStyle;
            0   26     2   name  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      style  final
      name   final

  private jdk.internal.org.jline.utils.AttributedStyle applyColor(jdk.internal.org.jline.utils.AttributedStyle, java.lang.String);
    descriptor: (Ljdk/internal/org/jline/utils/AttributedStyle;Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedStyle;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=8, args_size=3
        start local 0 // jdk.internal.org.jline.utils.StyleResolver this
        start local 1 // jdk.internal.org.jline.utils.AttributedStyle style
        start local 2 // java.lang.String spec
         0: .line 295
            aload 2 /* spec */
            ldc ":"
            iconst_2
            invokevirtual java.lang.String.split:(Ljava/lang/String;I)[Ljava/lang/String;
            astore 3 /* parts */
        start local 3 // java.lang.String[] parts
         1: .line 296
            aload 3 /* parts */
            iconst_0
            aaload
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            astore 4 /* colorMode */
        start local 4 // java.lang.String colorMode
         2: .line 297
            aload 3 /* parts */
            iconst_1
            aaload
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            astore 5 /* colorName */
        start local 5 // java.lang.String colorName
         3: .line 300
            aload 5 /* colorName */
            invokestatic jdk.internal.org.jline.utils.StyleResolver.color:(Ljava/lang/String;)Ljava/lang/Integer;
            astore 6 /* color */
        start local 6 // java.lang.Integer color
         4: .line 301
            aload 6 /* color */
            ifnull 14
         5: .line 305
            aload 4 /* colorMode */
            getstatic java.util.Locale.US:Ljava/util/Locale;
            invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
            dup
            astore 7
            invokevirtual java.lang.String.hashCode:()I
            lookupswitch { // 6
          -1332194002: 6
                   98: 7
                  102: 8
                 3141: 9
                 3265: 10
           1984457027: 11
              default: 14
          }
      StackMap locals: jdk.internal.org.jline.utils.StyleResolver jdk.internal.org.jline.utils.AttributedStyle java.lang.String java.lang.String[] java.lang.String java.lang.String java.lang.Integer java.lang.String
      StackMap stack:
         6: aload 7
            ldc "background"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 13
            goto 14
      StackMap locals:
      StackMap stack:
         7: aload 7
            ldc "b"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 13
            goto 14
      StackMap locals:
      StackMap stack:
         8: aload 7
            ldc "f"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 12
            goto 14
      StackMap locals:
      StackMap stack:
         9: aload 7
            ldc "bg"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 13
            goto 14
      StackMap locals:
      StackMap stack:
        10: aload 7
            ldc "fg"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 12
            goto 14
      StackMap locals:
      StackMap stack:
        11: aload 7
            ldc "foreground"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 12
            goto 14
        12: .line 309
      StackMap locals:
      StackMap stack:
            aload 1 /* style */
            aload 6 /* color */
            invokevirtual java.lang.Integer.intValue:()I
            invokevirtual jdk.internal.org.jline.utils.AttributedStyle.foreground:(I)Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        13: .line 314
      StackMap locals:
      StackMap stack:
            aload 1 /* style */
            aload 6 /* color */
            invokevirtual java.lang.Integer.intValue:()I
            invokevirtual jdk.internal.org.jline.utils.AttributedStyle.background:(I)Ljdk/internal/org/jline/utils/AttributedStyle;
            areturn
        14: .line 320
      StackMap locals:
      StackMap stack:
            aload 1 /* style */
            areturn
        end local 6 // java.lang.Integer color
        end local 5 // java.lang.String colorName
        end local 4 // java.lang.String colorMode
        end local 3 // java.lang.String[] parts
        end local 2 // java.lang.String spec
        end local 1 // jdk.internal.org.jline.utils.AttributedStyle style
        end local 0 // jdk.internal.org.jline.utils.StyleResolver this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   15     0       this  Ljdk/internal/org/jline/utils/StyleResolver;
            0   15     1      style  Ljdk/internal/org/jline/utils/AttributedStyle;
            0   15     2       spec  Ljava/lang/String;
            1   15     3      parts  [Ljava/lang/String;
            2   15     4  colorMode  Ljava/lang/String;
            3   15     5  colorName  Ljava/lang/String;
            4   15     6      color  Ljava/lang/Integer;
    MethodParameters:
       Name  Flags
      style  final
      spec   final
}
SourceFile: "StyleResolver.java"